[PR #4664] [MERGED] Support PWA installation #4702

Closed
opened 2026-02-22 18:36:22 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/4664
Author: @timothycarambat
Created: 11/19/2025
Status: Merged
Merged: 11/19/2025
Merged by: @timothycarambat

Base: masterHead: 4595-refactor-pwa


📝 Commits (10+)

  • 6da382c feat: add web app manifest and mobile PWA meta tags
  • e4c3b8a feat: serve dynamic manifest.json with custom branding for pwa
  • d59e150 feat: add ios status bar theming for pwa
  • 28177b0 fix: prevent overscroll behavior for mobile
  • 2ad9701 fix: prevent ios safari auto-zoom on chat input
  • d67f0f0 fix: remove theme-color meta tags conflicting with ios status bar
  • dbf0cc3 fix: add missing apple-mobile-web-app-capable meta tag for ios pwa
  • 1b424b2 fix: move catch-all route after manifest endpoint to prevent interception
  • 0dae7cd feat: add pwa detection helper and conditional styling for standalone mode
  • b4a39d8 Merge branch 'master' into 4592-feat-pwa-support

📊 Changes

9 files changed (+480 additions, -202 deletions)

View changed files

📝 .github/workflows/dev-build.yaml (+1 -1)
📝 frontend/index.html (+6 -1)
📝 frontend/src/App.jsx (+198 -179)
frontend/src/PWAContext.jsx (+93 -0)
📝 frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/index.jsx (+3 -3)
📝 frontend/src/index.css (+12 -0)
📝 frontend/tailwind.config.js (+1 -0)
📝 server/index.js (+10 -5)
📝 server/utils/boot/MetaGenerator.js (+156 -13)

📄 Description

Pull Request Type

  • feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 🔨 chore
  • 📝 docs

Relevant Issues

connect #4595
closes #4595
resolves #4592
connect #4016

What is in this change?

  • Apply base changes from #4595
  • Adds pwa specific tailwind class for PWA specific styling without breaking existing UI ruleset.
  • Adds method to production MetaGenerator to also produce the manifest
  • Adds global context for checking PWA state and applying data attribute to body for detection.

Additional Information

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated
  • I have tested my code functionality
  • Docker build succeeds locally

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Mintplex-Labs/anything-llm/pull/4664 **Author:** [@timothycarambat](https://github.com/timothycarambat) **Created:** 11/19/2025 **Status:** ✅ Merged **Merged:** 11/19/2025 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `master` ← **Head:** `4595-refactor-pwa` --- ### 📝 Commits (10+) - [`6da382c`](https://github.com/Mintplex-Labs/anything-llm/commit/6da382cfedf754d29769765bad7772b7cb742dd2) feat: add web app manifest and mobile PWA meta tags - [`e4c3b8a`](https://github.com/Mintplex-Labs/anything-llm/commit/e4c3b8a1c7c0b87b1465395c17add3c54105d295) feat: serve dynamic manifest.json with custom branding for pwa - [`d59e150`](https://github.com/Mintplex-Labs/anything-llm/commit/d59e1500794e3aeada07303518c3716211d01495) feat: add ios status bar theming for pwa - [`28177b0`](https://github.com/Mintplex-Labs/anything-llm/commit/28177b067cead9f05e39c806876c4deddf7dcb90) fix: prevent overscroll behavior for mobile - [`2ad9701`](https://github.com/Mintplex-Labs/anything-llm/commit/2ad9701998d5301b7a60c72576a9dfe64f57d45d) fix: prevent ios safari auto-zoom on chat input - [`d67f0f0`](https://github.com/Mintplex-Labs/anything-llm/commit/d67f0f0d2c1b886ee63b957b257d77b25af8474a) fix: remove theme-color meta tags conflicting with ios status bar - [`dbf0cc3`](https://github.com/Mintplex-Labs/anything-llm/commit/dbf0cc356eb3404973731c3d045b5aa96ecefe54) fix: add missing apple-mobile-web-app-capable meta tag for ios pwa - [`1b424b2`](https://github.com/Mintplex-Labs/anything-llm/commit/1b424b236bf31e2e88f5e93138ad58ddd22c0445) fix: move catch-all route after manifest endpoint to prevent interception - [`0dae7cd`](https://github.com/Mintplex-Labs/anything-llm/commit/0dae7cd03f6cb7c3ccdfe43dacfd2fa5ab5f3ee7) feat: add pwa detection helper and conditional styling for standalone mode - [`b4a39d8`](https://github.com/Mintplex-Labs/anything-llm/commit/b4a39d8d1f25ddef8d99b9f6d420131b611774be) Merge branch 'master' into 4592-feat-pwa-support ### 📊 Changes **9 files changed** (+480 additions, -202 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/dev-build.yaml` (+1 -1) 📝 `frontend/index.html` (+6 -1) 📝 `frontend/src/App.jsx` (+198 -179) ➕ `frontend/src/PWAContext.jsx` (+93 -0) 📝 `frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/index.jsx` (+3 -3) 📝 `frontend/src/index.css` (+12 -0) 📝 `frontend/tailwind.config.js` (+1 -0) 📝 `server/index.js` (+10 -5) 📝 `server/utils/boot/MetaGenerator.js` (+156 -13) </details> ### 📄 Description ### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [ ] ✨ feat - [ ] 🐛 fix - [ ] ♻️ refactor - [ ] 💄 style - [ ] 🔨 chore - [ ] 📝 docs ### Relevant Issues <!-- Use "resolves #xxx" to auto resolve on merge. Otherwise, please use "connect #xxx" --> connect #4595 closes #4595 resolves #4592 connect #4016 ### What is in this change? - Apply base changes from #4595 - Adds `pwa` specific tailwind class for PWA specific styling without breaking existing UI ruleset. - Adds method to production MetaGenerator to also produce the manifest - Adds global context for checking PWA state and applying data attribute to body for detection. <!-- Describe the changes in this PR that are impactful to the repo. --> ### Additional Information <!-- Add any other context about the Pull Request here that was not captured above. --> ### Developer Validations <!-- All of the applicable items should be checked. --> - [x] I ran `yarn lint` from the root of the repo & committed changes - [x] Relevant documentation has been updated - [x] I have tested my code functionality - [x] Docker build succeeds locally --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-22 18:36:22 -05:00
yindo closed this issue 2026-02-22 18:36:22 -05:00
yindo changed title from [PR #4664] Support PWA installation to [PR #4664] [MERGED] Support PWA installation 2026-06-05 15:19:56 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#4702