app/(tools)/timer/_components/TimerEvents.tsx | Account-scoped event reads, updates across tabs, and Day/Week/Month previews. |
|---|
app/(tools)/timer/_components/AddEntryForm.tsx | Task/Range/Event selector, independent drafts, and creation submission. |
|---|
app/(tools)/timer/_components/EntryFormDialog.tsx | Shared responsive dialog frame, fixed header actions, date, and inset scroll area. |
|---|
app/(tools)/timer/_components/EventFormFields.tsx | Title, optional description, date, and monthly repeat fields. |
|---|
app/(tools)/timer/_components/EventEditor.tsx | Event editing and confirmed deletion of the complete series. |
|---|
app/(tools)/timer/utils/timerEvents.ts | Event types, visible date ranges, and anchored monthly recurrence. |
|---|
app/(tools)/timer/server/timerEvents.ts | Event persistence, revision conflicts, bounded reads, and atomic restore. |
|---|
app/(tools)/timer/server/timerEventApi.ts | Event API authentication boundary, validation, and request limits. |
|---|
app/api/timer/events/route.ts | Protected event GET, POST, PATCH, and DELETE handlers with demo-only anonymous reads. |
|---|
app/(tools)/timer/utils/timerDeadline.ts | Shared window-warning eligibility, latest start, next boundary, and Jakarta time labels. |
|---|
app/(tools)/timer/_components/TaskDeadlineWarning.tsx | Danger warning before Edit, reduced-motion pulse, and accessible tooltip. |
|---|
app/(tools)/timer/hooks/useTimerDeadlineReminders.ts | Visible-page reminder scheduling, atomic claims, and silent deadline toasts. |
|---|
app/(tools)/timer/page.tsx | Timer page header, introduction, and navigation. |
|---|
app/(tools)/timer/clock/page.tsx | Full-page Jakarta clock with a visually hidden accessible page heading. |
|---|
app/(tools)/timer/TimerClient.tsx | Page composition: selected Day, Week, Month, Year, date navigation, toolbar, and loading feedback. |
|---|
app/(tools)/timer/_components/TimerYear.tsx | Twelve Monday-first mini calendars that open Month, with today highlighted. |
|---|
app/(tools)/timer/_components/TimerWeek.tsx | Read-only Monday-to-Sunday schedules with shared hours and date selection. |
|---|
app/(tools)/timer/_components/TimerMonth.tsx | Monday-first calendar, scheduled task labels, overflow counts, and date selection. |
|---|
app/(tools)/timer/_components/TimerCalendarDay.tsx | Read-only past days and editable future plans; unscheduled tasks beside the timeline. |
|---|
app/(tools)/timer/_components/TimerCalendarContent.tsx | Lazily loaded Week, Month, and non-today Day content with loading and Retry states. |
|---|
app/(tools)/timer/_components/TimerDateNavigation.tsx | Date heading, and the Today shortcut with previous/next controls. |
|---|
app/(tools)/timer/hooks/useTimerCalendar.ts | Account-scoped month reads, cross-month weeks, revalidation, errors, and live-data isolation. |
|---|
app/(tools)/timer/_components/TaskEditing.tsx | Date-scoped editing controls, separate from live playback and scheduling. |
|---|
app/(tools)/timer/hooks/useTimerPlanning.ts | Per-account future-day writers and drafts retained across navigation. |
|---|
app/(tools)/timer/utils/timerPlanning.ts | Isolated ordered future-plan writes and uncertain-write read recovery. |
|---|
app/(tools)/timer/utils/timerCalendar.ts | Calendar types, month geometry, recurring previews, and scheduled-task ordering. |
|---|
app/(tools)/_components/ChangelogTable.tsx | Changelog rows shared by tool Details pages; Timer shows the newest 10 with Show more and Show all. |
|---|
app/(tools)/timer/_components/TimerDataControls.tsx | Settings Save backup: a Documents-first save dialog that reopens the last folder, a download fallback, and errors. |
|---|
app/(tools)/timer/_components/TimerToolbar.tsx | Date heading with its Today and previous/next controls, above the view buttons, a joined History/Settings group, and Add; one row from md. |
|---|
app/(tools)/timer/_components/TimerSettings.tsx | Base UI settings navigation, matched editor height, preferences, and confirmation. |
|---|
app/(tools)/timer/_components/TimerSettingsEditor.tsx | Shared editor header with Cancel/Save and a scrollable form body. |
|---|
app/(tools)/timer/_components/TaskList.tsx | Available task list and schedule layout; loads timeline gestures lazily for editable days. |
|---|
app/(tools)/timer/_components/TaskGroup.tsx | Independent collapsed mobile task groups, counts, and desktop scrolling layout. |
|---|
app/(tools)/timer/_components/TaskTimeline.tsx | Static all-day scheduled cards, green running states, previews, past-day progress, and current-time line. |
|---|
app/(tools)/timer/_components/ScheduleTimeline.tsx | Chooses the visible hours for a day's schedule and renders the static or editable timeline. |
|---|
app/(tools)/timer/_components/TimelinePager.tsx | Floating Back to Now button for the follow-now timeline. |
|---|
app/(tools)/timer/hooks/useTimelineWindow.ts | Sizes and positions the follow-now scrolling frame and decides when Back to Now shows. |
|---|
app/(tools)/timer/utils/timerLocalSetting.ts | Shared boolean localStorage preference store with cross-tab synchronization. |
|---|
app/(tools)/timer/hooks/useTimelineMode.ts | Reads and saves the account's Fit timeline to screen preference. |
|---|
app/(tools)/timer/utils/timelineWindow.ts | Page ranges, hour height and overlap checks. |
|---|
app/(tools)/timer/_components/EditableTaskTimeline.tsx | Lazily loaded editing layer that attaches creation and resize gestures to TaskTimeline. |
|---|
app/(tools)/timer/hooks/timelineDrag.ts | Shared pointer and touch-hold tracking for timeline creation and resize gestures. |
|---|
app/(tools)/timer/utils/timerTime.ts | Minute formatting and HH:mm parsing for timeline labels, cards, inputs, and windows. |
|---|
app/(tools)/timer/hooks/useTimelineCreation.ts | Future-time selection with mouse dragging, touch holds, keyboard controls, and task creation. |
|---|
app/(tools)/timer/hooks/useTimelineResize.ts | Top/bottom edge resizing, touch holds, keyboard controls, live previews, and conflict cancellation. |
|---|
app/(tools)/timer/_components/timelineSelection.ts | Quarter-hour snapping, future boundaries, creation ranges, and progress-aware resize limits. |
|---|
app/(tools)/timer/_components/timelineLayout.ts | Deterministic overlap lanes for scheduled tasks. |
|---|
app/(tools)/timer/_components/CompletedTasksTable.tsx | History modal table and completed/missed status. |
|---|
app/(tools)/timer/_components/TaskCard.tsx | Three-column desktop cards, header icons, progress, and icon actions. |
|---|
app/(tools)/timer/_components/TaskCardView.tsx | Shared header, elapsed/availability/remaining display, and action layout for ordinary and daily tasks. |
|---|
app/(tools)/timer/_components/TaskProgress.tsx | Current time, duration, percentage, and progress bar. |
|---|
app/(tools)/timer/_components/TaskActions.tsx | Start, Continue, Pause, and Done controls, text/icon presentations, and sounds. |
|---|
app/(tools)/timer/_components/TaskDialog.tsx | Add/Edit triggers, Shift+N shortcut, and form validation. |
|---|
app/(tools)/timer/_components/TaskKindField.tsx | Work/Upkeep/Other toggle shared by the task form, Presets, and Daily Tasks. |
|---|
app/(tools)/timer/_components/TaskFormDialog.tsx | Task fields and editing form, composed inside the shared entry dialog. |
|---|
app/(tools)/timer/_components/TaskTextFields.tsx | Name and description fields with counters and clear buttons, shared by the task form and Settings editors. |
|---|
app/(tools)/timer/_components/DailyTaskSettings.tsx | Synced daily definitions, future-day scheduling, ordering, and Save/Cancel drafts. |
|---|
app/(tools)/timer/_components/DailyTaskFields.tsx | Memoized daily-task fields and stable edit/reorder/remove actions. |
|---|
app/(tools)/timer/_components/dailyTaskDraft.ts | Pure daily draft conversion, strict clock parsing, validation, and reordering. |
|---|
app/(tools)/timer/utils/dailyTasks.ts | Daily definition limits, instance creation, and reserved IDs. |
|---|
app/(tools)/timer/utils/weeklyTasks.ts | Weekly task definitions without a duration, and the initial examples. |
|---|
app/(tools)/timer/utils/checklist.ts | Weekly and range checklist types, today’s list, week bars clipped to their days, and missed state. |
|---|
app/(tools)/timer/_components/TimerChecklist.tsx | Account-scoped weekly and range task reads for whole visible weeks, saves, and updates across tabs. |
|---|
app/(tools)/timer/_components/ChecklistDoneToggle.tsx | Confirmed Done and Restore for weekly and range tasks, on Today cards and Week bars. |
|---|
app/(tools)/timer/_components/ChecklistCard.tsx | Today card for weekly and range tasks with an undoable Done button. |
|---|
app/(tools)/timer/_components/SpanFormFields.tsx | Range task title, description, Type, and start and end dates. |
|---|
app/(tools)/timer/_components/SpanEditor.tsx | Range task editing, done state, and confirmed deletion. |
|---|
app/(tools)/timer/server/timerChecklist.ts | Range task and weekly done persistence, revision conflicts, range reads, and atomic restore. |
|---|
app/(tools)/timer/server/timerChecklistApi.ts | Checklist API validation, matching methods, and demo-only anonymous reads. |
|---|
app/(tools)/timer/server/timerJsonRequest.ts | Shared owner, same-origin, content type, and 8 KB JSON body checks for event and checklist writes. |
|---|
app/api/timer/checklist/route.ts | Protected checklist GET, POST, PATCH, and DELETE handlers. |
|---|
app/(tools)/timer/_components/WeeklyTaskSettings.tsx | Synced weekly definitions with name, description, Type, and Save/Cancel drafts. |
|---|
app/(tools)/timer/_components/WeekTasksBar.tsx | Weekly and range task bars on a seven-day grid; done tasks fold into Done in Week and hide in Month. |
|---|
app/(tools)/timer/_components/DurationFields.tsx | Shared NumberInput controls for duration units and the preset grid. |
|---|
packages/ui/src/NumberInput.tsx | Base UI number input with labeled field layout, bounds, step, and form state. |
|---|
app/(tools)/timer/_components/PresetSettings.tsx | Duration and task preset editors, six-duration/ten-task limits, and section Save/Cancel drafts. |
|---|
app/(tools)/timer/_components/durationValue.ts | Controlled duration units, seconds conversion, and preset labels. |
|---|
app/(tools)/timer/_components/taskPresentation.ts | Grid card layout, spacing, borders, shadows, and state colors. |
|---|
app/(tools)/timer/_components/taskState.ts | Task ordering, completion partition, and earliest running task. |
|---|
app/(tools)/timer/_components/taskStatus.ts | One phase per task (upcoming, ready, running, paused, reached, missed) and its derived flags. |
|---|
app/(tools)/timer/_components/floatingTaskState.ts | Running and retained paused task selection across today and yesterday's overnight tasks, and start ordering. |
|---|
app/(tools)/timer/store.ts | Transactional Turso task operations, midnight rollover, overnight playback, preferences, history, and backups. |
|---|
app/(tools)/timer/server/timerAuth.ts | Owner-only Google OpenID Connect, signed session cookies, and request origin checks. |
|---|
app/api/timer/auth/[action]/route.ts | Account session, Google login, callback, and sign-out endpoints. |
|---|
app/(tools)/timer/statistics/page.tsx | Statistics page header and metadata. |
|---|
app/(tools)/timer/statistics/Statistics.tsx | Date and range selection, the day summary and table, and history refreshes limited to relevant changes. |
|---|
app/(tools)/timer/statistics/TimeChart.tsx | Stacked Work, Upkeep, and Other columns with budget ticks, average line, tooltip, and table view. |
|---|
app/(tools)/timer/statistics/WeekdayHeatmap.tsx | Weekday by week heatmap of time spent. |
|---|
app/(tools)/timer/statistics/RangeSelect.tsx | The 7, 30, and 90-day range buttons. |
|---|
app/(tools)/timer/statistics/chartFormat.ts | Date and duration labels for the statistics charts. |
|---|
app/(tools)/timer/details/page.tsx | This explanation and file inventory. |
|---|
app/(tools)/timer/details/relationships.ts | Pele diagram definitions and explanations of Timer’s file and function relationships. |
|---|
app/api/timer/route.ts | Protected GET, POST, and PATCH handlers for Timer data and actions. |
|---|
app/(tools)/timer/_components/TimerProvider.tsx | Lightweight session-aware activation, shared context, and loading boundaries. |
|---|
app/(tools)/timer/_components/TimerRuntime.tsx | Deferred controller creation, snapshot loading, scheduling, and confirmed-only completion effects. |
|---|
utils/timerSession.ts | Shared account session request with lightweight response validation. |
|---|
app/(tools)/timer/_components/FloatingTimerDock.tsx | Compact floating task bar, task switcher, retained pause, and completion feedback. |
|---|
app/(tools)/timer/_components/RunningTaskProgress.tsx | Shared progress ticks for running cards and ordering updates for concurrent tasks. |
|---|
app/(tools)/timer/hooks/useTimerClock.ts | Server-aligned display ticks, with immediate refresh on visibility changes. |
|---|
app/(tools)/timer/utils/timerClock.ts | Request-timing clock calibration and synchronized display boundaries. |
|---|
components/floating/FloatingDock.tsx | Shared player visibility, Music-above-Timer layout, and notices. |
|---|
components/floating/useFloatingDockPosition.ts | Shared Music and Timer navigation gap, desktop positioning, and combined floating layout clearance. |
|---|
app/(tools)/timer/hooks/useTimerSchedule.ts | Completion and midnight refresh deadlines and timeout cleanup. |
|---|
app/(tools)/timer/utils/scheduledTaskStarts.ts | In-memory window observation, idle queue, and conditional automatic-start requests. |
|---|
app/(tools)/timer/hooks/useTimerAudio.ts | Audio activation, ticking, and audio ownership. |
|---|
app/(tools)/timer/hooks/useTimerTicking.ts | Settings subscription to local ticking and audio unlock on user interaction. |
|---|
app/(tools)/timer/utils/timerController.ts | Stable actions and cached field selections over the mutation controller. |
|---|
app/(tools)/timer/utils/timerConnection.ts | Loading, ready, reconnecting, or failed status derived from read failures. |
|---|
app/(tools)/timer/utils/timerInput.ts | Shared task-input limits and form parsing; legacy stored limits remain separate. |
|---|
app/(tools)/timer/hooks/useTimerNotifications.tsx | Completion claims, browser notifications, sound, and visible feedback. |
|---|
app/(tools)/timer/utils/timerClient.ts | API transport, cache keys, validation, and tab change subscriptions. |
|---|
app/(tools)/timer/utils/timerMutations.ts | In-memory optimistic projection, ordered saves, revision reconciliation, rollback, and failed form drafts. |
|---|
app/(tools)/timer/utils/timerEngine.ts | Shared settlement, actions, completion claims, Multitask, and Autoplay rules. |
|---|
app/(tools)/timer/server/timerDatabase.ts | Turso schema, indexed reads, historical totals, task/preference writes, and transactions. |
|---|
app/(tools)/timer/utils/timerBackup.ts | Versioned backup validation, paused export copies, and conflict-safe imports. |
|---|
app/(tools)/timer/hooks/useTimerAudioOwner.ts | Single-owner ticking audio, with a focused-tab fallback. |
|---|
app/(tools)/timer/hooks/useTimerPolling.ts | One visible polling tab through Web Locks, with independent polling as a fallback. |
|---|
app/(tools)/timer/utils/timerSound.ts | Action sounds, Quartz clock ticking, and completion ringing. |
|---|
app/(tools)/timer/utils/timer.ts | Types, time calculations, empty personal days, and sample data generation. |
|---|
app/(tools)/timer/utils/timerValidation.ts | Validation schemas for stored records and API messages. |
|---|
app/(tools)/timer/migrate-timer.ts | Saves every Timer table to ~/Documents/Backup, initializes Turso, and imports backup or legacy JSON history. |
|---|
app/(tools)/timer/seed-timer.ts | Creates sample history for the previous 30 completed days. |
|---|