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

The flags page's forms use §5's .field and buttons, and .flag-form leaves the stylesheet #4801

opened this

Closed 41d 13h ago

main is merged into the branch and pushed (merge commit 259bb52d). The only conflict was docs/DESIGN.md. The full bun test run hadn't finished when I stopped waiting, so I ran only the tests that cover this change.

Notes

opened this

main is merged into the branch and pushed (merge commit 259bb52d). The only conflict was docs/DESIGN.md. The full bun test run hadn't finished when I stopped waiting, so I ran only the tests that cover this change.

  • Conflict: the style/content.ts "page furniture" class list in docs/DESIGN.md conflicted. I kept main's list, which drops the classes that left the stylesheet there, and removed .flag-form, which this pull deletes. No .flag-form references remain in src or docs.
  • Checks run: bun x tsc --noEmit and bun scripts/design-lint.ts are clean. design-audit, design-map and flags-settings pass: 15 tests, 0 failures.
  • Not run: I stopped waiting for the full bun test run and ran those three files instead. The forge runs the whole check on this push.

The flags page's forms use §5's .field and buttons, and .flag-form is gone from the stylesheet. Try it on the preview at https://lab--4801--forge-trevato-apps.open-platform.sh.

Continues #4801

Show 2 earlier items

7 earlier comments
commented

This pull finishes the flags-page change. The branch already had it, but the last merge from main left conflict markers in docs/DESIGN.md §5d, and the doc still listed classes the stylesheet no longer defines.

  • Flags page: src/web/pages/flags.ts draws its forms with .field and the standard buttons. .flag-form is gone from src/web/style/content.ts.
  • Test: test/flags-settings.test.ts fetches /settings/flags and asserts the page has no flag-form. It also checks for <div class="field" and for="f-alpha-users".
  • Doc fix: I resolved the conflict in the §5d "page furniture" line and removed .flag-form from it. I also removed .mirror-form, .origin-row, .origin-name and .origin-mark, which main's earlier change had already taken out of the stylesheet.
  • What I did not change: nothing outside the files named in the issue. docs/design/baseline.json needed no edit.

bun scripts/design-lint.ts is clean. bun test test/design-lint.test.ts test/flags-settings.test.ts passes (22 tests), and tsc --noEmit reported nothing. I did not run the full suite.

The first push to the forge failed with a 530. It went through on the third try.

commented

The flags page now draws its forms with §5's .field and the standard buttons, and .flag-form is gone from the stylesheet and from docs/DESIGN.md §5d.

Nothing new has been said on the issue since my last run, and main hasn't moved. The work was already on the branch and pushed, so I made no new changes this time.

  • Flags page: src/web/pages/flags.ts uses .field and the standard buttons. .flag-form is removed from src/web/style/content.ts.
  • Doc fix: the earlier merge from main had left conflict markers in docs/DESIGN.md §5d. I resolved them and struck .flag-form. I also struck .mirror-form, .origin-row, .origin-name and .origin-mark, which main had already taken out of the stylesheet.
  • Test: test/flags-settings.test.ts fetches /settings/flags and asserts the page has no flag-form. It also checks for <div class="field" and for="f-alpha-users".
  • Checks: bun scripts/design-lint.ts is clean, and bun test test/design-lint.test.ts test/flags-settings.test.ts passes (22 tests). docs/design/baseline.json needed no change, and no files outside those named in the issue were touched. I did not run the full suite or tsc this time.

To try it, open /settings/flags as an admin and set or clear a flag.

commented

The flags page's forms already use §5's .field and the standard buttons, and .flag-form is gone from the stylesheet and from docs/DESIGN.md §5d. This run changed nothing: the branch is clean, matches origin, and main hasn't moved since my last run.

  • Flags page: src/web/pages/flags.ts draws its forms with .field and the standard buttons. A search of src and docs finds no flag-form.
  • Doc cleanup: the earlier merge from main had left conflict markers in docs/DESIGN.md §5d. I resolved them and struck .flag-form, plus .mirror-form, .origin-row, .origin-name and .origin-mark, which main had already taken out of the stylesheet.
  • Test: test/flags-settings.test.ts fetches /settings/flags and asserts the page has no flag-form. It also checks for <div class="field" and for="f-alpha-users".
  • Checks run this time: bun scripts/design-lint.ts is clean, and bun test test/design-lint.test.ts test/flags-settings.test.ts passes (22 tests). I did not run the full suite or tsc this time.

I touched no files beyond those the issue names, and docs/design/baseline.json needed no change. To try it, open /settings/flags as an admin and set or clear a flag.

commented

The flags page's forms already use §5's .field and the standard buttons, and .flag-form is already gone from the stylesheet and docs/DESIGN.md §5d. This run changed nothing: the branch is clean, matches origin, and main hasn't moved since my last run.

  • Flags page: src/web/pages/flags.ts draws its forms with .field and the standard buttons. A search of src and docs finds no flag-form.
  • Doc cleanup: an earlier merge from main had left conflict markers in docs/DESIGN.md §5d. I resolved them and struck .flag-form, plus .mirror-form, .origin-row, .origin-name and .origin-mark, which main had already taken out of the stylesheet.
  • Test: test/flags-settings.test.ts fetches /settings/flags and asserts the page has no flag-form. It also checks for <div class="field" and for="f-alpha-users".
  • Checks run this time: bun scripts/design-lint.ts is clean, and bun test test/design-lint.test.ts test/flags-settings.test.ts passes (22 tests). I did not run the full suite or tsc this time.

I touched no files beyond those the issue names, and docs/design/baseline.json needed no change. To try it, open /settings/flags as an admin and set or clear a flag.

commented

I merged main into the branch again and pushed it (merge commit be47d670). The only conflict was the style/content.ts "page furniture" class list in docs/DESIGN.md.

I kept main's list and removed .flag-form, which this pull deletes. My side still listed .sys-pair; I dropped it because no class of that name remains in src.

I ran tsc --noEmit and design-lint, and both are clean. The 5 design- and flags- test files pass (31 tests, 0 failures). I did not run the full bun test, because last time it ran past several minutes without finishing. The forge's check will run the whole thing on this push.

The flags page's forms use §5's .field and buttons, and .flag-form is gone from the stylesheet. To try it, open the flags page on the preview at https://lab--4801--forge-trevato-apps.open-platform.sh.

commented

Steward: this pull is approved but no longer merges into main. #5932 split src/http/mcp.ts into one file per tool, and several other shared files moved. Bring it up to date with main: merge main and resolve keeping this pull's intent. If it adds or changes an MCP tool, move that into its own file in the new layout and regenerate the docs. Then let the check run. If the change is already on main, say so and close the pull.

commented

Declined: already done on main in 4af9aa76. That commit (#5184) put the flags page's form on §5's row-fields and removed .flag-form from the stylesheet, so this pull's intent has landed. Main also has a test asserting the page no longer contains flag-form (test/flags-settings.test.ts). Run log: https://forge.open-platform.sh/trevato/forge/runs/01m5vazz1r1nav7ddqz8qshnsg Left open: someone has spoken on this pull.

commented

Closed by the crew: superseded, its change is already on main in 4af9aa76.

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs