Skip to content

Board polish batch: display, copy, 404 page, theme and forced colours (T382) - #300

Merged
erickb336 merged 3 commits into
mainfrom
sage/t382-board-polish
Oct 24, 2026
Merged

erickb336 merged 3 commits into
mainfrom
sage/t382-board-polish

Conversation

@erickb336

Copy link
Copy Markdown
Owner

The small board follow-ups that the reviews of PRs 287 and 288 left (T374, T375, T378, T379), in one PR. The approved programs prototype (T233) is the source of the copy.

Each item, with its fix and its test (scripts/board-render.test.mjs = string test, scripts/board-polish-browser.test.mjs = browser test). Each new test fails on the base 6122e7e and passes on this head.

Display and copy (T374)

  1. The board reads needs=1 once, then takes it out of the address; a reload leaves the Needs you filter off. Browser test T374-1.
  2. The picker says "1 project", not "1 projects". T374-2.
  3. On a dropped or lost program's page, a task that is not the pilot names the breakdown ("waits for the breakdown of PG6: you dropped it"), not the pilot. T374-3.
  4. In a proposed program, a task whose waits cell names the pilot shows that wait once. T374-4.
  5. The Needs you count on /programs and /program/KEY follows a live update (the count is a live part). T374-5 and browser test T374-5.
  6. A dropped program's page shows the next step "ask the sage to take each task out of the program". T374-6.
  7. A project change in the picker ends a Program filter whose program is in another project. Browser test T374-7.
  8. The unread projects[].programNeeds field and its stale comment are gone; the three assertions read model.programNeeds now. T374-8.
  9. Copy as in the prototype: "T11 cannot start: it waits for T10, which was abandoned.", "T13 can start when T12 merges.", Needs you strip "PG2 Lead build: the pilot T21 was abandoned. …", a "Next:" label on the stuck card. Updated T368 tests and T374-9.
  10. Latest decisions on a program page in the short form with short dates: "10 Oct PG1 proposed: Codex support, pilot T1, gate G1", "17 Oct T2 merged: PR 66"; the full time is the title. T374-10 and the updated R1324-1.
  11. At phone width the task page bar shows the program id (PG1) instead of a cut name. Browser test T374-11.
  12. The program tag wraps a name with no spaces: no sideways scroll. Browser test T374-12.
  13. In the chat board, a card's wait line comes after its step line, where the Now line was. The updated chat tests.

404 page (T375)
14. The not-found program page names the id only when the key ends in a program id (PG followed by a number). T375.
15. It has the heading "Program not found" and the page title "Program not found · Sage programs". T375.

Theme (T378)
16. Open board tabs follow a theme change made in another tab (storage event). Browser test T378-16.
17. In forced colours, the chosen tab and the chosen Who pill have a 2 px Highlight border. Browser test T378-17.
18. The offline snapshot's task, programs and program pages each have a theme switch after the way back. T378-18 and browser test T378-18.
19. The program approval band spans its section (margin -1px -14px 10px). Browser test T378-19 measures the edges.
20. Program page task rows keep a 1 px edge in forced colours. Browser test T378-20.
21. No sideways scroll at 320 px on task pages; the page bar wraps. Browser test T378-21.

Navigation (T379)
22. The served Agents page already has the Task board / Programs / Agents tabs (board-agents.test.mjs and the keyboard test in board-agents-browser.test.mjs). No change: only a page that is not served (no server, so no other page) has no tabs, as the existing test asks.

Checks: npm run build leaves no diff, npm run check passes, and the board test files pass (render, model, agents, server, view, board, acceptance, sample, cli, and the browser files programs, agents, picker, enhancement and polish).

🤖 Generated with Claude Code

erickb336 and others added 3 commits October 21, 2026 21:03
… (T382)

The follow-ups of the reviews of PRs 287 and 288 (T374, T375, T378), with a test for each:
- the board takes needs=1 out of the address after it reads it; the picker says "1 project"
- program pages: a dropped or lost breakdown named on its tasks, a pilot wait once, the next step of a
  dropped program, "can start when" and "cannot start: it waits for" copy, a Next label on a stuck
  program, decisions in the short form with short dates
- the Needs you count of the programs pages follows a live update; a project change ends a Program
  filter of another project; the model's unread projects[].programNeeds field is gone
- the not-found program page has its heading and title, and names only a real program id
- the task page bar shows the program id at phone width; a program tag wraps a long name; the chat
  card's wait line follows its step line
- the snapshot's pages have their own theme switch; open tabs follow a theme change; forced colours
  mark the chosen tab and Who pill and keep the task rows' edge; the approval band spans its section;
  no sideways scroll at 320 px on task pages

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…page once, address filter (T382)

- A proposal shows once, from the pilot's own row; its move rows add no line (R1368-1).
- A wait for an abandoned pilot shows its own mark in a proposed program (R1368-2).
- An answered breakdown names its gate: "G1 answered: approve" (R1370-1).
- The dropped program's Next section has no second Next label (R1370-2).
- The not-found page wraps a long id and shows its first 12 characters (R1371-1).
- The address drops a Program filter of another project (R1371-2).
- A decision time that is not a date gets no date and no title (R1371-4).
- The lost program page says what is wrong once (R1371-5).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…r joins, round names, address, decision times (T382)

- An answer line takes the gate of its own round, from that round's proposal row; a round 2 answer no longer shows the raw line.
- A task that a later proposal takes in shows "T11 joined PG1"; only the first round's move rows stay quiet.
- An older "proposed again" line shows no name; the latest round keeps the program's name.
- With needs=1 in the address, the Program filter of another project goes from the address too.
- A decision with no valid time goes last; a day that its month does not have is not a date.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@erickb336
erickb336 merged commit c100244 into main Oct 24, 2026
1 check passed
@erickb336
erickb336 deleted the sage/t382-board-polish branch October 24, 2026 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant