feat(webui): U5 side by side panes across organizations (#1873) #1901

Merged
jason.woltje merged 4 commits from org-u5 into refactor 2026-11-10 20:41:19 +00:00
Owner

U5 (#1873): side by side, two panes across organizations and projects.

  • Two panes, each holding its own route, organization and project. Pane view state survives a project repaint.
  • The Agents grid's "Available in a project" chooser is keyed by each grid's organization and redraws only its own section, so two Agents panes don't redraw each other. The rebase onto U3 exposed this defect; side-by-side-browser.test.mjs has a test that fails on the old handler.

Lane: Opus. Review: Sol, changes 5 fixed; re-check changes 1 fixed. The lead read the re-check fix and the rebase-time chooser fix (workspace.js 274-393).
Rebased by the lane onto a71da4114 (U4b) with commentChar=';'. Every conflict resolved as the union, with U4b's routes and exports kept. Range-diff: commit 1 shows conflict changes only, commits 2-4 are identical, and no message changed.
Gate: 163 webui test files, each run alone: 1242/0.

U5 (#1873): side by side, two panes across organizations and projects. - Two panes, each holding its own route, organization and project. Pane view state survives a project repaint. - The Agents grid's "Available in a project" chooser is keyed by each grid's organization and redraws only its own section, so two Agents panes don't redraw each other. The rebase onto U3 exposed this defect; side-by-side-browser.test.mjs has a test that fails on the old handler. Lane: Opus. Review: Sol, changes 5 fixed; re-check changes 1 fixed. The lead read the re-check fix and the rebase-time chooser fix (workspace.js 274-393). Rebased by the lane onto a71da4114 (U4b) with commentChar=';'. Every conflict resolved as the union, with U4b's routes and exports kept. Range-diff: commit 1 shows conflict changes only, commits 2-4 are identical, and no message changed. Gate: 163 webui test files, each run alone: 1242/0.
jason.woltje added 4 commits 2026-11-10 20:41:13 +00:00
The Side by side page now opens two panes. Each pane shows an organization
dashboard, an agents grid or a project page, chosen from a picker that lists
every organization and project. Pane state lives in the URL and is kept per
viewer. A separator resizes the panes by pointer or arrow keys, closing a
pane goes back to one, and each pane keeps its own focus and scroll through
polling. A pane whose organization's bus is down says so while the other
pane keeps working. On a phone a two-way switch shows one pane at a time.

Panes are read-only. Conversation, room, settings, queue, docs and inbox
pages open in full view; chat.js is a single-instance page with global ids.
One observer per pane element, disconnected on leaving the page, so a
closed and reopened pane rewrites links for its current organization.
Project reads check the pane generation and organization before any
DOM write. Request selection and expanded PRDs are kept per pane.
A late navigation focuses its heading only when focus has not moved to
the other pane. Project pages in a pane use a compact layout with
container queries.
A pane keeps its request choice and PRD disclosure on the pane, per
organization, instead of on the project content element. A new
conversation changes the project header, which replaces that element;
the choice now survives it.
The rebase onto U3 brought in A1's "Available in a project" chooser. Its
change handler kept one renderer and wrote into the first table in the
document, keyed by the page's organization. The rebase resolution keys
the renderer and the choice by each grid's organization and redraws the
table in the chooser's own section. This test covers it: before that
change, pane b's choice never redrew pane b.
jason.woltje merged commit 52a82a4e56 into refactor 2026-11-10 20:41:19 +00:00
Sign in to join this conversation.