shell: app icon — Matou bird logo on the primary-colour background #257

Closed
opened 2026-08-02 00:01:02 +00:00 by ben · 2 comments
Owner

What's wrong

The operator app has no icon of its own — the window/taskbar shows the default Electron icon, and no packaging config or icon asset exists anywhere in the repo.

What I expected

The build carries an app icon: the Matou bird logo on the primary-colour background (the Mātou teal accent). It should show as the window/taskbar icon when running, and ride the packaged app when packaging lands.

Steps to reproduce

  1. Launch the operator app.
  2. Observe the taskbar/window icon: stock Electron.

Additional context

matou-app is the precedent: it sets a window icon from an icons directory carried beside the app resources. Source the bird-logo artwork from matou-app's assets (or the Matou brand assets) and generate the icon set (at minimum 256×256 PNG for the Linux window icon); if the bird-logo source artwork cannot be found in either repo, stop and ask — do not redraw it. Packaging proper (installer, .icns/.ico) remains later work per the app's packaging notes; this ticket is the icon asset + wiring the window icon now, packaged icon when packaging lands.

Reported during the #183 Phase A rehearsal.

## What's wrong The operator app has no icon of its own — the window/taskbar shows the default Electron icon, and no packaging config or icon asset exists anywhere in the repo. ## What I expected The build carries an app icon: the **Matou bird logo on the primary-colour background** (the Mātou teal accent). It should show as the window/taskbar icon when running, and ride the packaged app when packaging lands. ## Steps to reproduce 1. Launch the operator app. 2. Observe the taskbar/window icon: stock Electron. ## Additional context matou-app is the precedent: it sets a window icon from an icons directory carried beside the app resources. Source the bird-logo artwork from matou-app's assets (or the Matou brand assets) and generate the icon set (at minimum 256×256 PNG for the Linux window icon); if the bird-logo source artwork cannot be found in either repo, stop and ask — do not redraw it. Packaging proper (installer, .icns/.ico) remains later work per the app's packaging notes; this ticket is the icon asset + wiring the window icon now, packaged icon when packaging lands. Reported during the #183 Phase A rehearsal.
Author
Owner

Blocked-run decision (asked + answered in Mattermost thread):

Q: The ticket says to source the bird-logo artwork from matou-app or the Matou brand assets and to stop-and-ask if it cannot be found. From this sandbox matou-app is not checked out and the ourcloud repo carries no image assets at all — where should I source the bird logo?

A (Ben): The logo is at matou-app/frontend/src/assets/images/matou-bird-logo-grey.svg.

Resolved: Matou/matou-app is a sibling Forgejo repo; fetched matou-bird-logo-grey.svg from it via the API (not redrawn) and composited it onto the primary-colour (--oc-accent teal) ground.

**Blocked-run decision (asked + answered in Mattermost thread):** **Q:** The ticket says to source the bird-logo artwork from matou-app or the Matou brand assets and to stop-and-ask if it cannot be found. From this sandbox matou-app is not checked out and the ourcloud repo carries no image assets at all — where should I source the bird logo? **A (Ben):** The logo is at `matou-app/frontend/src/assets/images/matou-bird-logo-grey.svg`. Resolved: `Matou/matou-app` is a sibling Forgejo repo; fetched `matou-bird-logo-grey.svg` from it via the API (not redrawn) and composited it onto the primary-colour (`--oc-accent` teal) ground.
Author
Owner

Done in e110357 (on origin/main).

The operator app now ships its own window icon: the Mātou bird logo composited onto the primary-colour (--oc-accent teal) ground. The bird artwork was fetched from the sibling Matou/matou-app repo (frontend/src/assets/images/matou-bird-logo-grey.svg, the path Ben confirmed in the ask-human thread) — not redrawn — and composited in app/src-electron/icons/matou-bird.svg, rasterised to 256×256 + 512×512 PNGs via scripts/build-app-icon.sh.

electron-main hands BrowserWindow a nativeImage window icon (matou-app's precedent), resolving resourcesPath/icons/256x256.png when packaged (ADR 0040, beside the helper/payload) and the src-electron/icons source in dev. Packaged installers (.icns/.ico) remain later work per PACKAGING.md.

Guard: app/tests/unit/appIcon.test.ts (the #233 boot-guard shape) pins the asset (real ≥256×256 PNG), the primary-colour ground (rect fill == the --oc-accent token), and the window-icon wiring. Full app suite green (573 pass, incl. the boot seam under nix develop .#go-ci); vue-tsc + main-bundle build clean.

Done in e110357 (on origin/main). The operator app now ships its own window icon: the Mātou bird logo composited onto the primary-colour (`--oc-accent` teal) ground. The bird artwork was fetched from the sibling `Matou/matou-app` repo (`frontend/src/assets/images/matou-bird-logo-grey.svg`, the path Ben confirmed in the ask-human thread) — not redrawn — and composited in `app/src-electron/icons/matou-bird.svg`, rasterised to 256×256 + 512×512 PNGs via `scripts/build-app-icon.sh`. `electron-main` hands `BrowserWindow` a `nativeImage` window icon (matou-app's precedent), resolving `resourcesPath/icons/256x256.png` when packaged (ADR 0040, beside the helper/payload) and the `src-electron/icons` source in dev. Packaged installers (.icns/.ico) remain later work per `PACKAGING.md`. Guard: `app/tests/unit/appIcon.test.ts` (the #233 boot-guard shape) pins the asset (real ≥256×256 PNG), the primary-colour ground (rect fill == the `--oc-accent` token), and the window-icon wiring. Full app suite green (573 pass, incl. the boot seam under `nix develop .#go-ci`); vue-tsc + main-bundle build clean.
ben closed this issue 2026-08-02 01:13:01 +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#257
No description provided.