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 filtering of delete action on Favorites root nodes. #7183

Merged
merged 1 commit into from
Mar 25, 2024

Conversation

neilcsmith-net
Copy link
Member

@neilcsmith-net neilcsmith-net commented Mar 23, 2024

Fixes filtering out of the delete action on Favorite root nodes.

A discussion with @mbien elsewhere mentioned it would be good if the delete action wasn't available in the popup menu. Turns out that filtering used to be in there but no longer works. The type of the action is now GeneralAction$DelegateAction but we can also check if the key is "delete". Kept old check in case it's used anywhere. The placement of the Remove from Favorites action is also in the "wrong" place for the same reason, but I think it's better at the bottom anyway.

@neilcsmith-net neilcsmith-net added this to the NB22 milestone Mar 23, 2024
@mbien mbien added the UI User Interface label Mar 23, 2024
@mbien
Copy link
Member

mbien commented Mar 23, 2024

this is probably going to save someone's homework :)

@neilcsmith-net neilcsmith-net merged commit 1a563cd into apache:master Mar 25, 2024
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
UI User Interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants