Skip to content

AbstractDirectoryView: actions use BookmarkList directly#2748

Merged
jeremypw merged 6 commits intomainfrom
danirabbit/abstractdirectoryview-bookmarklist
Feb 14, 2026
Merged

AbstractDirectoryView: actions use BookmarkList directly#2748
jeremypw merged 6 commits intomainfrom
danirabbit/abstractdirectoryview-bookmarklist

Conversation

@danirabbit
Copy link
Member

@danirabbit danirabbit commented Feb 12, 2026

Instead of pushing things through several layers of UI, actions interact with BookmarkList directly

@danirabbit danirabbit requested a review from a team February 12, 2026 17:22
Copy link
Contributor

@jeremypw jeremypw left a comment

Choose a reason for hiding this comment

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

Code looks good but there is a regression (or is it intended?) - selection of multiple items still shows "Add to Bookmarks" in context menu - but only adds the last selected one.

@danirabbit danirabbit requested a review from jeremypw February 13, 2026 18:11
@danirabbit
Copy link
Member Author

@jeremypw should be fixed. I tried to handle checking if a bookmark already exists in update_menu_actions () but it didn't work for some reason. Probably worth cleaning up later, but for now I'll just leave that as it was

Copy link
Contributor

@jeremypw jeremypw left a comment

Choose a reason for hiding this comment

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

No regressions now.

@jeremypw jeremypw merged commit d3064c4 into main Feb 14, 2026
4 checks passed
@jeremypw jeremypw deleted the danirabbit/abstractdirectoryview-bookmarklist branch February 14, 2026 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants