feat(frontend): PWA + Backup/Restore + Upgrade Prompts + Settings
- PWA: vite-plugin-pwa with autoUpdate service worker, manifest, offline caching for assets + NetworkFirst for API calls - PWA icons: 192x192 and 512x512 placeholder PNGs + favicon.svg - index.html: theme-color, apple-touch-icon, description meta tags - UpgradeBanner component: trial expiry warning with upgrade CTA - SettingsView: complete settings page with: - Plan info display - Tenant profile form (firma, CUI, reg com, adresa, IBAN, banca) - Backup export (JSON with all tenant data from wa-sqlite) - Restore import (JSON file with validation and INSERT OR REPLACE) - User management with invite form (email + rol) - Logout button - useOffline composable: shared reactive online/offline state - DashboardView: added UpgradeBanner at top Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -3,6 +3,9 @@
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<meta name="theme-color" content="#111827" />
|
||||
<meta name="description" content="ROA AUTO - Management Service Auto" />
|
||||
<link rel="apple-touch-icon" href="/icon-192.png" />
|
||||
<title>ROA AUTO</title>
|
||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
||||
</head>
|
||||
|
||||
Reference in New Issue
Block a user