feat(app): focus entry surface로 진입 화면 재구성
This commit is contained in:
@@ -17,6 +17,9 @@ export interface FocusStatsSummary {
|
||||
bestDayLabel: string;
|
||||
bestDayFocusMinutes: number;
|
||||
streakDays: number;
|
||||
startedSessions: number;
|
||||
completedSessions: number;
|
||||
carriedOverCount: number;
|
||||
};
|
||||
trend: FocusTrendPoint[];
|
||||
}
|
||||
|
||||
@@ -24,9 +24,12 @@ const buildMockSummary = (): FocusStatsSummary => {
|
||||
},
|
||||
last7Days: {
|
||||
focusMinutes: parseDurationLabelToMinutes(WEEKLY_STATS[0]?.value ?? '0m'),
|
||||
bestDayLabel: WEEKLY_STATS[1]?.value ?? '-',
|
||||
bestDayFocusMinutes: parseDurationLabelToMinutes(WEEKLY_STATS[1]?.delta ?? '0m'),
|
||||
streakDays: Number.parseInt(WEEKLY_STATS[2]?.value ?? '0', 10) || 0,
|
||||
bestDayLabel: WEEKLY_STATS[1]?.value ?? '수요일',
|
||||
bestDayFocusMinutes: 210,
|
||||
streakDays: 4,
|
||||
startedSessions: 6,
|
||||
completedSessions: 4,
|
||||
carriedOverCount: 1,
|
||||
},
|
||||
trend: [],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user