fix(icons): migrate admin dashboard to Lucide

Replace every PrimeIcons pi-* class (static and data-driven) in the
admin dashboard area with app-icon: dashboard-card, dashboard-shortcut-
card, dashboard-status-row, dashboard-timeline, and the icon data in
admin-dashboard.facade.ts / admin-dashboard-page.component.ts. Icon
fields on AdminDashboardQuickAction/Shortcut/DashboardTimelineEntry
are now typed AppIconName instead of string, so a typo or unmapped
icon name is a compile error instead of a silently blank icon.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
sdarbinyan
2026-07-20 02:13:41 +04:00
parent f3c8a8cc96
commit 9569b6dc46
13 changed files with 70 additions and 54 deletions

View File

@@ -73,7 +73,8 @@ import {
LucideUsers as Users,
LucideVideo as Video,
LucideX as X,
LucideXCircle as XCircle
LucideXCircle as XCircle,
LucideZap as Zap
} from '@lucide/angular';
/**
@@ -113,6 +114,7 @@ export const APP_ICONS = {
edit: Pencil,
trash: Trash2,
copy: Copy,
save: Save,
plus: Plus,
plusCircle: PlusCircle,
minus: Minus,
@@ -156,7 +158,8 @@ export const APP_ICONS = {
layoutGrid: LayoutGrid,
verified: BadgeCheck,
video: Video,
circle: Circle
circle: Circle,
zap: Zap
} as const;
export type AppIconName = keyof typeof APP_ICONS;