v0.1.54 - 통계 그래프 반응형 폭 조정

This commit is contained in:
2026-04-23 15:55:09 +09:00
parent e9839d85e2
commit cb309cf0fa
3 changed files with 135 additions and 11 deletions

View File

@@ -976,6 +976,8 @@ const weeklyRecords = computed(() => {
const date = toDateValue(key)
const weekdayShort = ['일', '월', '화', '수', '목', '금', '토'][date.getDay()]
const focusedMinutes = getFocusedMinutes(record)
const activeTasks = record.tasks.filter((task) => task.title.trim())
const doneTasks = activeTasks.filter((task) => task.checked)
return {
key,
@@ -983,6 +985,8 @@ const weeklyRecords = computed(() => {
dateLabel: `${`${date.getMonth() + 1}`.padStart(2, '0')}.${`${date.getDate()}`.padStart(2, '0')}`,
focusedMinutes,
focusedTime: formatMinutesKorean(focusedMinutes),
completedTasks: doneTasks.length,
totalTasks: activeTasks.length,
}
})