[web][photos] upload to shared albums#10145
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 219de2d228
ℹ️ 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".
| const visibleSearchFiles = suppressSharedFilesSavedByUser( | ||
| searchFiles, | ||
| state.user?.id, | ||
| state.view?.type == "albums" ? state.view.activeCollection : undefined, |
There was a problem hiding this comment.
Pass hidden album context to search duplicate suppression
In search mode, suppressSharedFilesSavedByUser only receives activeCollection when view.type == "albums"; for "hidden-albums" it always gets undefined. That makes hidden-album searches run the global suppression path and drop non-owned files that hash-match owned files, even when searching within a specific hidden album where files should remain visible. Include hidden-albums in this branch so album-scoped searches don’t lose results.
Useful? React with 👍 / 👎.
No description provided.