[PR #12187] feat(web): make browsers detect PWA with improved manifest #14111

Closed
opened 2026-02-16 18:18:55 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/12187

State: closed
Merged: No


Summary

  • Enhances the web app PWA manifest with comprehensive metadata for better installability
  • Updates icon configuration to support multiple sizes with both 'any' and 'maskable' purposes
  • Adds proper manifest link and theme-color meta tag to the Astro configuration

Note: This is a much narrower change than https://github.com/anomalyco/opencode/pull/7258, focusing specifically on improving the existing manifest rather than a full PWA implementation.

Fixes #10288

Changes

  • site.webmanifest: Added complete PWA metadata including description, start_url, scope, orientation, categories, language, and direction
  • site.webmanifest: Expanded icon set to include 96x96, 192x192, 512x512, and 180x180 sizes with appropriate purposes
  • astro.config.mjs: Added manifest link in head section for proper PWA recognition
  • astro.config.mjs: Added theme-color meta tag for better mobile experience

Benefits

  • Web app will now be properly recognized as a PWA by browsers
  • Users will be able to install OpenCode as a standalone app on desktop and mobile
  • Better app store metadata with categories and descriptions
  • Improved mobile experience with proper theme colors
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/12187 **State:** closed **Merged:** No --- ## Summary - Enhances the web app PWA manifest with comprehensive metadata for better installability - Updates icon configuration to support multiple sizes with both 'any' and 'maskable' purposes - Adds proper manifest link and theme-color meta tag to the Astro configuration **Note:** This is a much narrower change than https://github.com/anomalyco/opencode/pull/7258, focusing specifically on improving the existing manifest rather than a full PWA implementation. Fixes #10288 ## Changes - **site.webmanifest**: Added complete PWA metadata including description, start_url, scope, orientation, categories, language, and direction - **site.webmanifest**: Expanded icon set to include 96x96, 192x192, 512x512, and 180x180 sizes with appropriate purposes - **astro.config.mjs**: Added manifest link in head section for proper PWA recognition - **astro.config.mjs**: Added theme-color meta tag for better mobile experience ## Benefits - Web app will now be properly recognized as a PWA by browsers - Users will be able to install OpenCode as a standalone app on desktop and mobile - Better app store metadata with categories and descriptions - Improved mobile experience with proper theme colors
yindo added the pull-request label 2026-02-16 18:18:55 -05:00
yindo closed this issue 2026-02-16 18:18:55 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#14111