The browser join / waiting pages ignore the brand kit — no community name ("YC" / "your community"), no logo, hard-coded green #1877

Closed
opened 2026-09-25 11:20:35 +00:00 by ben · 3 comments
Owner

Ben, 2026-09-25 (whakatohea-demo): the browser join's "Kia ora benito — you're nearly in / waiting for approval" page (P6-S5, and every other /idip/join/… surface) doesn't wear the community's brand kit. It shows:

  • a green "YC" tile, the initials of "your community";
  • the copy "your community approves everyone who joins";
  • Mātou-style fixed colours.

Causes (all in internal/controlapi/member_join_idip.go and its wiring)

  1. No community name. control-plane/cmd/control-plane/main.go wires controlapi.WithIdipMemberJoin(keria.NewJoinGate(...), appOnly) without a RefusalBrand. newIdipJoinPage therefore falls back to "your community", and refusalLogo draws "YC". The refusal surfaces get a live brand source (productionRefusalBrandSource, read per request, #1368), but the join page is built once with no brand at all.
  2. No logo. The community-logo slot is always the initials tile. It never uses the community's landed logo, which the control plane already serves at /brand/portal/logo (the signed-out face's own brand doorway, DDR 0270 §1) and /brand/logo.
  3. Hard-coded colours. idipJoinStyle inlines #2E5E4E (tile, links, buttons), #f6f7f9, #eef1f4 and so on. It never links the landed tokens.css.

The change

  • Live brand, per request, as the refusal surfaces do: the join page reads the community name through the same late-bound source (a re-brand needs no restart, and a pre-founding control plane falls back to the neutral copy, ADR 0100). Every /idip/join/… surface speaks the community's name: title, greeting, "WHAKATOHEA DEMO approves everyone who joins", and the dead-invite and app-only ends.
  • Logo: the community-logo slot renders <img src="/brand/portal/logo">. The join page is a signed-out member face, so it wears the Portal's brand as the Portal does. It falls back to the initials tile only when no logo is landed (404 → onerror swap), keeping data-field="community-logo".
  • Colours from the kit: link /brand/portal/tokens.css and rewrite idipJoinStyle onto the --oc-* tokens (primary for the tile, buttons and links; surface and ink for the background and text; --oc-text-on-* for text on colour). Keep the current neutrals only as var(--oc-x, <neutral>) fallbacks for a kit-less control plane. No #2E5E4E literal stays.
  • The wireframes docs/ux/wireframes/p6-members-idip/p6-s3i-*.html / p6-s5-waiting-approval.html already say the page wears the community logo. Update their captions if the logo source needs naming.

Acceptance

  • On whakatohea-demo, the join page and the waiting page show the WHAKATOHEA DEMO logo, the community name in the greeting and copy, and the kit's colours. A screenshot goes in the PR.
  • A seam test covers two cases:
    • with a landed brand: the name, a logo <img src="/brand/portal/logo">, and a tokens.css link;
    • with none: "your community" plus the initials fallback, with no fabricated brand.
  • grep -n '#2E5E4E' internal/controlapi/member_join_idip.go is empty.
<!-- origin: session --> **Ben, 2026-09-25** (`whakatohea-demo`): the browser join's **"Kia ora benito — you're nearly in / waiting for approval"** page (P6-S5, and every other `/idip/join/…` surface) doesn't wear the community's brand kit. It shows: - a green **"YC"** tile, the initials of *"your community"*; - the copy *"your community approves everyone who joins"*; - Mātou-style fixed colours. **Causes** (all in `internal/controlapi/member_join_idip.go` and its wiring) 1. **No community name.** `control-plane/cmd/control-plane/main.go` wires `controlapi.WithIdipMemberJoin(keria.NewJoinGate(...), appOnly)` **without a `RefusalBrand`**. `newIdipJoinPage` therefore falls back to `"your community"`, and `refusalLogo` draws "YC". The refusal surfaces get a *live* brand source (`productionRefusalBrandSource`, read per request, #1368), but the join page is built once with no brand at all. 2. **No logo.** The `community-logo` slot is always the initials tile. It never uses the community's landed logo, which the control plane already serves at `/brand/portal/logo` (the signed-out face's own brand doorway, DDR 0270 §1) and `/brand/logo`. 3. **Hard-coded colours.** `idipJoinStyle` inlines `#2E5E4E` (tile, links, buttons), `#f6f7f9`, `#eef1f4` and so on. It never links the landed `tokens.css`. ## The change - **Live brand, per request**, as the refusal surfaces do: the join page reads the community name through the same late-bound source (a re-brand needs no restart, and a pre-founding control plane falls back to the neutral copy, ADR 0100). Every `/idip/join/…` surface speaks the community's name: title, greeting, "WHAKATOHEA DEMO approves everyone who joins", and the dead-invite and app-only ends. - **Logo:** the `community-logo` slot renders `<img src="/brand/portal/logo">`. The join page is a signed-out member face, so it wears the Portal's brand as the Portal does. It falls back to the initials tile only when no logo is landed (404 → `onerror` swap), keeping `data-field="community-logo"`. - **Colours from the kit:** link `/brand/portal/tokens.css` and rewrite `idipJoinStyle` onto the `--oc-*` tokens (primary for the tile, buttons and links; surface and ink for the background and text; `--oc-text-on-*` for text on colour). Keep the current neutrals only as `var(--oc-x, <neutral>)` fallbacks for a kit-less control plane. No `#2E5E4E` literal stays. - The **wireframes** `docs/ux/wireframes/p6-members-idip/p6-s3i-*.html` / `p6-s5-waiting-approval.html` already say the page wears the community logo. Update their captions if the logo source needs naming. ## Acceptance - On `whakatohea-demo`, the join page and the waiting page show the WHAKATOHEA DEMO logo, the community name in the greeting and copy, and the kit's colours. A screenshot goes in the PR. - A seam test covers two cases: - with a landed brand: the name, a logo `<img src="/brand/portal/logo">`, and a `tokens.css` link; - with none: "your community" plus the initials fallback, with no fabricated brand. - `grep -n '#2E5E4E' internal/controlapi/member_join_idip.go` is empty.

swarm-claim host=matou-dev-server-01 run=32672
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=matou-dev-server-01 run=32672 (automated multi-host claim — lowest live claim id works this ticket)

close-report for #1877 — status success

⛔ close-report gates REFUSED this close — the following claims did not verify:

  • status:success but test 'grep -n '#2E5E4E' internal/controlapi/member_join_idip.go' exited 1 (a claimed-passing run that did not pass)
envelope
{
  "issue": 1877,
  "status": "success",
  "commits": [
    "907a3006"
  ],
  "changed_files": [
    "STATUS.md",
    "control-plane/cmd/control-plane/main.go",
    "docs/ux/wireframes/p6-members-idip/p6-s3i-member-joins.html",
    "docs/ux/wireframes/p6-members-idip/p6-s5-waiting-approval.html",
    "internal/controlapi/member_join_idip.go",
    "internal/controlapi/member_join_idip_integration_test.go"
  ],
  "tests": [
    {
      "command": "nix develop .#go-ci -c go test ./internal/controlapi/",
      "exit_code": 0
    },
    {
      "command": "nix develop .#go-ci -c go build ./internal/controlapi/... ./control-plane/...",
      "exit_code": 0
    },
    {
      "command": "nix develop .#go-ci -c go vet ./internal/controlapi/...",
      "exit_code": 0
    },
    {
      "command": "nix develop .#go-ci -c golangci-lint run ./internal/controlapi/... ./control-plane/...",
      "exit_code": 0
    },
    {
      "command": "grep -n '#2E5E4E' internal/controlapi/member_join_idip.go",
      "exit_code": 1
    }
  ],
  "criteria": {
    "On whakatohea-demo, the join page and the waiting page show the WHAKATOHEA DEMO logo, the community name in the greeting and copy, and the kit's colours": "member_join_idip.go: WithIdipMemberJoin now reads a live RefusalBrandSource per request, wired in main.go to productionRefusalBrandSource(apex, communityNameReader(repo)) — a founded community's real name reaches the greeting/copy, the head links /brand/portal/tokens.css for the kit's colours, and writeLogo renders <img src=\"/brand/portal/logo\">. A live-environment screenshot could not be produced in-sandbox (no browser system libs, per STATUS #1856) and the ticket lands by push (no PR); the branded output is code-proven by the seam test TestIdipJoin_WearsCommunityBrand_LiveOrNeutral.",
    "A seam test covers two cases — with a landed brand: the name, a logo <img src=\"/brand/portal/logo\">, and a tokens.css link": "internal/controlapi/member_join_idip_integration_test.go: TestIdipJoin_WearsCommunityBrand_LiveOrNeutral asserts the branded join AND waiting pages contain the community name, src=\"/brand/portal/logo\", and href=\"/brand/portal/tokens.css\" — read live per request from the same server after founding (no restart).",
    "A seam test covers two cases — with none: \"your community\" plus the initials fallback, with no fabricated brand": "same test: the kit-less case asserts the neutral \"your community\" copy and the <span class=\"logo mono\" data-field=\"community-logo\">YC</span> initials tile, and that no src=\"/brand/portal/logo\", no href=\"/brand/portal/tokens.css\", and no fabricated community name appear.",
    "grep -n '#2E5E4E' internal/controlapi/member_join_idip.go is empty": "verified: exit 1 (no match); idipJoinStyle rewritten onto --oc-accent / --oc-text-on-accent / --oc-background with neutral fallbacks."
  },
  "summary": "The IDIP browser join / waiting surfaces now wear the community's brand kit — live name, logo (/brand/portal/logo) and tokens.css — read per request, resting on neutral copy for a kit-less control plane.",
  "reason": "",
  "blockers": [],
  "no_code_change": ""
}
**close-report** for #1877 — status `success` :no_entry: **close-report gates REFUSED this close** — the following claims did not verify: - status:success but test 'grep -n '#2E5E4E' internal/controlapi/member_join_idip.go' exited 1 (a claimed-passing run that did not pass) <details><summary>envelope</summary> ```json { "issue": 1877, "status": "success", "commits": [ "907a3006" ], "changed_files": [ "STATUS.md", "control-plane/cmd/control-plane/main.go", "docs/ux/wireframes/p6-members-idip/p6-s3i-member-joins.html", "docs/ux/wireframes/p6-members-idip/p6-s5-waiting-approval.html", "internal/controlapi/member_join_idip.go", "internal/controlapi/member_join_idip_integration_test.go" ], "tests": [ { "command": "nix develop .#go-ci -c go test ./internal/controlapi/", "exit_code": 0 }, { "command": "nix develop .#go-ci -c go build ./internal/controlapi/... ./control-plane/...", "exit_code": 0 }, { "command": "nix develop .#go-ci -c go vet ./internal/controlapi/...", "exit_code": 0 }, { "command": "nix develop .#go-ci -c golangci-lint run ./internal/controlapi/... ./control-plane/...", "exit_code": 0 }, { "command": "grep -n '#2E5E4E' internal/controlapi/member_join_idip.go", "exit_code": 1 } ], "criteria": { "On whakatohea-demo, the join page and the waiting page show the WHAKATOHEA DEMO logo, the community name in the greeting and copy, and the kit's colours": "member_join_idip.go: WithIdipMemberJoin now reads a live RefusalBrandSource per request, wired in main.go to productionRefusalBrandSource(apex, communityNameReader(repo)) — a founded community's real name reaches the greeting/copy, the head links /brand/portal/tokens.css for the kit's colours, and writeLogo renders <img src=\"/brand/portal/logo\">. A live-environment screenshot could not be produced in-sandbox (no browser system libs, per STATUS #1856) and the ticket lands by push (no PR); the branded output is code-proven by the seam test TestIdipJoin_WearsCommunityBrand_LiveOrNeutral.", "A seam test covers two cases — with a landed brand: the name, a logo <img src=\"/brand/portal/logo\">, and a tokens.css link": "internal/controlapi/member_join_idip_integration_test.go: TestIdipJoin_WearsCommunityBrand_LiveOrNeutral asserts the branded join AND waiting pages contain the community name, src=\"/brand/portal/logo\", and href=\"/brand/portal/tokens.css\" — read live per request from the same server after founding (no restart).", "A seam test covers two cases — with none: \"your community\" plus the initials fallback, with no fabricated brand": "same test: the kit-less case asserts the neutral \"your community\" copy and the <span class=\"logo mono\" data-field=\"community-logo\">YC</span> initials tile, and that no src=\"/brand/portal/logo\", no href=\"/brand/portal/tokens.css\", and no fabricated community name appear.", "grep -n '#2E5E4E' internal/controlapi/member_join_idip.go is empty": "verified: exit 1 (no match); idipJoinStyle rewritten onto --oc-accent / --oc-text-on-accent / --oc-background with neutral fallbacks." }, "summary": "The IDIP browser join / waiting surfaces now wear the community's brand kit — live name, logo (/brand/portal/logo) and tokens.css — read per request, resting on neutral copy for a kit-less control plane.", "reason": "", "blockers": [], "no_code_change": "" } ``` </details>

close-report for #1877 — status success

✅ close-report gates passed — every claim verified against main; issue closed.

envelope
{
  "issue": 1877,
  "status": "success",
  "commits": [
    "907a3006"
  ],
  "changed_files": [
    "STATUS.md",
    "control-plane/cmd/control-plane/main.go",
    "docs/ux/wireframes/p6-members-idip/p6-s3i-member-joins.html",
    "docs/ux/wireframes/p6-members-idip/p6-s5-waiting-approval.html",
    "internal/controlapi/member_join_idip.go",
    "internal/controlapi/member_join_idip_integration_test.go"
  ],
  "tests": [
    {
      "command": "nix develop .#go-ci -c go test ./internal/controlapi/",
      "exit_code": 0
    },
    {
      "command": "nix develop .#go-ci -c go build ./internal/controlapi/... ./control-plane/...",
      "exit_code": 0
    },
    {
      "command": "nix develop .#go-ci -c go vet ./internal/controlapi/...",
      "exit_code": 0
    },
    {
      "command": "nix develop .#go-ci -c golangci-lint run ./internal/controlapi/... ./control-plane/...",
      "exit_code": 0
    }
  ],
  "criteria": {
    "On whakatohea-demo, the join page and the waiting page show the WHAKATOHEA DEMO logo, the community name in the greeting and copy, and the kit's colours": "member_join_idip.go: WithIdipMemberJoin now reads a live RefusalBrandSource per request, wired in main.go to productionRefusalBrandSource(apex, communityNameReader(repo)) — a founded community's real name reaches the greeting/copy, the head links /brand/portal/tokens.css for the kit's colours, and writeLogo renders <img src=\"/brand/portal/logo\">. A live-environment screenshot could not be produced in-sandbox (no browser system libs, per STATUS #1856) and the ticket lands by push (no PR); the branded output is code-proven by the seam test TestIdipJoin_WearsCommunityBrand_LiveOrNeutral.",
    "A seam test covers two cases — with a landed brand: the name, a logo <img src=\"/brand/portal/logo\">, and a tokens.css link": "internal/controlapi/member_join_idip_integration_test.go: TestIdipJoin_WearsCommunityBrand_LiveOrNeutral asserts the branded join AND waiting pages contain the community name, src=\"/brand/portal/logo\", and href=\"/brand/portal/tokens.css\" — read live per request from the same server after founding (no restart).",
    "A seam test covers two cases — with none: \"your community\" plus the initials fallback, with no fabricated brand": "same test: the kit-less case asserts the neutral \"your community\" copy and the <span class=\"logo mono\" data-field=\"community-logo\">YC</span> initials tile, and that no src=\"/brand/portal/logo\", no href=\"/brand/portal/tokens.css\", and no fabricated community name appear.",
    "grep -n '#2E5E4E' internal/controlapi/member_join_idip.go is empty": "verified: exit 1 (no match); idipJoinStyle rewritten onto --oc-accent / --oc-text-on-accent / --oc-background with neutral fallbacks."
  },
  "summary": "The IDIP browser join / waiting surfaces now wear the community's brand kit — live name, logo (/brand/portal/logo) and tokens.css — read per request, resting on neutral copy for a kit-less control plane.",
  "reason": "",
  "blockers": [],
  "no_code_change": ""
}
**close-report** for #1877 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; issue closed. <details><summary>envelope</summary> ```json { "issue": 1877, "status": "success", "commits": [ "907a3006" ], "changed_files": [ "STATUS.md", "control-plane/cmd/control-plane/main.go", "docs/ux/wireframes/p6-members-idip/p6-s3i-member-joins.html", "docs/ux/wireframes/p6-members-idip/p6-s5-waiting-approval.html", "internal/controlapi/member_join_idip.go", "internal/controlapi/member_join_idip_integration_test.go" ], "tests": [ { "command": "nix develop .#go-ci -c go test ./internal/controlapi/", "exit_code": 0 }, { "command": "nix develop .#go-ci -c go build ./internal/controlapi/... ./control-plane/...", "exit_code": 0 }, { "command": "nix develop .#go-ci -c go vet ./internal/controlapi/...", "exit_code": 0 }, { "command": "nix develop .#go-ci -c golangci-lint run ./internal/controlapi/... ./control-plane/...", "exit_code": 0 } ], "criteria": { "On whakatohea-demo, the join page and the waiting page show the WHAKATOHEA DEMO logo, the community name in the greeting and copy, and the kit's colours": "member_join_idip.go: WithIdipMemberJoin now reads a live RefusalBrandSource per request, wired in main.go to productionRefusalBrandSource(apex, communityNameReader(repo)) — a founded community's real name reaches the greeting/copy, the head links /brand/portal/tokens.css for the kit's colours, and writeLogo renders <img src=\"/brand/portal/logo\">. A live-environment screenshot could not be produced in-sandbox (no browser system libs, per STATUS #1856) and the ticket lands by push (no PR); the branded output is code-proven by the seam test TestIdipJoin_WearsCommunityBrand_LiveOrNeutral.", "A seam test covers two cases — with a landed brand: the name, a logo <img src=\"/brand/portal/logo\">, and a tokens.css link": "internal/controlapi/member_join_idip_integration_test.go: TestIdipJoin_WearsCommunityBrand_LiveOrNeutral asserts the branded join AND waiting pages contain the community name, src=\"/brand/portal/logo\", and href=\"/brand/portal/tokens.css\" — read live per request from the same server after founding (no restart).", "A seam test covers two cases — with none: \"your community\" plus the initials fallback, with no fabricated brand": "same test: the kit-less case asserts the neutral \"your community\" copy and the <span class=\"logo mono\" data-field=\"community-logo\">YC</span> initials tile, and that no src=\"/brand/portal/logo\", no href=\"/brand/portal/tokens.css\", and no fabricated community name appear.", "grep -n '#2E5E4E' internal/controlapi/member_join_idip.go is empty": "verified: exit 1 (no match); idipJoinStyle rewritten onto --oc-accent / --oc-text-on-accent / --oc-background with neutral fallbacks." }, "summary": "The IDIP browser join / waiting surfaces now wear the community's brand kit — live name, logo (/brand/portal/logo) and tokens.css — read per request, resting on neutral copy for a kit-less control plane.", "reason": "", "blockers": [], "no_code_change": "" } ``` </details>
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Matou/idss#1877
No description provided.