Repository navigation
Commit 7c1e45f
authored
feat(icon): an SDPM icon for the Web UI, the favicon, the PWA and the Claude Desktop bundle (#658)
* ✨ feat(icon): new SDPM app icon for icon.svg, the PWA PNGs and favicon.ico
The mark: a 16:9 slide frame holding a green and an amber face, with a
violet block breaking out over the top-left corner, tilted, about to drop
into its faint-violet slot. Dark rounded tile (rx 112, #1d1f2a → #0f1016).
- web-ui/public/icon.svg: the chosen 512 viewBox design
- icon-192.png / icon-512.png: rendered from icon.svg with rsvg-convert
(they were blank dark squares before)
- src/app/favicon.ico: 16/32/48/256 (256 as PNG), each size rendered from
icon.svg with rsvg-convert, packed with magick
Checked: magick identify (192x192, 512x512; ICO 16/32/48/256), stddev
0.23–0.28 per image (not flat), and viewed the 512, 192, 256 and the
16/32 frames enlarged: frame, violet block, green and amber faces visible.
manifest.json is unchanged (same paths and sizes).
* ✨ feat(icon): the rail and mobile top-bar logo draw the SDPM mark
AppShell's logo was lucide Layers on the five-agent --team-gradient tile
with a card shadow. It is now the new mark without a tile (SdpmMark.tsx):
32px in the 36px desktop slot, 22px in the 24px mobile slot.
- SdpmMark.tsx: inline 24-viewBox SVG, same geometry as public/icon.svg;
the mask id comes from useId (sanitised) so several instances never clash
- globals.css: --mark-frame / -visual / -content / -data / -slot-opacity,
dark values in :root, darker versions of the same hues under
[data-theme="light"], so the mark switches with the theme in CSS
- No user-facing strings changed (the link keeps its aria-label)
Checked in web-ui: npx tsc --noEmit OK, npx eslint src/ --quiet OK,
npm test 128 files / 1507 tests passed (first run had one timing failure
in ChatPanel.local.test.tsx "saves a period replayed in one chunk",
unrelated; it passed alone and on the full rerun), npm run build:cloud OK
(build/ has icon.svg, icon-192/512.png, favicon.ico, manifest.json).
Rendered the mark with both token sets at 256px and viewed it on the dark
(#1a1a1c) and light (#f8f7f2) page colours.
* ✨ feat(mcpb): give the Claude Desktop bundle the SDPM icon
- scripts/mcpb/icon.png: 512×512, rendered from web-ui/public/icon.svg
with rsvg-convert (byte-identical to web-ui/public/icon-512.png)
- scripts/mcpb/manifest.json: "icon": "icon.png"
- scripts/build_mcpb.sh: copy icon.png into the staging root next to
manifest.json. release.yml runs this script, so no workflow change
Checked: bash scripts/build_mcpb.sh --skip-assets exit 0; mcpb 2.1.2
validate "Manifest schema validation passes!" and "Icon validation
passed"; unzip -l dist/sdpm.mcpb lists icon.png (17568 B) and
manifest.json at the root, the packed manifest has "icon": "icon.png",
and the packed icon.png is byte-identical to scripts/mcpb/icon.png.
* 📝 docs(changelog): note the SDPM icon under Unreleased
* ✨ feat(icon): a tile-free favicon that fills the tab and follows the colour scheme
SPEC: 20261118-1209_sdpm-icon
Progress: favicon.svg (dark/light via prefers-color-scheme) + favicon.ico fallback in the light colours, declared so Chrome prefers the SVG; app icon, PWA and mcpb keep the tile
Next: user review
* 📚 docs(changelog): move the SDPM icon entry to Unreleased after the v0.18.0 rebase
SPEC: 20261118-1209_sdpm-icon
Progress: the rebase left the entry under 0.18.0
Next: PR1 parent d6a5a77 commit 7c1e45f
14 files changed
Lines changed: 89 additions & 13 deletions
File tree
- scripts
- mcpb
- web-ui
- public
- src
- app
- components
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
24 | 31 | | |
25 | 32 | | |
26 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| |||
Loading
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
Binary file not shown.
Loading
Loading
Loading
Loading
Binary file not shown.
0 commit comments