The banner is not wanted on the page. Remove ui/install-tip.js, its container in
index.html, the startup call, the .notice styles and the PRECACHE entry; keep the
documented fact (install from Chrome) in AGENTS.md/README instead.
VERSION 2026.11.24.7. Verified with a SamsungBrowser UA at 360px: no banner, no
.notice nodes, hero follows the header, installabilityErrors [].
The 'privacy' refusal on the S23 is Google Play Protect blocking the WebAPK that
Samsung Internet mints (old targetSdkVersion) — a browser-side bug that also hits
other PWAs; Chrome on the same device installs fine. So:
- ui/install-tip.js: detect Samsung Internet on Android and offer the same URL in
Chrome (intent:// link, copy-link fallback, dismissable, remembered)
- ui/views/privacy.js + #/privacy route + footer link: Thai privacy policy (what is
stored locally, no cookies/analytics/third-party scripts, how to delete)
- server/publish.mjs: CSP (script-src 'self', style-src 'self' 'unsafe-inline'),
Referrer-Policy, Permissions-Policy, X-Content-Type-Options on every response
- ui/boot-motion.js: the head inline script moved out so CSP can forbid inline JS
- ui/data.js: admin publish token now lives in sessionStorage (was localStorage)
- theme.css: .notice / .legal components (44px targets), DESIGN.md + README + AGENTS
Verified: installabilityErrors [], fonts load under CSP, all requests same-origin,
notice renders under the header at 360px with 44px buttons and stays dismissed,
privacy page renders 5 sections. VERSION 2026.11.24.6.
Remove 'รวมเว็บที่ทำเองไว้ในที่เดียว เลือกดูได้ตามใจ ไม่มีโฆษณา ไม่มีล็อกอิน' from the hero
so the search bar follows the welcome message directly, and delete the now-unused
.hero__lead styles (home.css, motion.css) plus its row in DESIGN.md.
- cards are links to the same project_url as the grid card (new tab, noopener)
- drop aria-hidden from the stack and restore pointer events; add hover/focus/active states
- entrance animation moves to the translate property with fill-mode backwards so the
staggered offsets/rotation and the hover lift are no longer overridden
- reduced-motion keeps the stagger (translate: none) without killing the layout
- server: GET /api/local-projects scans sibling folders for index.html
(title from <title>/<h1>, generic titles fall back to the folder name,
sorted by newest edit) and GET /projects/<folder>/ serves that folder
- both endpoints are loopback-only; node_modules/.git/.hermes blocked and
path traversal rejected; WORKSPACE_DIR=none disables the feature
- home: new 'โปรเจคในเครื่อง' list (2 columns >=700px) that hides itself when
the API is absent, so the live static site never shows fake rows
- SW skips /projects/* so other projects' files are never cached; version 2026.11.19.5
- docs: README/AGENTS/DESIGN cover the endpoints, the loopback rule and the layout
- 'hobbyp' + 'j' in brand-900 (12.21:1), 'ro' + 'ect' in brand-500 (3.12:1)
so the reader connects hobbypj with hobby project
- caption under it: 'hobbypj ย่อมาจาก hobby project'
- wordmark is 24-32px bold, the size at which the light brown still passes AA large text
- entrance animation with the rest of the hero; aria-label keeps the whole word for screen readers
- DESIGN.md records the colour split and the size rule
- sample 3 non-repeating projects from the full list with Fisher-Yates shuffle
- order inside the stack is randomised too; stays decorative (aria-hidden)
- docs: DESIGN.md notes the random sample
- drop the SSL note from hero meta, footer column and meta description
- footer becomes two columns; ssl_note removed from data schema, payload and server serializer
- content-only change: service worker version unchanged (network-first)