fix(webui): the organization page fits its width with the agent drawer open, #/orgs/<id>?query opens the organization page, the drawer waits for the state read before it names a state, the Queue card says plainly why it shows nothing (#1873) #1977
Reference in new issue
Block a user
What changes
#/orgs/<id>?queryis the organization page with the query kept.#/orgs/acme?agent=acme:assistantopens the drawer. Before, it painted "Organization unavailable".How
shell.css: the organization page's split is a flex wrap, and the Settings card is an inline-size container. A viewport breakpoint could not see the drawer, which shrinks the content box and not the viewport.display.js(orgOf,tail) andworkspace.js(route) match the organization segment with[^/?]+.workspace.js: the drawer has its own instances read per organization. An answer that arrives after the drawer closed is dropped.roles/,contracts/orpackages/queue/.Tests
tests/org-page-fit-browser.test.mjs, 9 tests. Six failed on the base commit, each for the fault it names. It includes the test sp12 left out: a repaint keeps the Stop question on screen.68df55130: 192 webui test files, 1547 pass, 0 fail, 4 skipped (org-quick-live, needs a live scratch instance).68df55130: 205 pass, 0 fail over the new test file plus the drawer, agents, single-pane, workspace, tiles, switch, layout, workflows, tasks, inbox and assistant files.Review
One fresh claude-opus-5-5 reviewer approved with no P1 or P2 and five P3. Two were fixed in
68df55130(a stale drawer answer after close, shots that showed no drawer). The fix is about four source lines plus a test.Left for later
packages/bus/src/broker.mjs) returns before it adds running state, so clients can get instances without runs. The web UI now says "state not read" there. The bus should send the runs.