Repository navigation
fix(web): a group view (stack=/vstack=) now ignores every other filter - #40
Merged
Merged
Conversation
"Show all in group" only bypassed "Collapse duplicates" - every other active filter (a leftover search box, category, kind, "Has faces", a list-view column filter, ...) still applied on top of the group filter. An examiner typically reaches a group by searching for or filtering down to the one file whose badge they right-clicked, so that leftover filter then intersected with the group and hid every sibling that didn't also happen to match it: a 19-member visual-stack group showed just the one file, because a still-active search term for that file's own name matched none of the other 18. /api/files now treats stack=/vstack= as an explicit "show me this whole group" request and skips every other where-clause when either is present, not just collapse. Co-Authored-By: Claude Sonnet 5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
"Show all in group" only bypassed "Collapse duplicates" - every other active filter (a leftover search box, category, kind, "Has faces", a list-view column filter, ...) still applied on top of the group filter. An examiner typically reaches a group by searching for or filtering down to the one file whose badge they right-clicked, so that leftover filter then intersected with the group and hid every sibling that didn't also happen to match it: a 19-member visual-stack group showed just the one file, because a still-active search term for that file's own name matched none of the other 18.
/api/filesnow treatsstack=/vstack=as an explicit "show me this whole group" request and skips every other where-clause when either is present, not just collapse.Tested:
pytest tests -q- 176 passed, 3 skipped, 3 pre-existing failures reproduced identically on a clean origin/main checkout (unrelated: a search-fixture assertion and a missing local piexif install). Lint-changed gate clean. Built the frozen exe and smoke-tested --version.🤖 Generated with Claude Code