Skip to content

feat(web): show Potluck site name and bowl logo in search results - #46

Merged
musa-kal merged 2 commits into
mainfrom
feat/search-name-and-icon
Nov 17, 2026
Merged

musa-kal merged 2 commits into
mainfrom
feat/search-name-and-icon

Conversation

@musa-kal

Copy link
Copy Markdown
Member

Intent

Musa wants Potluck (potluck.fermulate.com) to show a proper site name and a logo in Google search results instead of just the bare domain and a generic globe icon. The logo must be the little bowl (PotMark) used at the top left of the app, so favicon.svg is now exactly that bowl (same paths as apps/web/src/features/shell/brand.tsx PotMark, light colors with a prefers-color-scheme dark variant inside the SVG), replacing the old bowl-on-dark-tile favicon. Added favicon.ico (16/32/48, since Google wants a favicon that is a multiple of 48px) with a link tag (sizes 32x32 so browsers keep preferring the SVG), and added it to the PWA includeAssets. Added schema.org WebSite JSON-LD to index.html (name Potluck, alternateName Potluck by Fermulate, url from VITE_APP_URL, publisher Fermulate) because that is what Google uses for the site name line. Deliberately unchanged: the <title>, the PWA install icons (pwa-*.png, apple-touch-icon, icon.svg) and the manifest. The PR should request Ferrin-Y and noorelmosrati as reviewers and carry a Credits line naming all three co-founders (Musa directed it); commits already carry Co-authored-by trailers for Ferrin and Noor per Potluck decision D10. No AI attribution anywhere.

What Changed

  • favicon.svg is now the PotMark bowl from the app header (same paths as brand.tsx, light colors plus a prefers-color-scheme: dark variant), replacing the bowl-on-dark-tile icon. A new favicon.ico (16/32/48) is linked with sizes="32x32" so browsers still prefer the SVG, and it is added to the PWA includeAssets.
  • index.html adds schema.org WebSite JSON-LD (name Potluck, alternateName Potluck by Fermulate, url from %VITE_APP_URL%, publisher Fermulate) so Google can show a site name instead of the bare domain.
  • docs/development.md notes that VITE_APP_URL also feeds the site name JSON-LD. The <title>, manifest and PWA install icons are unchanged.

Credits: Musa Kaleem (directed), Ferrin-Y, noorelmosrati.

Risk Assessment

✅ Low: These are static asset and head-markup changes only. The favicon.svg paths and colors match PotMark and the light and dark tokens exactly. The ICO holds valid 16, 32 and 48 px entries. Vite fills in the JSON-LD URL the same way as the existing og:url, and the title, manifest and PWA icons are unchanged, as the intent requires.

Testing

I ran vite build with a production-like VITE_APP_URL, served the output with vite preview on port 4391, and drove it in Playwright Chromium under light and dark color schemes. I parsed the served JSON-LD and decoded the ICO header and the sw.js precache list. To compare icons, I took the PotMark SVG from the live app header with its CSS variables resolved and drew it and favicon.svg at 128 px on a canvas: 0 pixels differed in both schemes. Screenshots of the comparison sheets and of the app header are saved. The preview server was stopped (an orphaned node child was killed and port 4391 is free) and apps/web/dist was removed. Two things are untested: Google search output, and which favicon a real browser tab chooses.

  • Live validation: ✅ go - 6 of 8 scenarios driven live against the product
Scenario Result Live Evidence
Crawler loads the production-built home page (local vite preview, VITE_APP_URL=https://potluck.fermulate.com) and finds a single valid schema.org WebSite JSON-LD with name Potluck, alternateName Potlu… ✅ pass live browser-check.json (ldjson read from the live DOM and JSON.parse'd), dist-check.txt
favicon.svg served by the app is exactly the PotMark bowl from the top-left header, with light colors in light mode and the dark variant under prefers-color-scheme: dark ✅ pass live icons-light.png, icons-dark.png, browser-check.json diff-light/diff-dark
favicon.ico is served as image/x-icon with 16, 32 and 48 px frames (48 is a multiple of 48 for Google) and shows the same bowl ✅ pass live browser-check.json (/favicon.ico 200 image/x-icon, 15086 bytes), dist-check.txt (ICO directory: 3 frames 16/32/48 at 32bpp), icons-light.png favicon.ico row
Page head declares favicon.ico with sizes=32x32 before the SVG icon link, and the offline PWA precaches favicon.ico ✅ pass live browser-check.json iconLinks; dist-check.txt sw precache favicon.ico true
Deliberately unchanged: <title> is still Potluck, the served manifest still points at pwa-192/512.png and icon.svg, and the install icons are byte-identical to the base commit ✅ pass live browser-check.json title, manifest-served.json, curl 200 for every manifest icon, git diff --quiet on pwa-*.png/apple-touch-icon.png/icon.svg
Commit carries Co-authored-by trailers for Ferrin and Noor and no AI attribution ✅ pass live git log -1 57d5296; grep of the diff for claude/anthropic/generated with: none
A real browser tab prefers the SVG favicon over favicon.ico ⏸️ untested no Headless Chromium has no tab strip, and neither Playwright nor CDP reports which favicon the browser chose. Only the link markup (ico sizes=32x32, SVG with no sizes) was checked. Confirming this needs…
Google search results for potluck.fermulate.com show the site name Potluck and the bowl favicon ⏸️ untested no This needs the change deployed to production and recrawled by Google, plus access to Google Search Console or Rich Results Test on the real domain. Deploying is outside this phase, and sending the sit…

Light scheme: served favicon.svg vs live app PotMark vs favicon.ico

Dark scheme: served favicon.svg (dark variant) vs live app PotMark vs favicon.ico

App header with PotMark (light)

App header with PotMark (dark)

Evidence: Browser check: served JSON-LD, icon links, favicon responses, pixel diff results
{
  "url": "http://localhost:4391/",
  "title": "Potluck",
  "ldjson": [
    {
      "@context": "https://schema.org",
      "@type": "WebSite",
      "name": "Potluck",
      "alternateName": "Potluck by Fermulate",
      "url": "https://potluck.fermulate.com/",
      "publisher": {
        "@type": "Organization",
        "name": "Fermulate",
        "url": "https://fermulate.com/"
      }
    }
  ],
  "iconLinks": [
    {
      "href": "http://localhost:4391/favicon.ico",
      "type": "",
      "sizes": "32x32"
    },
    {
      "href": "http://localhost:4391/favicon.svg",
      "type": "image/svg+xml",
      "sizes": null
    }
  ],
  "/favicon.svg": {
    "status": 200,
    "type": "image/svg+xml",
    "bytes": 914
  },
  "/favicon.ico": {
    "status": 200,
    "type": "image/x-icon",
    "bytes": 15086
  },
  "potmark-light-found": true,
  "diff-light": {
    "differingPixels": 0,
    "opaquePixels": 5085,
    "maxChannelDelta": 0,
    "bowlCenter": [
      232,
      73,
      47,
      255
    ],
    "knob": [
      245,
      181,
      61,
      255
    ],
    "lid": [
      29,
      26,
      22,
      255
    ],
    "cornerAlpha": 0
  },
  "potmark-dark-found": true,
  "diff-dark": {
    "differingPixels": 0,
    "opaquePixels": 5085,
    "maxChannelDelta": 0,
    "bowlCenter": [
      255,
      106,
      77,
      255
    ],
    "knob": [
      255,
      198,
      92,
      255
    ],
    "lid": [
      246,
      239,
      227,
      255
    ],
    "cornerAlpha": 0
  }
}
Evidence: Built dist check: JSON-LD, ICO frames, SW precache

JSON-LD: {"@context":"https://schema.org&#34;,&#34;@type&#34;:&#34;WebSite&#34;,&#34;name&#34;:&#34;Potluck&#34;,&#34;alternateName&#34;:&#34;Potluck by Fermulate","url":"https://potluck.fermulate.com/&#34;,&#34;publisher&#34;:{&#34;@type&#34;:&#34;Organization&#34;,&#34;name&#34;:&#34;Fermulate&#34;,&#34;url&#34;:&#34;https://fermulate.com/&#34;}}&#10;title: Potluck ico frames: 16x16, 32x32, 48x48 (32bpp) sw precache favicon.ico true, favicon.svg true

ld+json blocks: 1
JSON-LD: {"@context":"https://schema.org","@type":"WebSite","name":"Potluck","alternateName":"Potluck by Fermulate","url":"https://potluck.fermulate.com/","publisher":{"@type":"Organization","name":"Fermulate","url":"https://fermulate.com/"}}
title: Potluck
icon links: <link rel="icon" href="/favicon.ico" sizes="32x32" /> | <link rel="icon" type="image/svg+xml" href="/favicon.svg" /> | <link rel="apple-touch-icon" href="/apple-touch-icon.png" />
ico header reserved/type/count: 0 1 3 
  16x16 bpp=32 bytes=1128 off=54 png=false
  32x32 bpp=32 bytes=4264 off=1182 png=false
  48x48 bpp=32 bytes=9640 off=5446 png=false
sw precache favicon.ico true
sw precache favicon.svg true
sw precache icon.svg true
sw precache apple-touch-icon.png true
sw precache manifest.webmanifest true
Evidence: Served web manifest (unchanged)
{"name":"Potluck","short_name":"Potluck","description":"Split expenses and plan group events.","start_url":"/home","display":"standalone","background_color":"#fbf5ea","theme_color":"#1d1a16","lang":"en","scope":"/","id":"/","categories":["finance","lifestyle","social"],"icons":[{"src":"pwa-192x192.png","sizes":"192x192","type":"image/png","purpose":"any"},{"src":"pwa-512x512.png","sizes":"512x512","type":"image/png","purpose":"any"},{"src":"pwa-512x512.png","sizes":"512x512","type":"image/png","purpose":"maskable"},{"src":"icon.svg","sizes":"any","type":"image/svg+xml","purpose":"any"}],"shortcuts":[{"name":"Add expense","url":"/new/expense","icons":[{"src":"pwa-192x192.png","sizes":"192x192"}]},{"name":"Plan something","url":"/new/plan","icons":[{"src":"pwa-192x192.png","sizes":"192x192"}]}]}

Pipeline

Updates from git push no-mistakes

✅ **Intent** - passed

✅ No issues found.

✅ **Rebase** - passed

✅ No issues found.

✅ **Review** - passed

✅ No issues found.

✅ **Test** - passed

✅ No issues found.

  • Live validation: ✅ go - 6 of 8 scenarios driven live against the product
Scenario Result Live Evidence
Crawler loads the production-built home page (local vite preview, VITE_APP_URL=https://potluck.fermulate.com) and finds a single valid schema.org WebSite JSON-LD with name Potluck, alternateName Potlu… ✅ pass live browser-check.json (ldjson read from the live DOM and JSON.parse'd), dist-check.txt
favicon.svg served by the app is exactly the PotMark bowl from the top-left header, with light colors in light mode and the dark variant under prefers-color-scheme: dark ✅ pass live icons-light.png, icons-dark.png, browser-check.json diff-light/diff-dark
favicon.ico is served as image/x-icon with 16, 32 and 48 px frames (48 is a multiple of 48 for Google) and shows the same bowl ✅ pass live browser-check.json (/favicon.ico 200 image/x-icon, 15086 bytes), dist-check.txt (ICO directory: 3 frames 16/32/48 at 32bpp), icons-light.png favicon.ico row
Page head declares favicon.ico with sizes=32x32 before the SVG icon link, and the offline PWA precaches favicon.ico ✅ pass live browser-check.json iconLinks; dist-check.txt sw precache favicon.ico true
Deliberately unchanged: <title> is still Potluck, the served manifest still points at pwa-192/512.png and icon.svg, and the install icons are byte-identical to the base commit ✅ pass live browser-check.json title, manifest-served.json, curl 200 for every manifest icon, git diff --quiet on pwa-*.png/apple-touch-icon.png/icon.svg
Commit carries Co-authored-by trailers for Ferrin and Noor and no AI attribution ✅ pass live git log -1 57d5296; grep of the diff for claude/anthropic/generated with: none
A real browser tab prefers the SVG favicon over favicon.ico ⏸️ untested no Headless Chromium has no tab strip, and neither Playwright nor CDP reports which favicon the browser chose. Only the link markup (ico sizes=32x32, SVG with no sizes) was checked. Confirming this needs…
Google search results for potluck.fermulate.com show the site name Potluck and the bowl favicon ⏸️ untested no This needs the change deployed to production and recrawled by Google, plus access to Google Search Console or Rich Results Test on the real domain. Deploying is outside this phase, and sending the sit…
  • pnpm install --frozen-lockfile
  • VITE_APP_URL=https://potluck.fermulate.com pnpm exec vite build (apps/web, exit 0)
  • node check-dist.mjs dist: parse JSON-LD from built index.html, decode favicon.ico directory, check sw.js precache entries
  • vite preview --port 4391 plus node drive.cjs (Playwright Chromium, colorScheme light and dark): DOM JSON-LD, icon link tags, served favicon status and content-type, canvas pixel diff of favicon.svg against the live app PotMark at 128px, screenshots
  • curl /manifest.webmanifest plus a fetch of every manifest icon, apple-touch-icon and icon.svg (all 200)
  • git diff --quiet 2de3e2c 57d5296 -- apps/web/public/pwa-*.png apple-touch-icon.png icon.svg (byte-identical)
  • git log -1 --format=%an%n%B 57d5296 and an attribution grep over the diff
✅ **Document** - passed

✅ No issues found.

✅ **Lint** - passed

✅ No issues found.

✅ **Push** - passed

✅ No issues found.

@musa-kal
musa-kal merged commit 480002d into main Nov 17, 2026
7 checks passed
@musa-kal
musa-kal deleted the feat/search-name-and-icon branch November 17, 2026 03:39

This branch was successfully deployed

1 active deployment
preview — 06c9b170 Deployed Nov 17, 2026 by musa-kal via Deploy web to Cloudflare #127
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