Skip to content

fix: use the brand mark as the app icon - #3

Merged
jaspermayone merged 2 commits into
mainfrom
fix-icon
Nov 9, 2026
Merged

jaspermayone merged 2 commits into
mainfrom
fix-icon

Conversation

@jaspermayone

Copy link
Copy Markdown
Member

What

  • public/icon.svg: the Stash brand mark from shared/_brand_mark (the amber fabric stack), in place of the boxcar red circle. The layout uses it as the favicon.
  • public/icon.png: the same mark on an opaque cream rounded square, scaled into the central 70% of a 512 px canvas. Weave's launcher shows launcher_icon_url in a round .avatar with object-fit: cover, so a transparent edge-to-edge image gets clipped and tinted there. Register https://stash.patchworklabs.org/icon.png?v=2 on the Stash app in Weave.
  • Layout: ?v=2 on the icon links, because every file in public/ gets a one year cache header and the placeholder had the same names. A PNG rel=icon and apple-touch-icon for Safari, which does not use an SVG favicon.
  • app/views/pwa/ removed: no route served the manifest or the service worker, and the manifest still described the red placeholder.

Checks

  • herb lint and formatter: clean.
  • CI=1 bin/rails test: 59 runs, 0 failures.
  • Adversarial review (Claude) on the first commit found the launcher clipping, the cache header, the stale manifest and the Safari gap. The second commit fixes all four.

@jaspermayone
jaspermayone merged commit 616622e into main Nov 9, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant