Skip to content

Deploy MSD Observer on Netlify with installable iPhone PWA configuration - #5

Merged
nickessler2004 merged 1 commit into
mainfrom
stage-5-netlify-observer-pwa
Nov 2, 2026
Merged

nickessler2004 merged 1 commit into
mainfrom
stage-5-netlify-observer-pwa

Conversation

@nickessler2004

@nickessler2004 nickessler2004 commented Nov 2, 2026 •

Copy link
Copy Markdown
Owner

Configures the existing dashboard for GitHub-connected Netlify deployments and iPhone Home Screen installation as MSD Observer, preserving the merged PR #4 dashboard styles, layouts, authentication and telemetry behavior.

  • netlify.toml: Node 24, npm run build, publish dist, SPA fallback, no-store application documents, immutable fingerprinted assets, and browser capability restrictions. Netlify builds open in cloud mode; existing local simulator defaults remain available for development.
  • Standalone manifest, opaque Apple touch / 192px / 512px / maskable PNG icons and iOS metadata. Production-only service worker registration is optional and cannot block dashboard loading.
  • Worker deliberately has no fetch handler, precache, Cache API writes, offline fallback or background sync. Auth and telemetry remain network-only; existing browser-offline handling removes live GPS confirmation. Offline relaunch cannot serve a cached dashboard. Bluetooth is not required.
  • Production PWA browser tests cover install metadata/icon dimensions, direct navigation/refresh, actual worker control, sign-in/persistence/sign-out, read-only observer controls, events/history, offline/recovery, mobile overflow and empty Cache Storage. Separate test output directories prevent cross-run artifact cleanup collisions. CI runs the new suite after the existing browser suite.

Manual setup: Netlify and iPhone guide. After review/merge, import this GitHub repository into free Netlify, deploy production branch main, add only VITE_SUPABASE_URL and VITE_SUPABASE_PUBLISHABLE_KEY for Production, then set the final HTTPS Site URL and exact root Redirect URL in Supabase Auth. The guide includes Safari installation and real-device acceptance steps. No account/site was provisioned or published by this PR.

Validation passed locally: build/TypeScript, standalone demo build, formatting, 84 dashboard unit/integration tests, all 31 existing browser tests in one run, 3 production PWA browser tests, mobile typecheck, all 21 gateway tests, Expo dependency check and iOS/Android export. Netlify TOML parsed and built assets checked for configured private test identities/passwords and browser test identities (none present). No artifact-collision reruns were needed. Browser tests use Chromium with 390×844 mobile coverage; physical iPhone/Safari Home Screen installation and auth email delivery require the final deployed domain. An optional local WebKit download was blocked by environment network policy, so no WebKit validation is claimed.

Supabase schema, RPCs, policies, backend services, phone gateway and firmware are unchanged. No privileged credentials or private test passwords are committed or added to the application. Existing owner/observer authorization stays in force; database access is not made public.

Do not merge automatically.

@nickessler2004
nickessler2004 merged commit 0010bcd into main Nov 2, 2026
3 checks passed
@nickessler2004 nickessler2004 changed the title Deploy MSD Observer on Netlify with installable iPhone PWA configuration Deploy MSD Observer on Netlify with an installable iPhone dashboard Nov 2, 2026
@nickessler2004 nickessler2004 changed the title Deploy MSD Observer on Netlify with an installable iPhone dashboard Deploy MSD Observer on Netlify with installable iPhone PWA configuration Nov 2, 2026
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