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

fix(files): Only render the menu if there are actions to show #39025

Merged
merged 1 commit into from
Jun 30, 2023

Conversation

juliusknorr
Copy link
Member

@juliusknorr juliusknorr commented Jun 27, 2023

Summary

Filter action list that is used to determine if the actions menu should be visible properly so that:

  • Default actions are not included
  • Only the list of available actions for a file is used

Steps to reproduce:

  • Share a folder as read only link and enable "hide download"

This change will make sure that we don't show the 3 dots menu for the files in the share as the only option available is "View" which is not in the menu as it is the default. Before that an empty menu was shown.

Checklist

@juliusknorr juliusknorr added bug 3. to review Waiting for reviews labels Jun 27, 2023
@juliusknorr juliusknorr requested review from a team, susnux, artonge and Pytal and removed request for a team June 27, 2023 08:48
@juliusknorr juliusknorr added this to the Nextcloud 28 milestone Jun 27, 2023
@juliusknorr
Copy link
Member Author

/backport to stable27

@juliusknorr
Copy link
Member Author

/backport to stable26

@juliusknorr
Copy link
Member Author

/backport to stable25

@juliusknorr juliusknorr force-pushed the bugfix/noid/actions-empty-files branch from 737530c to bfb7aad Compare June 29, 2023 17:16
@juliusknorr juliusknorr force-pushed the bugfix/noid/actions-empty-files branch from bfb7aad to 40b380b Compare June 29, 2023 18:27
@juliusknorr
Copy link
Member Author

Samba failure unrelated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants