Make generated pages visible: auto-switch preview, restore entry, panel section #58

Merged
weichen merged 1 commits from fix/genui-page-visibility into main 2026-10-11 15:56:26 +00:00
Owner

Why: Tabs opened in state but the screen showed nothing - missing syncFilesEntry, no reentry path (openSurface dead), no panel section.

Evidence: tsc clean; vitest 97/97 incl. new visibility cases; knip unchanged.

Impact: Frontend-only.

Refs: Dev task fix/genui-page-visibility

Why: Tabs opened in state but the screen showed nothing - missing syncFilesEntry, no reentry path (openSurface dead), no panel section. Evidence: tsc clean; vitest 97/97 incl. new visibility cases; knip unchanged. Impact: Frontend-only. Refs: Dev task fix/genui-page-visibility
weichen added 1 commit 2026-10-11 15:56:24 +00:00
Why: Field evidence - surfaces arrived and tabs opened in state but the
screen showed nothing: the event branch missed syncFilesEntry (right
panel stayed on work tab, collapsed, or list view), refresh/reentry had
no way back (openSurface was dead code), and the files panel listed no
pages.

Evidence: tsc clean; vitest 97/97 including new cases (event switches
rightTab=files + preview view; suppressed path keeps projection
consistent); knip unchanged.

Impact: Frontend-only behavior fixes; no API changes.

Refs: Dev task fix/genui-page-visibility
weichen merged commit 367aeefff4 into main 2026-10-11 15:56:26 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: weichen/Agent-System-Frontend#58