Skip to content

Commit 7c1e45f

Browse files
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: PR
1 parent d6a5a77 commit 7c1e45f

14 files changed

Lines changed: 89 additions & 13 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,13 @@ Under an Upgrading section, the bullets after **Local installs (`sdpm update`).*
2121
scale) work as for `line`. `pptx_to_json` reads a radar chart back as `radar`, so an
2222
edited one is rebuilt from its JSON; a filled radar chart still keeps its `_chartXml`.
2323
New `chart-radar` guide. Local mode and the AWS stack (SdpmRuntime).
24+
- **An SDPM icon.** A slide frame holding a green and an amber face, with a violet block
25+
tilting in over its top-left corner. The Web UI uses it for the logo at the top of the
26+
rail (the mobile top bar too, drawn without a tile and following the dark/light theme),
27+
the favicon (also without a tile, so it fills the browser tab; the SVG favicon follows the
28+
dark/light colour scheme), `icon.svg` and the PWA icons, which were blank squares before.
29+
The Claude Desktop bundle (`sdpm.mcpb`) now carries it as its icon. Web UI
30+
(`deploy_webui.sh`) and the next release's bundle.
2431

2532
### Security
2633

‎scripts/build_mcpb.sh‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ tar -C "$ROOT" \
4646
--exclude='*.pyc' \
4747
-cf - servers/local sdpm shared | tar -C "$STAGE" -xf -
4848
cp "$ROOT/scripts/mcpb/manifest.json" "$STAGE/manifest.json"
49+
cp "$ROOT/scripts/mcpb/icon.png" "$STAGE/icon.png"
4950
cp "$ROOT/scripts/mcpb/.mcpbignore" "$STAGE/.mcpbignore"
5051

5152
# The UV MCPB runtime requires a pyproject.toml at bundle root. Reuse the local

‎scripts/mcpb/icon.png‎

17.2 KB
Loading

‎scripts/mcpb/manifest.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"homepage": "https://github.com/aws-samples/sample-spec-driven-presentation-maker",
1717
"documentation": "https://github.com/aws-samples/sample-spec-driven-presentation-maker/blob/main/docs/en/getting-started.md",
1818
"support": "https://github.com/aws-samples/sample-spec-driven-presentation-maker/issues",
19+
"icon": "icon.png",
1920
"server": {
2021
"type": "uv",
2122
"entry_point": "servers/local/server.py",

‎web-ui/public/favicon.ico‎

21.1 KB
Binary file not shown.

‎web-ui/public/favicon.svg‎

Lines changed: 4 additions & 0 deletions
Loading

‎web-ui/public/icon-192.png‎

5.67 KB
Loading

‎web-ui/public/icon-512.png‎

15 KB
Loading

‎web-ui/public/icon.svg‎

Lines changed: 7 additions & 10 deletions
Loading

‎web-ui/src/app/favicon.ico‎

-25.3 KB
Binary file not shown.

0 commit comments

Comments
 (0)