Add Today action lists and clickable KPI links (Phase 3).

Show upcoming appointments for the rest of today and link each KPI card to its relevant dashboard tab.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-07-11 00:48:35 +03:30
parent 394aa98314
commit 3f2b332bd3
10 changed files with 203 additions and 5 deletions

View File

@@ -1,3 +1,15 @@
export type TodayUpcomingAppointment = {
id: string;
patientName: string;
startAt: string;
endAt: string;
purpose: string;
};
export type TodaySummaryActions = {
upcomingAppointmentsToday?: TodayUpcomingAppointment[];
};
export type TodayChartBucket = {
code: string;
label: string;
@@ -36,6 +48,7 @@ export interface TodaySummaryData {
range: { from: string; to: string };
widgets: TodaySummaryWidgets;
charts: TodaySummaryCharts;
actions: TodaySummaryActions;
}
export interface TodaySummaryResponse {