fix(webui): refine browser notifications (NAN-227)
Reconcile the original notification fix with the integrated main snapshot. Group notification settings and simplify localized copy and documentation. Preserve permission opt-out and notification click routing across app transitions. Suppress late completion notifications for discarded temporary chats and align notification settings skeletons with the loaded layout.
This commit is contained in:
1 parent
7b2af031c0
commit
11152626f8
34 files changed
+728
-289
No files matched your search
@@ -10,7 +10,7 @@ import {
|
||||
} from "@/components/icons/product-icons";
|
||||
import { useContext, useRef, useState } from "react";
|
||||
import { HostNavigationContext, HostSwitcher } from "@/components/remote/HostSwitcher";
|
||||
import { Check, ChevronDown, ChevronLeft, LogOut, Loader2, type LucideIcon } from "lucide-react";
|
||||
import { Bell, Check, ChevronDown, ChevronLeft, LogOut, Loader2, type LucideIcon } from "lucide-react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
import {
|
||||
@@ -32,6 +32,7 @@ import { cn } from "@/lib/utils";
|
||||
const SETTINGS_NAV_ITEMS: Array<{ key: SettingsSectionKey; icon: LucideIcon; fallback: string }> = [
|
||||
{ key: "overview", icon: OverviewIcon, fallback: "Overview" },
|
||||
{ key: "appearance", icon: AppearanceIcon, fallback: "Appearance" },
|
||||
{ key: "notifications", icon: Bell, fallback: "Notifications" },
|
||||
{ key: "models", icon: ModelsIcon, fallback: "Models" },
|
||||
{ key: "capabilities", icon: CapabilitiesIcon, fallback: "Capabilities" },
|
||||
{ key: "runtime", icon: SystemIcon, fallback: "System" },
|
||||
|
||||
Reference in new issue
Block a user