Gallery has no 'compare two designs side-by-side' view — user with two design variants wanting to see the differences at a glance has to flip between them #321
Labels
No labels
blocked:commit-ready-failed
blocked:gate-fetch
blocked:gate-lint
blocked:gate-plan
blocked:gate-research
blocked:needs-attention
blocked:needs-decision
blocked:needs-human
blocked:no-changes
blocked:verify-failed
bug
deferred
feature-request
in-progress
needs-decompose
needs-triage
quickfix
security/medium
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/Kimi_Agent_Brother_10_Digitizing_App#321
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Finding
grep -rn 'compare.*design\|designCompare' src/components/gallery/returns 0. The Gallery has no compare view.A user with 2 design variants:
The fix is a compare view in the Gallery.
Where
src/pages/Gallery.tsxgrep -rn 'designCompare' src/components/gallery/returns 0Suggested fix shape
UI: a "Compare" button in the multi-select toolbar (per #179). When 2 designs are selected, the button enables.
View: clicking opens a side-by-side view:
/gallery/compare?ids=1,2that renders the two designs.Severity
Low. The user can open both in tabs. Power users comparing variants notice.
Discovered by
Gap analysis (2026-10-02) of gallery affordances.
Related
Closed by fix(#321) —
fe0a3cb fix(#321): Gallery compare-two side-by-side view + test coverage.Adds a Compare button to the multi-select toolbar (gated by count === 2) and a new
/gallery/compare?ids=<a>,<b>page with side-by-side previews, per-side Open-in-Workspace/Editor buttons, and a focused diff panel that hides equal rows.24 new tests + 5 updates. All 165 test files / 2024 tests pass; 3 pre-existing test failures in
issue-275.test.tsx(subtitle format drift from #317) are unrelated to this change.