shell: the in-window marks wear the Mātou bird — title bar + Welcome home (the dock icon alone isn't the brand) #273

Closed
opened 2026-08-02 04:24:26 +00:00 by ben · 2 comments
Owner

What happened

#183 Phase A rehearsal (2026-08-01, Ben, fresh founding rerun at 0c3c27d): the operator app still shows no Mātou bird anywhere the operator actually looks. #257 landed the bird as the window icon only — and on the rehearsal laptop even that surface is invisible: the window is frameless (#256, no titlebar icon slot), the unpackaged launch identifies as generic Electron with no .desktop entry, so GNOME shows the stock Electron icon in the switcher.

In-window today:

  • The #256 title bar's mark (TitleBar.vue) is a plain 12×12 accent square — not the bird.
  • The Welcome/operator-home mark (WelcomeScreen.vue) is the ◈ crossed letter-mark placeholder (faithful to the shell-w-welcome.html wireframe — the wireframe itself never specified the bird; that design gap is why the component has none).
  • NavChrome's brand mark is the community's letter mark — correct, and out of scope here (community brand, not product brand).

What I expected (Ben's QA ruling, 2026-08-02 in session)

The product-brand surfaces inside the window wear the Mātou bird: the title-bar mark and the Welcome home mark render the bird (the artwork already in-repo at app/src-electron/icons/matou-bird.svg, on its --oc-accent ground where a ground is drawn), replacing the accent square and the ◈ placeholder. The community's marks (NavChrome letter mark, founding letter-marks) stay the community's — the ADR 0122 token-split boundary: the language and product brand are Mātou's, the palette and community marks are the community's.

Steps to reproduce

  1. Build and launch the unpackaged production app (docs/operator-app/build-and-run.md).
  2. Look at the title bar and the Welcome / operator home screen.
  3. No bird anywhere; title bar shows a plain teal square, home shows ◈.

Acceptance criteria

  • Given the app is open, When any screen shows, Then the title-bar mark is the Mātou bird (SVG in the renderer, --oc-* token colours only — no raw hex outside the asset)
  • Given the operator home / Welcome (W frame), When it renders pre-founding, Then its large mark is the Mātou bird, and the shell-w-welcome.html wireframe is amended (✎) to match — the wireframe is the contract (ADR 0122)
  • Given a founded community, When NavChrome renders, Then the community letter mark is unchanged
  • Given the appIcon guard test, When the suite runs, Then it still pins the window-icon path AND the new in-window usages resolve the same committed artwork (no second copy of the bird drifting)

Additional context

  • The bird artwork + accent-ground SVG and 256/512 PNGs are committed (#257); scripts/build-app-icon.sh regenerates them.
  • Separate-but-related gap surfaced by the same rehearsal: unpackaged (and any future packaged Linux install) has no .desktop entry / StartupWMClass, so the #257 window icon never shows on GNOME regardless — that belongs to the deferred packaging arc, noted here so it isn't lost.
  • Found in the #183 Phase A rehearsal fresh-founding rerun.
## What happened #183 Phase A rehearsal (2026-08-01, Ben, fresh founding rerun at `0c3c27d`): the operator app still shows no Mātou bird anywhere the operator actually looks. #257 landed the bird as the **window icon** only — and on the rehearsal laptop even that surface is invisible: the window is frameless (#256, no titlebar icon slot), the unpackaged launch identifies as generic `Electron` with no `.desktop` entry, so GNOME shows the stock Electron icon in the switcher. In-window today: - The #256 title bar's mark (`TitleBar.vue`) is a plain 12×12 accent square — not the bird. - The Welcome/operator-home mark (`WelcomeScreen.vue`) is the ◈ crossed letter-mark placeholder (faithful to the `shell-w-welcome.html` wireframe — the wireframe itself never specified the bird; that design gap is why the component has none). - `NavChrome`'s brand mark is the **community's** letter mark — correct, and out of scope here (community brand, not product brand). ## What I expected (Ben's QA ruling, 2026-08-02 in session) The product-brand surfaces inside the window wear the Mātou bird: the title-bar mark and the Welcome home mark render the bird (the artwork already in-repo at `app/src-electron/icons/matou-bird.svg`, on its `--oc-accent` ground where a ground is drawn), replacing the accent square and the ◈ placeholder. The community's marks (NavChrome letter mark, founding letter-marks) stay the community's — the ADR 0122 token-split boundary: the language and product brand are Mātou's, the palette and community marks are the community's. ## Steps to reproduce 1. Build and launch the unpackaged production app (`docs/operator-app/build-and-run.md`). 2. Look at the title bar and the Welcome / operator home screen. 3. No bird anywhere; title bar shows a plain teal square, home shows ◈. ## Acceptance criteria - [ ] Given the app is open, When any screen shows, Then the title-bar mark is the Mātou bird (SVG in the renderer, `--oc-*` token colours only — no raw hex outside the asset) - [ ] Given the operator home / Welcome (W frame), When it renders pre-founding, Then its large mark is the Mātou bird, and the `shell-w-welcome.html` wireframe is amended (✎) to match — the wireframe is the contract (ADR 0122) - [ ] Given a founded community, When NavChrome renders, Then the community letter mark is unchanged - [ ] Given the appIcon guard test, When the suite runs, Then it still pins the window-icon path AND the new in-window usages resolve the same committed artwork (no second copy of the bird drifting) ## Additional context - The bird artwork + accent-ground SVG and 256/512 PNGs are committed (#257); `scripts/build-app-icon.sh` regenerates them. - Separate-but-related gap surfaced by the same rehearsal: unpackaged (and any future packaged Linux install) has **no `.desktop` entry / StartupWMClass**, so the #257 window icon never shows on GNOME regardless — that belongs to the deferred packaging arc, noted here so it isn't lost. - Found in the #183 Phase A rehearsal fresh-founding rerun.
ben self-assigned this 2026-08-02 04:25:29 +00:00
Author
Owner

This was generated by AI during triage.

Triage: verified against the current tree — TitleBar.vue's mark is a plain CSS accent square (.oc-titlebar__mark, background: var(--oc-accent), no artwork), and WelcomeScreen.vue's large mark is the literal ◈ glyph. Neither references the committed bird SVG. No prior work on this issue exists (checked git log, STATUS.md), and it isn't a duplicate of anything in .out-of-scope/. The referenced wireframe (shell-w-welcome.html) exists — this ticket amends it, it doesn't wait on it — so the design gate doesn't block. No judgement calls remain outside normal implementation choices, so this goes straight to ready-for-agent.

Agent Brief

Category: bug
Summary: The title bar and Welcome/operator-home marks show placeholder chrome instead of the Mātou bird, even though the bird artwork is already committed for the window icon.

Current behavior:
The title bar's mark renders as a plain CSS square in the accent colour — no artwork. The Welcome (first-run / nothing-configured) screen's large mark renders the literal ◈ glyph as a placeholder. Both predate the bird artwork landing (window-icon-only, #257). The community brand mark shown elsewhere in the shell chrome (NavChrome, founding letter-marks) is correct as-is and out of scope.

Desired behavior:
Both the title bar's mark and the Welcome screen's large mark render the Mātou bird artwork instead of their current placeholders, painted on the --oc-accent ground wherever a ground is drawn, using --oc-* tokens only (no raw hex outside the source asset itself). Both surfaces resolve the same committed bird artwork — there must not be a second, drifting copy of the asset. The shell-w-welcome.html wireframe is amended so its W frame shows the bird, keeping the wireframe-as-contract rule (ADR 0122) true. The community letter mark (NavChrome) and founding letter-marks are unchanged.

Key interfaces:

  • The title bar's mark element (currently CSS-only, no <svg>) — becomes an inline/asset render of the bird.
  • The Welcome screen's large lettermark element (currently the ◈ glyph) — becomes the same bird render, at the large-mark scale the wireframe's W frame already implies.
  • The bird's source SVG (already committed and consumed by the window-icon build step) should be the single asset both the icon build and these two in-window renders resolve — not a second inlined/duplicated copy.
  • The existing window-icon guard test (source + asset pinning shape) is a precedent worth following for a guard that pins both in-window usages to that same source asset, so a future edit can't silently fork it.

Acceptance criteria:

  • Given the app is open, when any screen shows, then the title-bar mark is the Mātou bird (SVG in the renderer, --oc-* token colours only — no raw hex outside the asset)
  • Given the operator home / Welcome (W frame), when it renders pre-founding, then its large mark is the Mātou bird, and shell-w-welcome.html is amended to match
  • Given a founded community, when NavChrome renders, then the community letter mark is unchanged
  • Given the icon/mark guard suite, when it runs, then it still pins the window-icon path AND asserts the new in-window usages resolve the same committed artwork (no second copy drifting)

Out of scope:

  • NavChrome's community letter mark and founding letter-marks (community brand, not product brand — ADR 0122 token-split boundary)
  • The missing .desktop entry / StartupWMClass gap (separate, deferred packaging-arc problem noted in the issue for tracking only)
  • Packaging proper (installer icons, .icns/.ico) — unrelated to in-window marks
> *This was generated by AI during triage.* **Triage:** verified against the current tree — `TitleBar.vue`'s mark is a plain CSS accent square (`.oc-titlebar__mark`, `background: var(--oc-accent)`, no artwork), and `WelcomeScreen.vue`'s large mark is the literal ◈ glyph. Neither references the committed bird SVG. No prior work on this issue exists (checked `git log`, `STATUS.md`), and it isn't a duplicate of anything in `.out-of-scope/`. The referenced wireframe (`shell-w-welcome.html`) exists — this ticket amends it, it doesn't wait on it — so the design gate doesn't block. No judgement calls remain outside normal implementation choices, so this goes straight to `ready-for-agent`. ## Agent Brief **Category:** bug **Summary:** The title bar and Welcome/operator-home marks show placeholder chrome instead of the Mātou bird, even though the bird artwork is already committed for the window icon. **Current behavior:** The title bar's mark renders as a plain CSS square in the accent colour — no artwork. The Welcome (first-run / nothing-configured) screen's large mark renders the literal `◈` glyph as a placeholder. Both predate the bird artwork landing (window-icon-only, #257). The community brand mark shown elsewhere in the shell chrome (NavChrome, founding letter-marks) is correct as-is and out of scope. **Desired behavior:** Both the title bar's mark and the Welcome screen's large mark render the Mātou bird artwork instead of their current placeholders, painted on the `--oc-accent` ground wherever a ground is drawn, using `--oc-*` tokens only (no raw hex outside the source asset itself). Both surfaces resolve the *same* committed bird artwork — there must not be a second, drifting copy of the asset. The `shell-w-welcome.html` wireframe is amended so its W frame shows the bird, keeping the wireframe-as-contract rule (ADR 0122) true. The community letter mark (NavChrome) and founding letter-marks are unchanged. **Key interfaces:** - The title bar's mark element (currently CSS-only, no `<svg>`) — becomes an inline/asset render of the bird. - The Welcome screen's large lettermark element (currently the `◈` glyph) — becomes the same bird render, at the large-mark scale the wireframe's W frame already implies. - The bird's source SVG (already committed and consumed by the window-icon build step) should be the single asset both the icon build and these two in-window renders resolve — not a second inlined/duplicated copy. - The existing window-icon guard test (source + asset pinning shape) is a precedent worth following for a guard that pins both in-window usages to that same source asset, so a future edit can't silently fork it. **Acceptance criteria:** - [ ] Given the app is open, when any screen shows, then the title-bar mark is the Mātou bird (SVG in the renderer, `--oc-*` token colours only — no raw hex outside the asset) - [ ] Given the operator home / Welcome (W frame), when it renders pre-founding, then its large mark is the Mātou bird, and `shell-w-welcome.html` is amended to match - [ ] Given a founded community, when NavChrome renders, then the community letter mark is unchanged - [ ] Given the icon/mark guard suite, when it runs, then it still pins the window-icon path AND asserts the new in-window usages resolve the same committed artwork (no second copy drifting) **Out of scope:** - NavChrome's community letter mark and founding letter-marks (community brand, not product brand — ADR 0122 token-split boundary) - The missing `.desktop` entry / `StartupWMClass` gap (separate, deferred packaging-arc problem noted in the issue for tracking only) - Packaging proper (installer icons, `.icns`/`.ico`) — unrelated to in-window marks
Author
Owner

Landed on origin/main as 37c984a.

The in-window product-brand surfaces now wear the Mātou bird:

  • Title bar (TitleBar.vue): the plain --oc-accent square is now the bird <img> — the artwork carries its own accent ground, so the component adds no colour and stays hex-free (issue #136 scan).
  • Welcome / operator home (WelcomeScreen.vue): the ◈ letter-mark placeholder is now the bird at large-mark scale (data-field="brand-mark").
  • Both marks import one shared module app/src/lib/brandMark.ts, which re-exports the same committed app/src-electron/icons/matou-bird.svg the window icon composits from — the renderer build emits a single hashed asset (matou-bird-*.svg), so no second copy can drift.
  • NavChrome + founding letter-marks untouched — community brand, ADR 0122 token-split boundary.
  • docs/ux/wireframes/shell/shell-w-welcome.html amended (✎) so the W frame shows the bird — the wireframe is the contract.

Acceptance:

  1. ✅ title-bar mark is the bird SVG, --oc-* tokens only (no raw hex outside the asset).
  2. ✅ Welcome large mark is the bird; wireframe amended to match.
  3. ✅ NavChrome community letter mark unchanged (not touched).
  4. ✅ appIcon.test.ts still pins the window-icon path and now pins both in-window usages to the one committed artwork (no forked .svg under src/).

Guards: appIcon.test.ts (+3), titleBar.test.ts, welcome.test.ts. App vitest suite green (595 pass; boot.test.ts skips need go on PATH — CI-only). vue-tsc + renderer build clean.

Deferred (already noted in the issue): the missing .desktop / StartupWMClass entry — the window icon never shows on GNOME regardless — belongs to the packaging arc.

Landed on `origin/main` as `37c984a`. The in-window product-brand surfaces now wear the Mātou bird: - **Title bar** (`TitleBar.vue`): the plain `--oc-accent` square is now the bird `<img>` — the artwork carries its own accent ground, so the component adds no colour and stays hex-free (issue #136 scan). - **Welcome / operator home** (`WelcomeScreen.vue`): the ◈ letter-mark placeholder is now the bird at large-mark scale (`data-field="brand-mark"`). - Both marks import one shared module `app/src/lib/brandMark.ts`, which re-exports the **same** committed `app/src-electron/icons/matou-bird.svg` the window icon composits from — the renderer build emits a single hashed asset (`matou-bird-*.svg`), so no second copy can drift. - **NavChrome + founding letter-marks untouched** — community brand, ADR 0122 token-split boundary. - `docs/ux/wireframes/shell/shell-w-welcome.html` amended (✎) so the W frame shows the bird — the wireframe is the contract. **Acceptance:** 1. ✅ title-bar mark is the bird SVG, `--oc-*` tokens only (no raw hex outside the asset). 2. ✅ Welcome large mark is the bird; wireframe amended to match. 3. ✅ NavChrome community letter mark unchanged (not touched). 4. ✅ `appIcon.test.ts` still pins the window-icon path **and** now pins both in-window usages to the one committed artwork (no forked `.svg` under `src/`). Guards: `appIcon.test.ts` (+3), `titleBar.test.ts`, `welcome.test.ts`. App vitest suite green (595 pass; `boot.test.ts` skips need `go` on PATH — CI-only). `vue-tsc` + renderer build clean. Deferred (already noted in the issue): the missing `.desktop` / `StartupWMClass` entry — the window icon never shows on GNOME regardless — belongs to the packaging arc.
ben closed this issue 2026-08-02 07:54:19 +00:00
Sign in to join this conversation.
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.

Dependencies

No dependencies set.

Reference
Matou/idss#273
No description provided.