Add iPadOS 'Add to Home Screen' support#3546
Conversation
- Add Web App Manifest (manifest.json) to both marketing and web apps. - Include Apple-specific meta tags for standalone web app support. - Ensure consistent icons across both applications for PWA support.
- Add Web App Manifest (manifest.json) to both marketing and web apps. - Include Apple-specific meta tags for standalone web app support. - Add high-resolution app icons to manifests for improved install experience.
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
| "start_url": "/", | ||
| "display": "standalone", | ||
| "background_color": "#161616", | ||
| "theme_color": "#161616", |
There was a problem hiding this comment.
Manifest ignores light theme
Medium Severity
The manifest.json sets background_color and theme_color to a fixed dark value (#161616). This conflicts with the app's light theme (#ffffff). On iPadOS home-screen launch, this causes a temporary dark splash and mismatched browser chrome for light-theme users before the app renders its light UI.
Reviewed by Cursor Bugbot for commit 05f07b6. Configure here.
| { | ||
| "src": "/icon.png", | ||
| "sizes": "512x512", | ||
| "type": "image/png" |
There was a problem hiding this comment.
512 icon skips channel branding
Medium Severity
The PWA manifest's 512x512 icon, /icon.png, isn't updated by the branding override scripts. This means the largest PWA icon might show stale or incorrect channel-specific artwork, even when other icons like favicons and apple-touch-icon.png are correctly branded.
Reviewed by Cursor Bugbot for commit 05f07b6. Configure here.
ApprovabilityVerdict: Approved Additive PWA configuration changes (manifest files, meta tags, icon asset, safe-area CSS) with no runtime logic impact. Review comments identify polish issues around theme consistency and safe area handling, but no functional or security concerns. You can customize Macroscope's approvability policy. Learn more. |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.
There are 3 total unresolved issues (including 2 from previous reviews).
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 7aed8a2. Configure here.
| <meta | ||
| name="viewport" | ||
| content="width=device-width, initial-scale=1.0, viewport-fit=cover" | ||
| /> |
There was a problem hiding this comment.
Bottom safe area not handled
Medium Severity
Adding viewport-fit=cover makes the layout extend into the device’s unsafe regions, but only .nav gets env(safe-area-inset-top). The shared .footer still uses fixed bottom padding, so footer links can sit under the home indicator in standalone iPadOS/iOS after Add to Home Screen.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit 7aed8a2. Configure here.


Add iPadOS "Add to Home Screen" Support
What Changed
Added Web App Manifests (
manifest.json) to both the marketing site and web application.Updated the HTML
<head>in:apps/marketing/src/layouts/Layout.astroapps/web/index.htmlwith the following tags:
icon.png(512×512) to the web app's public assets.Why
Users visiting T3 Code on iPadOS currently do not have a seamless way to install the application to their home screen. By adding a Web App Manifest and Apple-specific web app metadata, Safari can now present the "Add to Home Screen" option.
This allows T3 Code to launch as a standalone application without browser navigation controls, creating a more immersive, app-like experience for users managing agent threads.
Checklist
Note
Low Risk
Static manifest and head/meta/CSS tweaks only; no auth, API, or business-logic changes.
Overview
Adds Web App Manifest files for the marketing site and main web app so Safari can offer Add to Home Screen and launch T3 Code in standalone mode with defined name, icons, and theme colors (
#09090bmarketing,#161616web).Both
Layout.astroandapps/web/index.htmlnow link/manifest.jsonand include Apple web-app meta tags (apple-mobile-web-app-capable, status bar style, title). Marketing also setsviewport-fit=coverandpadding-top: env(safe-area-inset-top)on the sticky nav so installed layouts respect the notch/safe area on iPad.Reviewed by Cursor Bugbot for commit 7aed8a2. Bugbot is set up for automated code reviews on this repo. Configure here.
Note
Add iPadOS and iOS 'Add to Home Screen' PWA support to marketing and web apps
manifest.jsonto bothapps/marketingandapps/webwith app metadata, standalone display mode, and icons (16×16 to 512×512).apple-mobile-web-app-capable,apple-mobile-web-app-status-bar-style=black-translucent,apple-mobile-web-app-title) to Layout.astro and index.html.viewport-fit=coverand addspadding-top: env(safe-area-inset-top)to the sticky nav to handle notches on iOS devices.Macroscope summarized 7aed8a2.