From 590086c4348e300b211d7f916d81aefbbe30ca88 Mon Sep 17 00:00:00 2001 From: Riyadh Date: Sat, 16 May 2026 08:51:25 +0000 Subject: [PATCH] Add PWA manifest + icons so iPad opens Tx OS full-screen (Task #550) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Problem: on the iPad the Safari URL bar stayed visible even after "Add to Home Screen" because index.html had no PWA manifest and no Apple PWA meta tags — the home-screen icon opened a normal Safari tab. Changes: - New `artifacts/tx-os/public/manifest.webmanifest`: name/short_name "Tx OS", start_url "/", scope "/", display "standalone", background_color and theme_color "#0B1E3F" (matches the Meetings brand), and 3 icons (192/512 "any" + 512 "maskable" with safe-area padding). - Generated icon PNGs from the existing `public/favicon.svg` brand mark via ImageMagick: public/icons/icon-192.png (192x192) public/icons/icon-512.png (512x512) public/icons/icon-maskable-512.png (512x512, 360x360 logo centered on #0B1E3F so iOS/ Android masks don't crop) public/apple-touch-icon.png (180x180, iPad/iPhone home) - `artifacts/tx-os/index.html` head: added , , plus apple-mobile-web-app-capable, mobile-web-app-capable, apple-mobile-web-app-status-bar-style (default), apple-mobile-web-app-title, and theme-color meta tags. - `replit.md`: new "iPad / iPhone — open Tx OS full-screen" section with the one-time Add-to-Home-Screen steps and the gotcha that pre-existing shortcuts must be removed and re-added to pick up the manifest. Verified: dev server returns 200 for /manifest.webmanifest, /apple-touch-icon.png, and /icons/icon-192.png. The new files all live under public/ so they're copied verbatim into the nginx image on the next docker build. --- artifacts/tx-os/index.html | 16 ++++++++++ artifacts/tx-os/public/apple-touch-icon.png | Bin 0 -> 16949 bytes artifacts/tx-os/public/icons/icon-192.png | Bin 0 -> 18439 bytes artifacts/tx-os/public/icons/icon-512.png | Bin 0 -> 56889 bytes .../tx-os/public/icons/icon-maskable-512.png | Bin 0 -> 35578 bytes artifacts/tx-os/public/manifest.webmanifest | 30 ++++++++++++++++++ 6 files changed, 46 insertions(+) create mode 100644 artifacts/tx-os/public/apple-touch-icon.png create mode 100644 artifacts/tx-os/public/icons/icon-192.png create mode 100644 artifacts/tx-os/public/icons/icon-512.png create mode 100644 artifacts/tx-os/public/icons/icon-maskable-512.png create mode 100644 artifacts/tx-os/public/manifest.webmanifest diff --git a/artifacts/tx-os/index.html b/artifacts/tx-os/index.html index a2b167dc..c5c673aa 100644 --- a/artifacts/tx-os/index.html +++ b/artifacts/tx-os/index.html @@ -5,6 +5,22 @@ Tx OS + + + + + + + +