Commit Graph

39 Commits

Author SHA1 Message Date
saravanakumardb1
931746a119 feat(reschedule): add AI reschedule engine with shift, skip, push, undo and smart suggestions 2026-02-27 22:13:27 -08:00
saravanakumardb1
fc05ea12ba feat(web): routine editor/runner UI, linked timers, routines page
- RoutineEditor component: add/remove/reorder steps, transition types, notes, save-as-template toggle, total duration display
- RoutineRunner component: countdown ring, step dots, progress bar, next step preview, pause/resume/skip/done/cancel, completion celebration
- Routine store (lib/routine-store.ts): Zustand + localStorage persistence, template management, auto-advance via tickRoutines()
- Routines page (app/routines/): template browser, active runner, ready queue, past routines
- Linked timers engine (lib/linked-timers.ts): chain building/append/remove with relinking, 3 presets (Pasta, Laundry, Meeting Prep), downstream queries
- Linked timers tests (27 tests)
- Dashboard: added Routines + nav link
- Updated roadmap.md Week 3 items
- 329 tests passing (14 test files), tsc clean
2026-02-27 22:07:16 -08:00
saravanakumardb1
0b798bf9ff test(shared): add SharedTimerData tests + update roadmap Week 7 checkmarks 2026-02-27 22:01:57 -08:00
saravanakumardb1
016a3d14e5 feat(project): add widget, watchOS, and complications targets to project.yml with dependencies 2026-02-27 22:01:51 -08:00
saravanakumardb1
36523334c4 feat(siri): add App Intents for Siri Shortcuts — set timer, start pomodoro, next timer info 2026-02-27 22:01:46 -08:00
saravanakumardb1
71bda1dab9 feat(watch): add watchOS app with timeline, timer detail, quick presets, haptics, and complications 2026-02-27 22:01:39 -08:00
saravanakumardb1
5936016a36 feat(widget): add WidgetKit widgets — small, medium, lock screen with AppIntentTimelineProvider 2026-02-27 22:01:34 -08:00
saravanakumardb1
4b1cbcf81b feat(live-activity): add ActivityKit attributes and LiveActivityManager for Dynamic Island 2026-02-27 22:01:28 -08:00
saravanakumardb1
46d9866253 feat(shared): add App Groups data layer for iOS/Watch/Widget communication 2026-02-27 22:01:24 -08:00
saravanakumardb1
38bb2629e9 feat(web): Phase 2 — stats, categories, recurring, export/import, calendar .ics
- Statistics + streaks engine (lib/stats.ts) with daily/weekly/monthly breakdowns, on-time rate, focus time, streak tracking (23 tests)
- Categories/tags system (lib/categories.ts) with 6 built-in categories, custom tags, default urgency+cascade per category (29 tests)
- Recurring timer engine (lib/recurrence.ts) with daily/weekday/weekend/weekly/biweekly/monthly/custom rules, skip/pause, DST edge cases (37 tests)
- Timer export/import as JSON (lib/export.ts)
- Calendar .ics import (lib/calendar-import.ts) with RFC 5545 parsing, conflict detection, priority-to-urgency mapping (26 tests)
- StatsView component with Recharts (bar, line, pie charts)
- StreakCard component with milestone badges
- History page (/history) with stats, history search/filter, import/export
- Category picker in CreateTimerModal with auto urgency+cascade defaults
- Category filter chips on Dashboard + History link in header
- Installed recharts dependency
- Updated roadmap.md Phase 2 Week 4-5 with completion status
- 302 tests passing (up from 82 in Phase 1)
2026-02-27 21:59:09 -08:00
saravanakumardb1
e6b97fcbf0 feat(deploy): Phase 1 polish — analytics, install prompt, a11y, PWA icons 2026-02-27 21:57:43 -08:00
saravanakumardb1
1235a2b218 docs: update roadmap Phase 2 with completed items
Routine engine (45 tests), NL parser (37 tests), context messages (23 tests),
focus mode, and CreateTimerModal NL integration all marked complete.
Total: 276 tests passing, tsc clean.
2026-02-27 21:46:24 -08:00
saravanakumardb1
065bb1b1a0 feat(web): add focus mode UI and NL parser integration
- FocusView component: duration presets, 'until next timer' mode, pomodoro shortcut,
  full-screen countdown ring, pause/resume, session summary with stats
- Focus page at /focus with minimal header and back navigation
- NL parser integrated into CreateTimerModal with live parse preview,
  Enter-to-create, and type/label/urgency detection display
- Dashboard header: added Focus Mode (Eye icon) link
2026-02-27 21:45:37 -08:00
saravanakumardb1
8fe5e8e787 feat(web): add routine engine, NL parser, and context messages
- Routine engine: data model, state machine (start/pause/resume/complete/skip/cancel),
  4 built-in templates (Morning, Workout, Cooking, Wind-Down), template instantiation
- NL parser: regex-based parsing for relative times, absolute times, durations,
  pomodoro, urgency detection, label extraction (no LLM dependency)
- Context messages: keyword→message rules for 20+ categories (meetings, flights,
  cooking, health, etc.), warning message formatting
- 105 unit tests (45 routines + 37 NL parser + 23 context messages)
2026-02-27 21:42:29 -08:00
saravanakumardb1
885a2685ad docs(ios): update roadmap Phase 3 Week 6 with iOS app foundation progress
- Xcode project setup:  (XcodeGen, iOS 17+, zero third-party deps)
- Timer engine Swift port:  (TimerEngine, Cascade, Urgency, Format, TimeBlindness)
- Data models:  partial (CMTimer Codable struct, UserDefaults persistence)
- iOS screens:  (Timeline, CreateTimer, Pomodoro, History, Settings, AlarmOverlay)
- Notification scheduling:  (UNUserNotificationCenter, cascade warnings, actions)
- Haptic engine:  (urgency-mapped feedback patterns)
- XCTest: 58 tests passing (TimerEngine, Cascade, Format)
- Remaining: Recurrence, NLParser, ContextMessages (Phase 2 web deps), SwiftData migration
2026-02-27 21:27:02 -08:00
saravanakumardb1
445e25bee1 docs: final roadmap update with Serwist SW, toast fallback, Pomodoro celebration commits 2026-02-27 21:24:36 -08:00
saravanakumardb1
35f53e87f5 feat: add Pomodoro session celebration with trophy animation 2026-02-27 21:23:45 -08:00
saravanakumardb1
a1120a56e8 feat: add in-app toast system with notification fallback for denied permissions 2026-02-27 21:21:46 -08:00
saravanakumardb1
28dfa9f929 feat: add Serwist service worker for offline PWA support 2026-02-27 21:18:43 -08:00
saravanakumardb1
cae442d099 test: add time-blindness and urgency tests (82 total passing) 2026-02-27 21:16:49 -08:00
saravanakumardb1
755d030c7a test: add 13 Zustand store tests (66 total passing) 2026-02-27 21:15:30 -08:00
saravanakumardb1
815e1cd7fe docs: comprehensive roadmap update with all Phase 1 checkmarks and commit links 2026-02-27 21:11:39 -08:00
saravanakumardb1
1883697de7 feat: add settings link in dashboard header 2026-02-27 21:10:25 -08:00
saravanakumardb1
cad95be62a feat: add Zod schemas, settings page with sound preview, notification controls 2026-02-27 21:09:33 -08:00
saravanakumardb1
d2b5563414 feat: add time blindness aids, feedback button, tab title flash, system theme detection 2026-02-27 21:08:22 -08:00
saravanakumardb1
b39652accf feat: add Web Audio sound system with urgency-mapped tones and notification integration 2026-02-27 21:06:25 -08:00
saravanakumardb1
a3ebb9fd6d docs: update roadmap.md with Phase 1 progress checkmarks and commit links 2026-02-27 21:03:27 -08:00
saravanakumardb1
02f9a5fc12 ci: add GitHub Actions workflow for lint, typecheck, and test 2026-02-27 21:01:59 -08:00
saravanakumardb1
2a4d66faa9 feat: add dark/light theme toggle with localStorage persistence 2026-02-27 21:01:33 -08:00
saravanakumardb1
ace036b1fc feat: add PWA manifest, landing page, privacy/terms pages, format tests (53 tests) 2026-02-27 21:00:34 -08:00
saravanakumardb1
6b46384304 feat: add PomodoroView, CountdownRing, QuickTimerBar, keyboard shortcuts 2026-02-27 20:58:06 -08:00
saravanakumardb1
da4f3b5419 feat: add Zustand store, dashboard UI, timer cards, create modal, alarm overlay 2026-02-27 20:55:40 -08:00
saravanakumardb1
6ac54d76fd feat: add timer engine, cascade system, urgency system with 40 passing tests 2026-02-27 20:50:36 -08:00
saravanakumardb1
1b148757af docs: apply V2 review fixes to roadmap.md — comprehensive update
P0 Critical:
- Sync API: TBD → platform-service (Fastify, port 4003)
- Cascade presets: aligned with PRD (Aggressive/Standard/Light/Minimal/None/Custom)
- Deprecated APIs: NSUserNotificationCenter → UNUserNotificationCenter, ClockKit removed
- Cloud sync: iCloud Phase 3-4, platform-service REST Phase 5 (no contradiction)
- productId: chronomind registered in header + sync modules
- Open-source: closed-source app, open timer engine lib
- Design tokens: ChronoMind product section, own urgency colors

P1 High:
- Added pre-work (domain, wireframes, design tokens)
- Added CI/CD (GitHub Actions + Vercel auto-deploy)
- Added analytics (platform-service telemetry)
- Added onboarding (3-step walkthrough)
- Added privacy policy + terms of service
- Added web accessibility (WCAG 2.1 AA)
- Added timer accuracy tests + offline resilience strategy
- Added feedback mechanism
- Timer engine: clarified rAF (UI) + setInterval (SW) dual architecture
- Neurodivergent mode: default UX, not toggle (Compact mode for power users)
- Phase 3: macOS deferred to Phase 4, iPad layout added

P2 Medium:
- Calendar sync: two-way → one-way (read-only)
- Event countdown timer added to Phase 2
- Timer export/import added to Phase 2
- iOS waitlist added to Phase 2
- Data export/deletion added to Phase 4
- NL extraction upgrade path added to Phase 4
- Body doubling deferred to v3

New appendices: Cost Estimation, Common Platform Reusability, Key Decisions
Updated: success metrics (aligned with PRD), risk register (+4 new risks)
V2 review doc marked as APPLIED (audit trail)
2026-02-27 20:32:25 -08:00
saravanakumardb1
c20bdc9b20 docs: add 12 PRD cross-reference gaps + platform dependency blockers to V2 review
New findings from systematic PRD ↔ roadmap comparison:
- X-01: Windows/Tauri in PRD but missing from roadmap entirely
- X-02: Event countdown timer type never scheduled in any phase
- X-03: Cascade preset names don't match (PRD vs roadmap)
- X-04: Phase 3 timeline differs (PRD 3wks vs roadmap 4wks)
- X-05: Success metrics contradict between documents
- X-06: Open-source stated in PRD, never discussed in roadmap
- X-07: AI suggestions feature in PRD, absent from roadmap
- X-08: Neurodivergent mode toggle vs default contradicts PRD decision
- X-09: ChronoMind design tokens (--cm-*) conflict with ByteLyst
- X-10: Typography differs (Inter/JetBrains vs DM Sans/IBM Plex)
- X-11: Timer engine architecture unclear (SW vs requestAnimationFrame)
- X-12: Extraction service unused for NL parsing upgrade path

Platform dependency blockers identified from PLATFORM_COMPONENTS_ROADMAP:
- Email/Push Delivery, Password Reset, Event Bus, Scheduled Jobs
- Mitigation: Phase 1-3 unblocked, Phase 4+ has fallbacks

Added @bytelyst/extraction to reusable packages table
Added 4 new decisions to Appendix B (open-source, Windows, AKV, fonts)
Total findings: 7 bugs + 7 arch gaps + 10 missing features + 12 PRD gaps + 5 blockers
2026-02-27 20:18:33 -08:00
saravanakumardb1
c6bef6a717 docs: add roadmap V2 review — gaps, common-plat reuse, bugs identified
- Audit 13 @bytelyst/* packages for ChronoMind reusability
- Audit 17 platform-service modules reusable as-is
- Identify 7 bugs (deprecated APIs, sync contradictions, TBD backend)
- Identify 7 architectural gaps (no productId, no onboarding, no offline strategy)
- Identify 10 missing features (no CI/CD, no analytics, no privacy policy)
- Timeline realism check (Phase 3 too compressed)
- Security, testing, design system, DevOps gap analysis
- Recommend platform-service as backend (not Cloudflare Workers)
- 10 key decisions pending user sign-off before implementation
2026-02-27 17:33:46 -08:00
saravanakumardb1
c02d8cf08c docs: add comprehensive product roadmap (5 phases, Option D strategy)
- Phase 1: Web MVP (Next.js 16 PWA) — timer engine, cascade, visual timeline
- Phase 2: Intelligence — routines, NL input, focus mode, neurodivergent mode
- Phase 3: Apple Native — iOS + Apple Watch + macOS (SwiftUI, not KMP)
- Phase 4: Context & Growth — calendar sync, location, sleep, viral mechanics
- Phase 5: Android + Scale — Jetpack Compose, Wear OS, shared timers, monetization
- Includes: viral playbook, success metrics, risk register, tech stack summary
- Checklists for every phase with exit criteria
2026-02-27 17:27:05 -08:00
saravanakumardb1
a9dc99ec23 docs: add industry research and update PRD v0.2 with competitive analysis
- Add INDUSTRY_RESEARCH.md: market sizing, 9 competitors, 24 feature demands, trends
- Update PRD to v0.2: Next.js 16 + React 19 + TailwindCSS v4 stack
- Add visual timeline, Pomodoro, neurodivergent mode, AI reschedule features
- Promote iOS + Apple Watch to v1.0, add new v1.1 context phase
- Expand competitive analysis (Tiimo, Structured, Alarmy, TickTick, Forest, etc.)
- Add risk assessment section, revised monetization (Family tier)
- Update development phases to realistic 11-week roadmap
2026-02-27 16:57:47 -08:00
saravanakumardb1
67e17609ca docs: expand AI Clock raw idea into comprehensive PRD (ChronoMind) 2026-02-27 16:40:26 -08:00