Customer branding: CI colour frame, logo and admin notice from the registry #1086

Open
opened 2026-11-30 22:04:37 +00:00 by sharang · 0 comments
Owner

Prüfwerk's part of tenant-registry#155 (Sharang, 30.11.): the customer's main CI colour frames every page ("Rahmen rundum") and their logo sits in the sidebar. Our own Breakpilot CI stays unchanged. Mockup (approved): https://claude.ai/artifact/N2mSgu4GaJ4CuRHPfzm9Bh, board 1 with "Rahmen rundum".

  • Agent:
    • read branding {color, logo_etag, notice} from the entitlements check it already caches per tenant;
    • serve the logo on its own origin at GET /api/v1/branding/logo, proxied from the registry and cached by ETag;
    • pass "Passt" on to the registry (POST …/branding/ack), for workspace admins only.
  • Dashboard:
    • a --brand-frame CSS variable and a 6 px frame around the app when a colour is set;
    • the customer logo above "Prüfwerk" in the sidebar, or initials while there is no logo;
    • the one-time notice "Logo und Farbe von übernommen – Passt / Ändern", for workspace admins only. "Ändern" opens the portal's Erscheinungsbild page.
  • Unchanged: buttons, links and the menu keep --accent; severity and status colours keep theirs; "Prüfwerk von Breakpilot" stays.
  • No branding (no colour, the registry unreachable, or an older registry): no frame, the same look as today.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9

Prüfwerk's part of tenant-registry#155 (Sharang, 30.11.): the customer's main CI colour frames every page ("Rahmen rundum") and their logo sits in the sidebar. Our own Breakpilot CI stays unchanged. Mockup (approved): https://claude.ai/artifact/N2mSgu4GaJ4CuRHPfzm9Bh, board 1 with "Rahmen rundum". - **Agent:** - read `branding {color, logo_etag, notice}` from the entitlements check it already caches per tenant; - serve the logo on its own origin at `GET /api/v1/branding/logo`, proxied from the registry and cached by ETag; - pass "Passt" on to the registry (`POST …/branding/ack`), for workspace admins only. - **Dashboard:** - a `--brand-frame` CSS variable and a 6 px frame around the app when a colour is set; - the customer logo above "Prüfwerk" in the sidebar, or initials while there is no logo; - the one-time notice "Logo und Farbe von <domain> übernommen – Passt / Ändern", for workspace admins only. "Ändern" opens the portal's Erscheinungsbild page. - **Unchanged:** buttons, links and the menu keep `--accent`; severity and status colours keep theirs; "Prüfwerk von Breakpilot" stays. - **No branding** (no colour, the registry unreachable, or an older registry): no frame, the same look as today. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: platform/pruefwerk#1086