Redesign home dashboard and app shell to match Mento mockup.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1163,6 +1163,49 @@ export interface ReportsDashboardDto {
|
||||
peopleCreated: number;
|
||||
}
|
||||
|
||||
export interface HomeDashboardKpiDto {
|
||||
key: string;
|
||||
label: string;
|
||||
value: number;
|
||||
changePercent: number | null;
|
||||
changeLabel: string;
|
||||
}
|
||||
|
||||
export interface HomeDashboardAlertDto {
|
||||
key: string;
|
||||
tone: 'urgent' | 'warning' | 'success' | 'info';
|
||||
text: string;
|
||||
link?: string;
|
||||
}
|
||||
|
||||
export interface HomeDashboardTrendPointDto {
|
||||
monthKey: string;
|
||||
monthLabel: string;
|
||||
amount: number;
|
||||
}
|
||||
|
||||
export interface HomeDashboardSourceDto {
|
||||
label: string;
|
||||
count: number;
|
||||
percent: number;
|
||||
}
|
||||
|
||||
export interface HomeDashboardTopCustomerDto {
|
||||
id: string;
|
||||
name: string;
|
||||
dealCount: number;
|
||||
rank: number;
|
||||
}
|
||||
|
||||
export interface HomeDashboardDto {
|
||||
currency: string;
|
||||
kpis: HomeDashboardKpiDto[];
|
||||
alerts: HomeDashboardAlertDto[];
|
||||
salesTrend: HomeDashboardTrendPointDto[];
|
||||
sources: HomeDashboardSourceDto[];
|
||||
topCustomers: HomeDashboardTopCustomerDto[];
|
||||
}
|
||||
|
||||
/** برد پروژه / کاریز کارت */
|
||||
export interface ProjectBoardStageDto {
|
||||
id: string;
|
||||
|
||||
Reference in New Issue
Block a user