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(settings): Migrate away from deprecated NcPopoverMenu #39073

Merged
merged 2 commits into from
Jun 30, 2023

Conversation

susnux
Copy link
Contributor

@susnux susnux commented Jun 29, 2023

Summary

NcPopoverMenu is deprecated and removed in the upcoming nextcloud vue release, so this migrates the settings app to use NcActions instead. Also there are some other improvements:

  • Replace popover menu with NcActions
  • De-duplicate user actions code between UserRow and UserRowSimple
  • Fix user action popover to be overlaid by current edited row actions *1
  • Add cypress tests

*1 Fix user action popover to be overlaid by current edited row actions *1

before after
image image

Checklist

@susnux susnux added 3. to review Waiting for reviews feature: settings labels Jun 29, 2023
@susnux susnux requested review from nfebe, skjnldsv, a team and Pytal and removed request for a team June 29, 2023 17:04
* Replace popover menu with `NcActions`
* Deduplicate user actions code between `UserRow` and `UserRowSimple`
* Fix user action to cover whole row heigh to prevent dropdown from shining through the actions
* Fix user action popover to be overlayed by current edited row actions

Signed-off-by: Ferdinand Thiessen <[email protected]>
Signed-off-by: Ferdinand Thiessen <[email protected]>
@Pytal Pytal force-pushed the fix/setting_migrate-from-deprecated-ncpopovermenu branch from ceebd62 to e36fc97 Compare June 30, 2023 18:38
@solracsf solracsf added this to the Nextcloud 28 milestone Jun 30, 2023
@Pytal Pytal added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Jun 30, 2023
@Pytal Pytal merged commit cb118d5 into master Jun 30, 2023
@Pytal Pytal deleted the fix/setting_migrate-from-deprecated-ncpopovermenu branch June 30, 2023 22:51
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 feature: settings
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants