Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to manipulate the rendering of a '...' menu entry #12967

Closed
schiessle opened this issue Dec 10, 2018 · 2 comments
Closed

Allow to manipulate the rendering of a '...' menu entry #12967

schiessle opened this issue Dec 10, 2018 · 2 comments
Labels
4. to release Ready to be released and/or waiting for tests to finish enhancement feature: files
Milestone

Comments

@schiessle
Copy link
Member

If I use the API to create a new action item for the file listing I can use the render method do render the icon differently depending on some additional conditions, as show in this example: https://github.com/nextcloud/server/blob/master/apps/comments/js/filesplugin.js#L80

Would be nice if this render method would be also exists for the type OCA.Files.FileActions.TYPE_DROPDOWN so that I can for example manipulate the text depending on a file is encrypted or not or hide the action completely if some conditions are met

cc @nextcloud/javascript

@skjnldsv skjnldsv added the 1. to develop Accepted and waiting to be taken care of label Jun 17, 2019
@skjnldsv skjnldsv mentioned this issue Jul 14, 2020
4 tasks
@szaimen
Copy link
Contributor

szaimen commented May 26, 2021

I suppose this issue is still valid? If not, please close this issue!

@skjnldsv skjnldsv added 4. to release Ready to be released and/or waiting for tests to finish and removed 1. to develop Accepted and waiting to be taken care of labels Sep 19, 2023
@skjnldsv skjnldsv added this to the Nextcloud 28 milestone Sep 19, 2023
@skjnldsv
Copy link
Member

Done with 28

@skjnldsv skjnldsv moved this to Done in Files to vue Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish enhancement feature: files
Projects
Status: Done
Development

No branches or pull requests

4 participants