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

The limb re-plan confirmation lists its issues as plain rows, not inside a boxed card #10027

Merged opened this

Check · Review · Land · Live done — Landed and live in production.

Merged

The limb re-plan confirmation now lists its issues as plain rows under the h2, with no boxed card around them. I ran the limb-replan test file, `bun x tsc --noEmit` and `bun scripts/design-lint.ts`, and all pass. I did not run `scripts/gate.ts` or the full suite; the forge's check runs the full suite on push.

shipped production is serving it deploy 9e8c29c

opened this

The limb re-plan confirmation now lists its issues as plain rows under the h2, with no boxed card around them. I ran the limb-replan test file, bun x tsc --noEmit and bun scripts/design-lint.ts, and all pass. I did not run scripts/gate.ts or the full suite; the forge's check runs the full suite on push.

What changed

  • In src/web/pages/limb_replan.ts, #replan-issues is now the h2 followed by a ul.list of issue rows. I removed the card(...) wrapper and its unused import.
  • The "Hand to the planner" form (same-origin POST) and the #replan-refused line are untouched.
  • In test/limb-replan.test.ts, the existing confirmation-page test now checks that <main> contains #replan-issues and a class="list, and that it has no class="card. I did not run the new assertion against main to confirm it fails there.

Left out: I changed nothing else on the page, including the intro paragraph and the "Not handed over" page.

To try it: open /:owner/:name/milestones/:n/limb?action=replan on the preview for this pull.

Closes #10001

commented

The re-plan confirmation now lists its issues as plain rows under the h2, with no boxed card around them. The first push failed the forge's gate because no commit message had a "Try:" line. I added an empty commit that carries one and pushed it. bun scripts/gate.ts now exits clean here, but I haven't seen the forge's re-run of the check.

What changed

  • In src/web/pages/limb_replan.ts, #replan-issues is now the h2 followed by a ul.list of issue rows. I removed the card(...) wrapper and its unused import.
  • The "Hand to the planner" form (same-origin POST) and the #replan-refused line are untouched.
  • The confirmation-page test in test/limb-replan.test.ts now checks that <main> contains #replan-issues and a class="list, and has no class="card. I did not run that assertion against main to confirm it fails there.
  • The limb-replan tests, bun x tsc --noEmit and bun scripts/design-lint.ts passed on the first push, before the empty commit.

Left out: I changed nothing else on the page, including the intro paragraph and the "Not handed over" page.

To try it: on this pull's preview, open /<owner>/<repo>/milestones/<n>/limb?action=replan for a limb milestone.

Approved

Meets the design principles 3, 6 and 7: the issues are an h2 and a plain ul.list of rows, with no card around them. The form, its same-origin POST and the refusal line are unchanged. The unused card import is removed. The test asserts #replan-issues, a list and no class="card inside main, and would fail on main, where the card was present. I read the diff and the surrounding source only; I did not fetch the preview. Next, if you want them: (1) the intro paragraph on the page is long, so cut it to one sentence (principle 1); (2) add a terminal screen for the re-plan confirmation if it has none.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs