DDR 0280: the sign-in QR screen (app door) uses the Portal sign-in's brand band #1889

Merged
ben merged 1 commit from session/app-door-wears-the-band into main 2026-09-25 18:17:36 +00:00
Owner

Ben asked on 2026-09-25 to "make sure that the qr code screen matches the sign in screen in as far as brandkit use". Recorded as DDR 0280.

A member signs in through two screens in a row:

  • the Portal's signed-out page PT-S0 (DDR 0270). It is branded: the kit's accent → secondary band fills the screen, with the logo tile, the community name as a serif heading and the greeting;
  • then the IDIP bridge's app door WS-S1, the QR screen. It was a flat page: system fonts, hard-coded greys, no community name, and --oc-secondary compiled but never used.

Changes (internal/idp/appdoorpage.go):

  • the band is the page, and all text on it uses --oc-text-on-accent;
  • the community name is the serif <h1> (data-field="community-name") between the logo and the greeting. The logo sits on the panel tile;
  • Merriweather and Roboto Mono are inlined through the new brandkit.FontFaceCSS(), which reuses the fonts the kanidm override already bundles;
  • the QR code and its buttons sit on a white panel, which the QR needs to scan. Buttons use the kit's primary button style. Links use --oc-accent-deep, so a pale accent (tested with a yellow kit) stays readable;
  • the shared bridge logo style (brand.go) now reads --oc-text-on-accent, the token the kit actually compiles. --oc-accent-text stays as a fallback.

Checked:

  • rendered with the tūī kit, the Mātou preset and a pale-yellow kit, at laptop and phone widths, next to the PT-S0 harness page;
  • the refused state reads well on the band;
  • go test ./internal/idp ./internal/brandkit passes, and the new TestSeam_AppDoorPage_WearsThePortalSignInBand pins the brand use;
  • the region-order test still passes.

Docs: DDR 0280, the wallet-signin/ws-s1-sign-in-app-door.html wireframe, STATUS.md.

Follow-up (in the DDR): the twelve-words, signed-out and device-approval bridge pages still use the flat look. The words link now leads from the band to a flat page.

🤖 Generated with Claude Code

Ben asked on 2026-09-25 to "make sure that the qr code screen matches the sign in screen in as far as brandkit use". Recorded as **DDR 0280**. A member signs in through two screens in a row: - the Portal's signed-out page **PT-S0** (DDR 0270). It is branded: the kit's accent → secondary band fills the screen, with the logo tile, the community name as a serif heading and the greeting; - then the IDIP bridge's app door **WS-S1**, the QR screen. It was a flat page: system fonts, hard-coded greys, no community name, and `--oc-secondary` compiled but never used. **Changes (`internal/idp/appdoorpage.go`):** - the band is the page, and all text on it uses `--oc-text-on-accent`; - the community name is the serif `<h1>` (`data-field="community-name"`) between the logo and the greeting. The logo sits on the panel tile; - Merriweather and Roboto Mono are inlined through the new `brandkit.FontFaceCSS()`, which reuses the fonts the kanidm override already bundles; - the QR code and its buttons sit on a white panel, which the QR needs to scan. Buttons use the kit's primary button style. Links use `--oc-accent-deep`, so a pale accent (tested with a yellow kit) stays readable; - the shared bridge logo style (`brand.go`) now reads `--oc-text-on-accent`, the token the kit actually compiles. `--oc-accent-text` stays as a fallback. **Checked:** - rendered with the tūī kit, the Mātou preset and a pale-yellow kit, at laptop and phone widths, next to the PT-S0 harness page; - the refused state reads well on the band; - `go test ./internal/idp ./internal/brandkit` passes, and the new `TestSeam_AppDoorPage_WearsThePortalSignInBand` pins the brand use; - the region-order test still passes. **Docs:** DDR 0280, the `wallet-signin/ws-s1-sign-in-app-door.html` wireframe, `STATUS.md`. **Follow-up (in the DDR):** the twelve-words, signed-out and device-approval bridge pages still use the flat look. The words link now leads from the band to a flat page. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
ben force-pushed session/app-door-wears-the-band from 9e9b018aa8
All checks were successful
ci / seam (pull_request) Successful in 13m41s
ci / publish (pull_request) Has been skipped
ci / publish-broker (pull_request) Has been skipped
ci / deploy-broker (pull_request) Has been skipped
to eb89d1fbfd
Some checks failed
ci / publish (pull_request) Has been cancelled
ci / publish-broker (pull_request) Has been cancelled
ci / deploy-broker (pull_request) Has been cancelled
ci / seam (pull_request) Has been cancelled
2026-09-25 17:58:22 +00:00
Compare
ben force-pushed session/app-door-wears-the-band from eb89d1fbfd
Some checks failed
ci / publish (pull_request) Has been cancelled
ci / publish-broker (pull_request) Has been cancelled
ci / deploy-broker (pull_request) Has been cancelled
ci / seam (pull_request) Has been cancelled
to 987cf3c1b5
All checks were successful
ci / seam (pull_request) Successful in 14m19s
ci / publish (pull_request) Has been skipped
ci / publish-broker (pull_request) Has been skipped
ci / deploy-broker (pull_request) Has been skipped
2026-09-25 17:58:42 +00:00
Compare
ben merged commit ae36a2388c into main 2026-09-25 18:17:36 +00:00
ben deleted branch session/app-door-wears-the-band 2026-09-25 18:17:39 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Matou/idss!1889
No description provided.