gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commitf7bfe90bf7bfe90bMove remaining page builders into their topicsmref7bfe90b/missions/004-tracker-pwa.md

1.7 KB

  1. # Mission 004 (old 045) — tracker.worldapi.org#10: installable app (PWA) + icons
  2. Ticket: `curl -s -H 'Accept: text/markdown' https://tickets.worldapi.org/api/projects/tracker.worldapi.org/tickets/10`
  3. Setup and rules as mission 002 (old 041) (`missions/002-tracker-my-pages.md`) — read it. App: loreana:/media/STORAGE/projects/tracker.worldapi.org.
  4. Reference implementation: loreana:/media/STORAGE/projects/calendar.worldapi.org (its README "PWA"/ticket #3 parts,
  5. project.hl `appIcons` / `offline`, icons/ folder). Do it the same way — hl:web generates manifest + service worker.
  6. ## Build
  7. 1. Icons: design a simple tracker icon (e.g. a play/check mark or a TV shape) in tracker green #4ec9b0 on the dark
  8. background rgb(25,30,35); SVG source + the PNG sizes calendar ships (incl. maskable + apple-touch), favicon.
  9. Hand-made SVG is fine; render the PNGs with a tool available on Loreana (rsvg-convert / ImageMagick / Chrome
  10. screenshot via cdp.mjs). Put them where calendar keeps its icons.
  11. 2. project.hl: appTitle "tracker", appIcons, `offline = [...]` for the shell like calendar; theme colours from tokens.
  12. 3. Offline: the shell (header + an "offline" message) opens without network; data pages simply need the network.
  13. 4. Gate: manifest served and valid (name, icons exist and load, display standalone, start_url), service worker
  14. registers, offline reload of `/` shows the shell (cdp.mjs has setOffline). All green with ports 8720–8731.
  15. 5. LOOK at the icon at 48/192/512 px (screenshots or the PNGs themselves) and at a 390 px phone screenshot of the page
  16. with the new favicon/theme. Keep them in /tmp/w045/ on Loreana.
  17. 6. README (step 10) + STATUS entry.
  18. ## Report (short)
  19. Files, decisions (icon idea), gate command + last line, image paths, open points, Hybriel issues.

Branches

Latest commits

  • f7bfe90bMove remaining page builders into their topicsmre
  • ec54fc35Move show page logic into the shows topicmre
  • c1a8d074log: correct timesmre
  • 5827eba9log: HM57 merged, HM59 startedmre
  • d1a91be9Merge hm57-let: tracker#57 let only for reassigned namesmre
  • a404ed75Report HM57 audit, gates and integration notesmre
  • 1dcb87a7Use plain declarations for unchanged bindingsmre
  • b90395e3log: HM51 mergedmre
  • 9888d076Merge hm51-classes: tracker#51 views use Style referencesmre
  • 4399bc2fReference remaining component-owned root Style rulesmre
  • 9edcc2dflog: #58 live, HM57 startedmre
  • 73fa20ddMerge hm49b-styles: tracker#49 rest of the component stylesmre
  • aed12917Reference owned Style rules in genres and searchmre
  • 14195720log: HM49B done, HM51 startedmre
  • 78ee6b56Move remaining component styles into Style blocksmre
  • 7f04de33log: HM49Bmre
  • 00616cf3log: #49 batch merged, DP67 startedmre
  • d7232e86Merge hm49-styles: tracker#49 first batch of component stylesmre
  • 079f376dMove seven components' styles into Style blocksmre
  • 17d66feelog: #58 mergedmre