From e47535d0fa2840b81ab0a9c8378735b3de471d18 Mon Sep 17 00:00:00 2001 From: Pantry Lead Agent Date: Wed, 25 Feb 2026 00:09:31 +0000 Subject: [PATCH] feat: add PWA install prompt UI (#35) - Create usePWAInstall composable for install management - Add InstallPrompt banner component with auto-show after 3s - Add App Settings tab in settings page - Show install button with loading state - Display installation status and instructions - Handle dismissal with 7-day cooldown - Add iOS/Android installation guides - Show PWA features list - Display storage usage with visual progress - Auto-hide prompt after successful install Features: - Automatic install prompt after 3 seconds - Manual install from settings - Platform-specific instructions - Smart dismissal tracking - Storage info visualization Closes #35 --- app/app/app.vue | 1 + app/components/InstallPrompt.vue | 104 +++++++++++++ app/components/Settings/AppSettings.vue | 190 ++++++++++++++++++++++++ app/composables/usePWAInstall.ts | 93 ++++++++++++ app/pages/settings.vue | 9 ++ 5 files changed, 397 insertions(+) create mode 100644 app/components/InstallPrompt.vue create mode 100644 app/components/Settings/AppSettings.vue create mode 100644 app/composables/usePWAInstall.ts diff --git a/app/app/app.vue b/app/app/app.vue index bac3d53..891c083 100644 --- a/app/app/app.vue +++ b/app/app/app.vue @@ -1,6 +1,7 @@ + +