Repository navigation
feat(ui): add resizable catalog to file readers - #176343
Conversation
|
🦞👀 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: stale review; fresh review needed. Summary Next step Review history (1 earlier review cycle)
|
8afc9bc to
9b3ec34
Compare
9b3ec34 to
398b9db
Compare
|
Before/after: a failed Files module no longer prevents the panel launcher from appearing. Files retains its tab and header and shows the existing load-error message and Reload control. These native mock-Gateway captures use synthetic workspace data at 1440 × 900 in light and dark themes. The two before cases reproduce the inaccessible launcher; the two after cases also verify that Reload reaches Files once availability returns. The fixture returns 404 for the relevant module and 503 for the document HEAD check during capture, then restores availability. This is module-load recovery evidence, not a retired-deployment test. Full frames come first, followed by matching crops. The blank before crops show the same screen area where the Files error is visible afterward. |
398b9db to
f394848
Compare
f394848 to
8c1f704
Compare
8c1f704 to
d3080e4
Compare
d3080e4 to
1630783
Compare
1630783 to
40c5311
Compare
778fcbe to
4d3dc80
Compare
4d3dc80 to
72fff80
Compare
72fff80 to
b3efbd0
Compare
b3efbd0 to
2a9c1e3
Compare
2a9c1e3 to
e72bb55
Compare
e72bb55 to
4a9eddf
Compare
4a9eddf to
4a77d5b
Compare
4a77d5b to
b5c1fdf
Compare
b5c1fdf to
2d3e853
Compare
* feat(ui): add resizable catalog to file readers * test(ui): retire obsolete divider filename inventory * fix(ui): load native Files only when presented * fix(ui): preserve file reader layout in resizable panels * fix(ui): await lazy panel publication before delivering intent * chore(ui): regenerate boot module manifest * refactor(ui): consume file panel view contracts directly








What Problem This Solves
Opening a file needs to preserve workspace navigation without replacing the document or losing its in-progress state.
User Impact
Adds a resizable catalog beside desktop file readers, with shared file rails and mobile Back navigation. Pinning a temporary preview preserves its mounted editor and unsaved input.
Why This Change Was Made
Keeps catalog geometry local to the panel while the workspace continues to own file order, selection, and closing. Retiring embedded apps keep their existing unmount lifecycle.
Explicitly targeted Desktop opens now wait for the lazy panel to finish publishing before delivering the request, preserving the chosen target while the panel loads.
Risk and coverage
The idle-composer attachment-error indicator failure reproduces on pinned main
e75403fand this layer. Rejection metadata is retained but is not published until an ordinary draft edit; the earlier composer-publication change in #175721 owns that defect. No attachment fix is included here.Evidence
Recorded focused validation: Files and divider checks passed (41 unit cases; 5.72 s command wall).
The HTML preview file passed all three native scenarios after the reader change (
--maxWorkers=1; 23.54 s wall), including script order and retained Source navigation.A controlled delay in lazy panel publication reproduced the lost unavailable-target request before the fix (20.98 s wall). After the fix, both existing target cases passed (11.01 s wall), including delivery to the exact unavailable target without fallback. The separate status-retry failure was not independently reproduced.
Normal validation passed all 21 Desktop E2E cases (27.32 s wall) and 12 related cases (8.16 s wall). UI types, scoped lint, the controller guard, and scoped review passed. These runs used pinned Bun and Chromium on macOS; they do not establish a hosted Linux CI result for this change.
CI timing for the updated tests is pending; the measured local costs above are scoped runs.
Visual evidence
Captured before:
dccff201b07e. Captured after:5856f7237579.Synthetic fixtures and a mock Gateway show the integrated session UI at these revisions. These images are not isolated proof of this PR; stills do not establish interaction or live-service results.
Published comparisons: Files and mobile conversation.
Files on desktop — dark
The baseline reader replaces the catalog; the updated view keeps the populated catalog beside the reader. Full views include both file tabs; crops focus on the catalog and reader.
Full view
Detail 1
Additional views and states
Files on desktop — light
The same file and tabs in light mode. The baseline long line clips horizontally; the updated reader wraps it. This does not claim identical wrapping.
Full view
Detail 1