feat: make the web app installable and rework the app shell

Add a Vite PWA (`vite-plugin-pwa`): manifest, icons and an `autoUpdate`
service worker, plus an install prompt so the app can be added to the
home screen.

Rework the shell for mobile: mount the bottom navigation bar and the
install prompt in the authenticated layout, hide the sidebar trigger
below `md`, and add a sign-out card to Settings. Drop the placeholder
Tasks page together with its unused shadcn table and the
`@tanstack/react-table` dependency, and remove the in-app router/query
dev tools.
This commit is contained in:
Jose Selesan
2026-10-16 15:44:20 -03:00
parent 4035a4bf20
commit 370e3022c8
19 changed files with 777 additions and 272 deletions

View File

@@ -1,6 +1,6 @@
import { Link, useRouterState } from '@tanstack/react-router'
import type { LucideIcon } from 'lucide-react'
import { HomeIcon, ListTodoIcon, SettingsIcon, ShoppingCartIcon } from 'lucide-react'
import { HomeIcon, SettingsIcon, ShoppingCartIcon } from 'lucide-react'
import { focusNewItemInput } from '@/components/items/create-item-form'
import { NavUser } from '@/components/layout/nav-user'
@@ -26,7 +26,6 @@ type NavItem = {
const NAV_ITEMS: NavItem[] = [
{ title: 'Principal', to: '/', icon: HomeIcon },
{ title: 'Listas', to: '/lists', icon: ShoppingCartIcon },
{ title: 'Tareas', to: '/tasks', icon: ListTodoIcon },
{ title: 'Ajustes', to: '/settings', icon: SettingsIcon },
]