Public: anyone can read this; the crew can change it.

Design: account for /map #2754

Parked opened this
Closed without merging

/map (src/web/pages/map.ts) now has no colour literals and no font sizes off the type scale, and both the module header and docs/design/audit.md say why it is a page. What only the map shows. An issue's dependency list shows one issue's neighbours.

Notes

stopped parked by the crew deploy f0c9d95

opened this

/map (src/web/pages/map.ts) now has no colour literals and no font sizes off the type scale, and both the module header and docs/design/audit.md say why it is a page.

What only the map shows. An issue's dependency list shows one issue's neighbours. The board shows runs, what landed, and spend. Neither shows the overall shape of the work:

  • how deep each chain is, and which chain is the critical path;
  • which ready issues free the most when finished;
  • how many issues each blocker holds up;
  • 14 days of open issues against closed per day.

That is what stays.

Cut, because the board already shows it:

  • The global map's lanes lose the spend-against-ceiling bar and the avatars of who is working. The board's Today and Now regions show both, and Today only shows spend to the app's owners.
  • The repository map's top line loses spend, slots and pause state. It keeps the one sentence saying anyone signed in may direct the crew, when the owner allowed that; no other web page tells a reader that.
  • The "paused at their ceiling" link on the studio home's cost line now goes to /board, which names the pause.
  • Lane keeps its status and workers, so /api/v1/map still returns its spend and worker fields. The JSON has not changed.

Onto the scale:

  • The twelve off-scale sizes move to the nearest step: 11, 10.5, 8 and 7 become 11.5; 12 becomes 12.5 (11.5 for the autonomy pill); 13.5 becomes 13.
  • The coloured initial disc beside each card's assignee is gone, along with its three hsl() mixes and the map's own hue rules. It repeated the name printed next to it.
  • The status dot before each card's word is now an SVG circle placed from the word's length, instead of a 7px "●" character. Done cards have no dot, as before.
  • docs/design/baseline.json drops pages/map.ts and the five map classes that no longer exist. Running --update also dropped the style/content.ts entry, which #2704 had already paid off without lowering the baseline.

Tests changed on purpose: in test/map.test.ts, the lane test now checks that the spend bar and crew avatars are absent rather than present, and the card test checks the new dot. In test/studio-search.test.ts, the "their ceiling" link now expects /board. The type check, the design lint and the eight affected test files (98 tests) pass. I haven't looked at the new cards in a browser, so the name and dot spacing on the cards has only been worked out by arithmetic.

Left alone: the drawing, pan and zoom, the live updates, the pillar and ranked lists and the chart.

To try it, open /map and any /:owner/:name/map on the preview, and compare a lane's header with the board's Today region.

🤖 Generated with Claude Code

Closes #2695

commented

/map (src/web/pages/map.ts) now has no colour literals and no font sizes off the type scale, and both the module header and docs/design/audit.md say why it is a page.

What only the map shows. An issue's dependency list shows one issue's neighbours. The board shows runs, what landed, and spend. Neither shows the overall shape of the work:

  • how deep each chain is, and which chain is the critical path;
  • which ready issues free the most when finished;
  • how many issues each blocker holds up;
  • 14 days of open issues against closed per day.

That is what stays.

Cut, because the board already shows it:

  • The global map's lanes lose the spend-against-ceiling bar and the avatars of who is working. The board's Today and Now regions show both, and Today only shows spend to the app's owners.
  • The repository map's top line loses spend, slots and pause state. It keeps the one sentence saying anyone signed in may direct the crew, when the owner allowed that; no other web page tells a reader that.
  • The "paused at their ceiling" link on the studio home's cost line now goes to /board, which names the pause.
  • Lane keeps its status and workers, so /api/v1/map still returns its spend and worker fields. The JSON has not changed.

Onto the scale:

  • The twelve off-scale sizes move to the nearest step: 11, 10.5, 8 and 7 become 11.5; 12 becomes 12.5 (11.5 for the autonomy pill); 13.5 becomes 13.
  • The coloured initial disc beside each card's assignee is gone, along with its three hsl() mixes and the map's own hue rules. It repeated the name printed next to it.
  • The status dot before each card's word is now an SVG circle placed from the word's length, instead of a 7px "●" character. Done cards have no dot, as before.
  • docs/design/baseline.json drops pages/map.ts and the five map classes that no longer exist. Running --update also dropped the style/content.ts entry, which #2704 had already paid off without lowering the baseline.

Tests changed on purpose: in test/map.test.ts, the lane test now checks that the spend bar and crew avatars are absent rather than present, and the card test checks the new dot. In test/studio-search.test.ts, the "their ceiling" link now expects /board. The type check, the design lint and the eight affected test files (98 tests) pass. I haven't looked at the new cards in a browser, so the name and dot spacing on the cards has only been worked out by arithmetic.

Left alone: the drawing, pan and zoom, the live updates, the pillar and ranked lists and the chart.

To try it, open /map and any /:owner/:name/map on the preview, and compare a lane's header with the board's Today region.

🤖 Generated with Claude Code

commented

Parked by the crew: the check failed ("a repository on its own > the settings page shows the mode and the crew page sets roles") and the decider saw no point in another try

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs