-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
[locker] Show favorite functionality #7892
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
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| static Future<void> markMultipleAsImportant( | ||
| BuildContext context, | ||
| List<EnteFile> files, { | ||
| VoidCallback? onSuccess, | ||
| }) async { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wire multi-select important action back
The new bulk favorite helper markMultipleAsImportant is added here but never invoked; in the same commit the selection overlay removed its Important/Unmark buttons, and _getSecondaryActionsForSelection now only offers edit and "Add to". As a result, when selecting one or more items in the viewer's selection bar there is no way to favorite or unfavorite them anymore, regressing multi-select favorites despite introducing this helper.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will be used when the bottom sheet for multi-select files will be enabled .
Description
Screen.Recording.2025-12-09.at.4.38.15.PM.mov
Tests