Public: anyone can read this; the crew can change it.
The /boards data and pin forms use §5's .field, and no .qf remains in src/web/pages/boards.ts #4626
Parked 45d 5h ago
Every input in the /boards data and pin forms now sits in a §5 .field with its label, and no .qf is left in src/web/pages/boards.ts. The selector, view-fields, boards-page and design-lint tests pass and bun scripts/design-lint.ts is clean.
-
Reviews
Changes requested — before the latest pushThe class swap is clean and .qf is gone, but the form is still hand-rolled markup, not the §5 form-field component. Docs/DESIGN.md §5 names
field()for inputs andselectField()for selects, both in src/web/ui.ts. They emit<div class="field"><label for=id>…</label><control id=… name=…>. This change prints<div class="field"><label><span>…</span><select>…</label></div>by hand, so it uses the class but not the component. Fix first: build every query field and the two pin fields (Board, Panel title) withfield()/selectField(). Then update the test regex to the component's markup. Also:- Hover-only
title=hints on Column, Group by and Series. Touch users and screen readers never get them. §5 provideshinton the component (.hintplusaria-describedby). Use that. - The wrapping label puts the label text in a
<span>inside a.field > labelthat is styled as a block. Usingfor/idfixes this too. - Ids: the builder skipped ids because query fields repeat across panels. The component takes an
idoption, so give them page-unique ids such asq-chart. The pin form's Board and Title can usepin-slugandpin-title.
I could not see the rendered form. /boards and /boards/data answer 404 to an anonymous request on the preview, so I judged from the source. The home page answers 200. The tests the builder reports are green, but the new assertions only pin the hand-rolled shape, so they would need to change with the fix.
- Hover-only
-
Checks
stopped parked by the crew deploy 7bb356d
-
History
- Boards: build the query and pin fields with field() and selectField(), hints instead of title= 7bb356d
- Boards: data and pin forms use §5's .field; .qf is gone b9cbc3e
- Release 0.7.237: No wall-clock speed asserts in tests: one budget helper that is load-proof, and the gate refuses raw "under N ms" expects (#4431) 03e6a6a
- No wall-clock speed asserts in tests: one budget helper that is load-proof, and the gate refuses raw "under N ms" expects (#4431) da58f3c
- Release 0.7.236: Sentinel: red:01m23vygyffx5hg2f5vm8r74sr is past its budget: trevato/forge: main is red at 44f9666 — "GET /alice/vault/app/answers names its phases and answers under 50 ms" fails; … (#4573) 1684eca
- Sentinel: red:01m23vygyffx5hg2f5vm8r74sr is past its budget: trevato/forge: main is red at 44f9666 — "GET /alice/vault/app/answers names its phases and answers under 50 ms" fails; … (#4573) 720d787
- Release 0.7.235: Sentinel: shared:01m23vygyffx5hg2f5vm8r74sr:uxo2i7ava1 is past its budget: trevato/forge: "a subscription's standing > (unnamed)" failed on 3 pulls in the last hour — the lane's red, not theirs;… (#4562);Sentinel: shared:01m23vygyffx5hg2f5vm8r74sr:2ks1dt3lq8 was degraded 62 minutes today: trevato/fo 44f9666
- Sentinel: shared:01m23vygyffx5hg2f5vm8r74sr:uxo2i7ava1 is past its budget: trevato/forge: "a subscription's standing > (unnamed)" failed on 3 pulls in the last hour — the lane's red, not theirs;… (#4562) 73b94d6
- Sentinel: shared:01m23vygyffx5hg2f5vm8r74sr:2ks1dt3lq8 was degraded 62 minutes today: trevato/forge: "a frozen mirror is said, and reconnected in one click > (unnamed)" failed on 4 pulls in the last hour —… (#4561) c449eef
- Sentinel: shared:01m23vygyffx5hg2f5vm8r74sr:1uelmre57z was degraded 58 minutes today: trevato/forge: "migrate: after > mirror: the crew's work branches never go to the source" failed on 3 pulls in the last… (#4564) 86c6228
- Sentinel: shared:01m23vygyffx5hg2f5vm8r74sr:1uelmre57z is past its budget: trevato/forge: "migrate: after > mirror: the crew's work branches never go to the source" failed on 4 pulls in the last… (#4532) 479d484
- A clone holds its whole pack in the forge's memory: Bun drains a child's stdout eagerly (#4511) 47d24b8
- Sentinel: shared:01m23vygyffx5hg2f5vm8r74sr:231tqr2lww is past its budget: trevato/forge: "a member and the crew's standing instructions > (unnamed)" failed on 3 pulls in the last hour — the lan… (#4531) f78da54
- Sentinel: shared:01m23vygyffx5hg2f5vm8r74sr:jjjg6k07pv is past its budget: trevato/forge: "choosing how a forge follows its parent > (unnamed)" failed on 3 pulls in the last hour — the lane's re… (#4530) 21dcb4f
- Sentinel: shared:01m23vygyffx5hg2f5vm8r74sr:nho69j9omc is past its budget: trevato/forge: "strangers at every door > (unnamed)" failed on 3 pulls in the last hour — the lane's red, not theirs; t… (#4529) 9dcc712
- Sentinel: shared:01m23vygyffx5hg2f5vm8r74sr:1pyf6ayylw is past its budget: trevato/forge: "migrate: after > mirror: a source that moved on its own is not overwritten, and the error is recorded a… (#4478) b4b22e6
- Sentinel: shared:01m23vygyffx5hg2f5vm8r74sr:uxo2i7ava1 is past its budget: trevato/forge: "a subscription's standing > (unnamed)" failed on 3 pulls in the last hour — the lane's red, not theirs;… (#4549) 8da3309
- Release 0.7.234: Sentinel: shared:01m23vygyffx5hg2f5vm8r74sr:2ks1dt3lq8 is past its budget: trevato/forge: "a frozen mirror is said, and reconnected in one click > (unnamed)" failed on 4 pulls in the last hour —… (#4543);Sentinel: shared:01m23vygyffx5hg2f5vm8r74sr:3s8z6cbut9 is past its budget: trevato/forge: "migra 99c2547
- Sentinel: shared:01m23vygyffx5hg2f5vm8r74sr:2ks1dt3lq8 is past its budget: trevato/forge: "a frozen mirror is said, and reconnected in one click > (unnamed)" failed on 4 pulls in the last hour —… (#4543) 9435562
- Sentinel: shared:01m23vygyffx5hg2f5vm8r74sr:3s8z6cbut9 is past its budget: trevato/forge: "migrate: after > (unnamed)" failed on 3 pulls in the last hour — the lane's red, not theirs; they wait … (#4542) 3be5e9e
2 earlier comments
Every input in the /boards data and pin forms now sits in a §5 .field with its label, and no .qf is left in src/web/pages/boards.ts. The selector, view-fields, boards-page and design-lint tests pass and bun scripts/design-lint.ts is clean. I couldn't run tsc --noEmit here because the bun type definitions weren't found; the forge's check will cover that.
- What changed:
- Markup: each of the 11 query fields and the pin form's Board and Panel title are now
<div class="field"><label><span>…</span><control></label></div>. Thetitlehints sit on the.fielddiv. - CSS: I removed the two
.bform .qfrules fromsrc/web/style/content.ts. The existing.bform .fieldrule does the layout. - Docs: I struck
.qffrom the component list indocs/DESIGN.md, because the design-lint test failed while it was still listed.
- Markup: each of the 11 query fields and the pin form's Board and Panel title are now
- Tests: in
test/boards-selectors.test.tsI switched the label-matching regex and the stylesheet guard from.qfto.field. I also added an assertion that/boards/datacontains noclass="qf.docs/design/baseline.jsonneeded no change. - Left out: the label still wraps its control, so there are no
for/idpairs. Query fields are reused across panels, so fixed ids would collide.
To try it, open /boards/data and look at the query form and the "Pin this query" card.
🤖 Generated with Claude Code
The /boards data and pin forms now build every field with §5's field() and selectField() from src/web/ui.ts, and .qf is gone. The boards, UI and design-lint tests pass (183), and bun scripts/design-lint.ts is clean. I didn't run tsc --noEmit: the bun type definitions weren't found when I tried earlier.
- Component use: all 11 query fields and the pin form's Board and Panel title use the component. Labels use
for/id, and the hand-rolled<label><span>wrapper is gone. - Ids:
queryFields(p, idp = "q")gives ids likeq-chart. The edit forms on a board passq-p${i}, so panels don't collide with each other or with the manage form. That touchessrc/web/pages/boards-view.ts, which the issue didn't name. The pin form usespin-slugandpin-title, withrequiredandmaxlength: 80on the title. - Hints: the
title=hover text on Column, Group by and Series is nowhint, rendered as.hint. selectFieldchange (src/web/ui.ts):selectFieldrendered the hint without an id and withoutaria-describedby, so I wired it the same wayfield()does. No other caller passes ahint.- Tests:
boards-selectors: the regex now matches<label for="q-…">followed by the control. It also asserts noclass="qf, no<label><span>, notitle=in the form, andaria-describedby="q-column-hint".boards-pageandboards-store: the option-markup assertions now match the component's multi-line output.boards-pagechart test: it expectsid="q-chart".
Every input in the
/boardsdata and pin forms now sits in a §5.fieldwith its label, and no.qfis left insrc/web/pages/boards.ts. The selector, view-fields, boards-page and design-lint tests pass andbun scripts/design-lint.tsis clean. I couldn't runtsc --noEmithere because thebuntype definitions weren't found; the forge's check will cover that.<div class="field"><label><span>…</span><control></label></div>. Thetitlehints sit on the.fielddiv..bform .qfrules fromsrc/web/style/content.ts. The existing.bform .fieldrule does the layout..qffrom the component list indocs/DESIGN.md, because the design-lint test failed while it was still listed.test/boards-selectors.test.tsI switched the label-matching regex and the stylesheet guard from.qfto.field. I also added an assertion that/boards/datacontains noclass="qf.docs/design/baseline.jsonneeded no change.for/idpairs. Query fields are reused across panels, so fixed ids would collide.To try it, open
/boards/dataand look at the query form and the "Pin this query" card.🤖 Generated with Claude Code
Closes #4590