feat(web): UI quick wins for items, navigation and settings
- Toggling an item only disables that row, so several items can be marked in a row; failures roll back just that item and show a toast, and the list refetches once the last toggle settles. - Sidebar, bottom nav and header share one set of sections (Inicio / Listas / Ajustes); the bottom nav drops the duplicated "Cuenta" link and the header drops the non-functional search button. - Settings: the name is saved through BetterAuth, the email is shown read-only, and the fake notification switches are replaced by a real theme picker. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { useNavigate } from '@tanstack/react-router'
|
||||
import { ChevronsUpDownIcon, LogOutIcon, UserIcon } from 'lucide-react'
|
||||
import { ChevronsUpDownIcon, LogOutIcon, SettingsIcon } from 'lucide-react'
|
||||
|
||||
import { Avatar, AvatarFallback, AvatarImage } from '@/components/ui/avatar'
|
||||
import {
|
||||
@@ -78,8 +78,8 @@ export function NavUser() {
|
||||
<DropdownMenuSeparator />
|
||||
<DropdownMenuGroup>
|
||||
<DropdownMenuItem onClick={() => void navigate({ to: '/settings' })}>
|
||||
<UserIcon />
|
||||
Cuenta
|
||||
<SettingsIcon />
|
||||
Ajustes
|
||||
</DropdownMenuItem>
|
||||
</DropdownMenuGroup>
|
||||
<DropdownMenuSeparator />
|
||||
|
||||
Reference in New Issue
Block a user