Repository navigation
improve(ui): remove image galleries from Activity - #199157
Conversation
Keep recaps, Git information and conversation links without a second image-discovery and preview lifecycle. Co-authored-by: vyctorbrzezowski <[email protected]>
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs changes before merge. What this changesThis PR removes transcript-image galleries and their discovery lifecycle from Activity while preserving recaps, Git information, conversation links, and Chat images. Example: Open Activity at 1280×900 with the synthetic session “Review the release dashboard.”
Review scores
ProductKind: Preference · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Needs changes before merge - 2 items remain Keep this maintainer-authored PR open: the intended UI removal works, but gallery-dependent E2E tests and benchmark modes still require the deleted component. Priority: P3 Before merge
Findings
Agent review detailsHow this fits togetherActivity renders Gateway session rows and recaps; the removed component separately discovered transcript artifacts and passed images to shared Chat media and lightbox components. flowchart TD
A[Gateway session rows] --> B[Activity feed]
B --> C[Recaps and Git information]
B --> D[Conversation link]
D --> E[Chat images]
F[Artifact API] --> E
Technical reviewBest possible solution: Complete the removal by retiring gallery benchmark modes and idle preloading, and preserve recap and Git coverage in the updated Activity E2E suite. Do we have a high-confidence way to reproduce the issue? Source inspection establishes that removing ActivitySessionMedia leaves the retained thumbnail assertions and gallery benchmark readiness predicates unsatisfiable; no failing execution was performed. Is this the best way to solve the issue? Deleting the secondary gallery is a direct implementation of the maintainer-approved direction, but its remaining test, benchmark, and preload consumers need the same cutover. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 210458b3d434. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceAcceptance criteria:
What I checked:
Likely related people:
PR surfaceSource -583, Tests -521, Docs -1, Other -3. Total -1108 across 10 files. Added test files: 0. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 14, 2026, 3:16 PM ET / 20:16 UTC. |
Remove the secondary image galleries and their browser-local cache from Activity. Preserve Chat images, shared viewers and stored media. Co-authored-by: vyctorbrzezowski <[email protected]>
What Problem This Solves
Activity maintains a second image gallery beside session recaps. The same images are already in Chat, where they appear in context. The gallery added per-row artifact discovery requests, its own cache and its own viewer to show copies of those images.
User Impact
Activity no longer shows transcript-image strips or their preview and pagination controls. Recaps, Git information, filters, and links to the original conversations remain. Images in Chat and the public artifact API are unchanged.
Why This Change Was Made
Remove the complete secondary gallery, including its discovery queue, connection cache, image ownership, viewer, styles, copy, and obsolete tests. Do not merely hide its button.
What stays available to plugins and integrations
artifacts.listand the artifact API are unchanged, so plugins and other clients can still discover session images.Evidence
427ebcca678753162d7a0a68b90f2e899cf9fdb6. Unchanged surrounding source was not supplied and the reviewer did not rerun tests.Actual application with synthetic content, dark theme, 1280×900.
Before
After
Requested by @vyctorbrzezowski.
Work sessions
Linked for team reference; these sessions aren’t public.
Worked on by
Maintainer validation
Reviewed the deletion boundary and the before/after captures. The removed gallery and cache belong to Activity; Chat images, the shared viewer and persisted media APIs remain unchanged. Fixed the unused type import left in the surviving image browser tests. Scoped lint and formatting pass; the correction changes no runtime source or executable test behavior. Current-head functional tests and static checks passed. The only remaining failed check is the bundle-size gate; this landing uses the maintainer-authorized CSS/JS budget exception.