gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit796ba672796ba672records: #277 slips to day39mre796ba672/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

  • 796ba672records: #277 slips to day39mre
  • a9eb9827records: mpackdb integrity clean, all 12 tablesmre
  • 6cf40dbdrecords: mpackdb integrity check, shows uncheckedmre
  • 1880f42arecords: day38 deploy may swap normallymre
  • 9d806e35records: mpackdb freeze until day38mre
  • a660239drecords: day37 lacks #277, wait for day38mre
  • b0abfdeaLOG: Anton hybriel#277 fix ready for day37mre
  • 7b5b2918Tracker: hybriel#277 fix comes in day37mre
  • 7ddbeec8Tracker: RV28c blocked on day35 regressionmre
  • bf401884Tracker: RV28c startedmre
  • 0ff4ecd4Tracker: RV28c briefmre
  • 06565b1fRecords: day35 relay note, tickets subscription idmre
  • c6dc3e86RV28b: switch to set day35mre
  • 24e401b8Tracker: TR7 watch cleanmre
  • b0412957Tracker: RV28b handed overmre
  • 456940c8Tracker: RULINGS pathmre
  • b87a8fdcTracker: worldapi-conductor paths backmre
  • 641f3b54Tracker: Apollo answermre
  • 8b3cbddaTracker: status, TR7 fix livemre
  • ec30162aTracker: TR7 fix livemre