Skip to content

Add new ExternalShareActions API - #28835

Merged
skjnldsv merged 2 commits into
masterfrom
feat/ExternalShareActions-API
Sep 16, 2021
Merged

Add new ExternalShareActions API#28835
skjnldsv merged 2 commits into
masterfrom
feat/ExternalShareActions-API

Conversation

@skjnldsv

@skjnldsvskjnldsv commented Sep 14, 2021

Copy link
Copy Markdown
Member

See example:

nextcloud/files_downloadlimit#5
https://github.com/nextcloud/files_downloadlimit/blob/32ae1dbf2df12a262f849af07ef4c4ea8f7c3cfd/src/main.js
https://github.com/nextcloud/files_downloadlimit/blob/32ae1dbf2df12a262f849af07ef4c4ea8f7c3cfd/src/models/DownloadLimitAction.js

This API is a more global way of injecting entries into the link share menu.
It can be any type currently supported by the vue components.
In opposite of the old (and now legacy deprecated) API that only allowed links (for the social app).

@skjnldsv
skjnldsv requested review from a team, Pytal, artonge, juliusknorr and szaimen and removed request for a teamSeptember 14, 2021 15:46
@skjnldsvskjnldsv self-assigned this Sep 14, 2021
@skjnldsvskjnldsv added this to the Nextcloud 23 milestone Sep 14, 2021
@skjnldsv

Copy link
Copy Markdown
MemberAuthor

/backport to stable22

@julien-ncjulien-nc left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.
Too bad the files_downloadlimit example does not work (yet 😁).
I'll make some real life tests by registering another component soon.

Comment threadapps/files_sharing/src/services/ExternalShareActions.js
@skjnldsv

This comment has been minimized.

@szaimen

This comment has been minimized.

@PytalPytal left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀🚀

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
@skjnldsv
skjnldsvforce-pushed the feat/ExternalShareActions-API branch from adf7856 to 2213358CompareSeptember 16, 2021 13:23
@skjnldsv

This comment has been minimized.

@skjnldsvskjnldsv added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Sep 16, 2021
@skjnldsv
skjnldsvforce-pushed the feat/ExternalShareActions-API branch 2 times, most recently from 5413a9e to b1572c9CompareSeptember 16, 2021 15:33
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to releaseReady to be released and/or waiting for tests to finishfeature: sharinghigh

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@skjnldsv@szaimen@blizzz@julien-nc@Pytal