feat: implement Story 2.2 — Priority Alerts Panel with UI fixes
Add PriorityAlertsPanel component to the dashboard, update DashboardController with alert logic, and apply misc UI fixes across sidebar, forms, and pages. Includes epic-1 retrospective and sprint status update. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -25,12 +25,25 @@ export type StatCardLink = {
|
||||
href: string;
|
||||
};
|
||||
|
||||
export type DashboardAlert = {
|
||||
id: number;
|
||||
severity: 'critical' | 'warning' | 'info';
|
||||
clientName: string;
|
||||
declarationType: string;
|
||||
typeLabel: string;
|
||||
daysValue: number;
|
||||
daysLabel: string;
|
||||
showUrl: string;
|
||||
};
|
||||
|
||||
export type DashboardProps = {
|
||||
stats: DashboardStats | null;
|
||||
statCards: StatCardLink[];
|
||||
declarations: DashboardDeclaration[];
|
||||
alerts: DashboardAlert[];
|
||||
workspaceName: string | null;
|
||||
roleLabel: string | null;
|
||||
declarationsUrl: string | null;
|
||||
clientsUrl: string | null;
|
||||
viewAllAlertsUrl: string | null;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user