feat(app): focus entry surface로 진입 화면 재구성

This commit is contained in:
2026-03-13 09:54:33 +09:00
parent 698c124ade
commit 2506dd53a7
16 changed files with 1346 additions and 30 deletions

View File

@@ -17,6 +17,9 @@ export interface FocusStatsSummary {
bestDayLabel: string;
bestDayFocusMinutes: number;
streakDays: number;
startedSessions: number;
completedSessions: number;
carriedOverCount: number;
};
trend: FocusTrendPoint[];
}

View File

@@ -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: [],
};