Commit Graph

174 Commits

Author SHA1 Message Date
ccb34d12d5 feat: Add soft delete, remove Apple Reminders, improve Google Tasks sync
Add soft-delete support for tasks with deletedAt field and migration.
Remove Apple Reminders iCloud integration entirely (API routes, lib,
UI modal, and Python script) in favor of CalDAV approach. Add periodic
pull-sync from Google Tasks every 2 minutes with deletion detection.
Fix orphaned someday task rescue and cross-list task toggle/edit.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-21 09:04:49 +01:00
dd8d471a1d fix: Switch Apple Reminders to CalDAV, restore date picker, add goal scope
- Replace broken CloudKit/pyicloud Apple Reminders integration with
  CalDAV-based approach (getAppleReminderLists, fetchTasks from
  apple-calendar.ts) in tasks/lists, tasks/import, and tasks/sync routes
- Restore calendar date picker icon in header for jump-to-date navigation
- Add goalScope field to User model with migration
- Force-dynamic Google OAuth routes to fix redirect issues
- Update Google Tasks client and sync logic

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 18:23:37 +01:00
7f76774258 fix: Google OAuth redirect, Tasks Account creation, Apple Reminders CalDAV removal
- Fix Google OAuth callback to redirect using NEXTAUTH_URL (prevents session loss behind reverse proxy)
- Create/update Account record during Google OAuth callback so Google Tasks API has access tokens
- Remove legacy CalDAV fallback from Apple Reminders - only use CloudKit (iOS 13+ Reminders app)
- Add debug command to icloud-reminders.py for diagnosing CloudKit connectivity
- Improve profile save error messages to show details
- Add better error logging throughout CloudKit reminders flow

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 17:26:43 +01:00
174c7f3e0e feat: Goal persistence, font settings, z-index fix, task sync, and scope fix
- Save edited quotes as weekly goals on blur (header + settings panel)
- Fresh quote shown when navigating between weeks (no stale cache)
- Add goal font family, size, and weight settings with UI controls
- Lower calendar event z-index so tasks are always draggable on top
- Set line-height: initial on task items for consistent rendering
- Fix Google Tasks auth scope from tasks.readonly to tasks (read/write)
- Add Google Tasks update/delete functions for bidirectional sync
- Sync task renames and deletes back to Google Tasks
- Add goal font fields to Prisma schema and profile API

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 17:06:38 +01:00
798bcfe44a feat: Add Google Tasks, Apple Reminders, task import/sync, holidays, and UI enhancements
- Add Google Tasks integration and Apple Reminders support
- Add task import/export with list management APIs
- Add goal API for weekly goals
- Add German holidays library
- Add ImportListModal component
- Enhance WeeklyView with major UI improvements
- Enhance CalendarSettings with new connection options
- Add external task fields to database schema
- Add Playwright test suites for auth and tasks
- Add iCloud reminders Python scripts

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 16:56:14 +01:00
192c418223 Fix task creation and other updates 2026-02-18 14:36:34 +01:00
46dbf2ac02 Configure app for HTTPS reverse proxy on custom domain 2026-02-18 01:48:33 +01:00
64955ad07b Refactor Apple Calendar integration and sync logic 2026-02-17 15:30:42 +01:00
3e7b87428a feat: Refactor view styles (Simple, Calendar, List) and global renaming
- Implemented Simple view (no borders, added spacing).
- Updated Calendar view to Google Calendar style.
- Renamed TeuxDeux view to List.
- Replaced 'teuxdeux' branding globally.
- Fixed horizontal scrollbars in Simple view.
- Updated global border color.
2026-02-16 11:39:19 +01:00
72e62ead4a feat: Improve rolling tasks logic, UI polish, and fix profile settings persistence
- Relocated 'Now Do This' button and adjusted header alignment
- Hid scrollbars in All-Day Events section for cleaner UI
- Fixed 'Failed to update profile' error and ensured settings persistence
- Improved rolling task logic with collision detection and auto-reschedule
- Cleaned up duplicate code and resolved lint errors
- Updated documentation (task.md, walkthrough.md, implementation_plan.md)
2026-02-16 09:49:00 +01:00
b97230dcb4 Refine night mode contrast, improve settings UI readability, and polish Someday list styles 2026-02-15 18:46:57 +01:00
cb10fd657f feat: refactor auth into singleton and improve UI with custom fonts/colors/animations 2026-02-15 16:10:39 +01:00
345ee6a5e6 feat: implement color settings, today highlight, and smooth scrolling 2026-02-15 15:42:38 +01:00
1bf01e4f12 feat: implement color settings, today highlight, and smooth scrolling 2026-02-15 15:42:22 +01:00
779181ddde feat: visual updates and settings 2026-02-15 15:33:15 +01:00
dcd2e75537 Refactor: single-line task icons, global font application, and improved settings feedback 2026-02-14 10:24:02 +01:00
40e565645a Fix: Unified hover icons overlay and dynamic font loading with previews 2026-02-14 09:12:17 +01:00
13c513b314 Refactor: Unify task hover icon behavior across all variants 2026-02-13 22:48:45 +01:00
a834b440a5 Refactor: Rearrange header, streamline settings, fix task hover icons, and overhaul recurring task manager 2026-02-13 20:12:31 +01:00
0e854b6e9b feat: implement settings sidebar and user preferences
- Refactored SettingsModal to a slide-in SettingsSidebar
- Added comprehensive preference toggles (Someday, All-Day, Schedule)
- Integrated Google Fonts selection (Headline/Body/Weight)
- Synchronized all preferences with DB and WeeklyView state
- Fixed sidebar positioning and overlay CSS
2026-02-13 16:53:44 +01:00
f603168494 feat: enhance font settings, UI improvements, and recurring task logic 2026-02-13 13:00:47 +01:00
5321f06820 style: Widen header time inputs to prevent text cutoff 2026-02-13 10:08:58 +01:00
5782c818ea style: Increase font density for date headers (weight 900, tight spacing) 2026-02-13 10:04:02 +01:00
8069df9e07 style: Refine date header format to 'Weekday, DD.MMM.' with unified font size 2026-02-13 07:20:34 +01:00
bccadb34ce feat: Add Start Week setting, update date header format, and refine Someday styling 2026-02-13 07:16:59 +01:00
e9a0a706b7 Fix header layout, add day/night switch, refine night mode styling 2026-02-12 20:14:12 +01:00
7e4ca22e5b feat: enhance UI with motto, section toggles, and fix calendar colors 2026-02-10 11:02:45 +01:00
d054144939 feat: localize app to German and add configurable day hours 2026-02-09 12:11:52 +01:00
a4c4670662 feat: refine animation strategy (day shift vs week slide)
- Implemented mixed View Transition strategy:
  - Week Navigation: Full container slide.
  - Day Navigation: Per-column 'Magic Move' shift.
- Updated navigate function to track navType.
- Updated styling to apply view-transition-name dynamically.
2026-02-01 14:53:45 +01:00
3aad7b5371 feat: smooth navigation adjustment and time grid actions
- Implemented View Transition API for Week Navigation (simultaneous slide-out/slide-in).
- Added Task Action Icons (Notes, Delete) to Time Grid tasks.
- Refactored navigate function to use startViewTransition.
- Updated globals.css with View Transition keyframes and rules.
2026-02-01 14:21:41 +01:00
d92a8c7210 feat: add task actions (notes/delete) and refine animation logic
- Added 'onDelete' and 'onNotes' support to TaskItem.
- Implemented hover actions (Delete and Notes icons) for tasks.
- Added Notes Modal for editing task markdown content.
- Simplified navigation animation to remove blank flash (single-phase slide-in).
- Fixed syntax error in updateTask function.
- Updated styles for modal and task actions.
2026-02-01 12:25:53 +01:00
6d3a49ef2b docs(04-01): complete final polish plan execution
- Polished UI components with enhanced styling and user experience
- Enhanced accessibility compliance (WCAG 2.1 AA)
- Optimized performance across all components
- Applied unified styling and theme consistently
- Completed all tasks from Phase 4, Plan 01
2026-01-26 00:14:55 +01:00
0bac30827c feat(04-01): polish weekly view component with enhanced styling and interactions
- Improved calendar event display with better visual distinction
- Enhanced drag-and-drop feedback and visual cues
- Added loading states and error handling
- Improved responsive design and accessibility
- Updated styling for consistency across components

- Refined calendar settings UI with clearer visual feedback
- Added better sync status indicators
- Improved connection management with confirmation dialogs
- Enhanced error handling and user feedback

- Standardized task form styling with better validation
- Improved form accessibility and user feedback
- Added loading states for task operations

- Enhanced task item styling with better visual hierarchy
- Improved edit/delete functionality with icons
- Added better hover states and transitions

- Refined task list with better empty state messaging
- Improved accessibility for screen readers
- Enhanced loading indicators
2026-01-26 00:12:00 +01:00
43e5296db4 docs(03): create gap closure plans for calendar integration
Address gaps found in verification:
- Fix Google and Apple OAuth callbacks to use real API token exchanges
- Complete calendar event fetching with real API integrations
- Implement bidirectional sync with actual database/calendar operations
- Enable functional calendar connection UI with real OAuth triggers
2026-01-25 15:11:32 +01:00
54e8266919 docs(03): complete phase execution 2026-01-25 14:46:35 +01:00
aa51b30ea0 docs(03-01): complete calendar integration plan
Tasks completed: 4/4
- Implement Google Calendar OAuth Wrapper
- Implement Apple Calendar OAuth Wrapper
- Create Calendar Events Utility Functions
- Enhance Weekly View with Calendar Events

SUMMARY: .planning/phases/03-calendar-integration/03-01-SUMMARY.md
2026-01-25 14:31:51 +01:00
109533774c docs(phase-3): finalize roadmap and state for calendar integration phase 2026-01-25 13:55:28 +01:00
a3f6c157da docs(03): consolidate plans to match roadmap specification and address checker feedback
- Consolidated OAuth and display functionality into single Plan 01 to match roadmap
- Removed redundant Plan 03
- Updated roadmap to reflect correct plan count
- Improved linking between OAuth and display components
- Enhanced action descriptions to clarify integration points
2026-01-25 13:13:14 +01:00
4008b67a7a docs(03): revise phase plans to address checker feedback
- Fixed requirement coverage for CAL-03 (view calendar events in weekly view)
- Reduced tasks in Plan 01 from 4 to 2 to improve scoping
- Added new Plan 03 for calendar event display functionality
- Updated must_haves to reflect new task structure
2026-01-25 13:05:19 +01:00
3eaf97ed9c docs(03): create phase plan
Phase 3: Calendar Integration
- [2] plan(s) in [1] wave(s)
- [2] parallel, [0] sequential
- Ready for execution
2026-01-25 12:13:20 +01:00
04c7ac3741 docs(02-02): complete implement UI components for weekly calendar view plan
Tasks completed: 6/6
- Create TaskList Component
- Create WeeklyCalendarView Component
- Create Main Tasks Page
- Add Task Form Component
- Add Navigation Controls
- Style Components

SUMMARY: .planning/phases/02-task-management/02-02-SUMMARY.md
2026-01-25 11:25:47 +01:00
132f23a6ee feat(02-02): implement UI components for weekly calendar view
- Created TaskList component with WeeklyTaskItem
- Created WeeklyCalendarView component with drag-and-drop functionality
- Created main tasks page with integration
- Added TaskForm component for creating new tasks
- Implemented navigation controls for week switching
- Added responsive styling for all components

Files created:
- src/components/TaskList.tsx
- src/components/WeeklyCalendarView.tsx
- src/app/tasks/page.tsx
- src/components/TaskForm.tsx
- src/components/WeeklyTaskItem.tsx
- src/app/globals.css
2026-01-25 11:25:03 +01:00
b6c6ea94ef docs: update project state after completing 02-01 plan 2026-01-25 11:18:03 +01:00
4bd7a382bf docs(02-01): complete Implement Database Schema and API Endpoints plan
Tasks completed: 8/8
- Add Task model to Prisma schema
- Create Task Creation API Endpoint
- Create Task Retrieval API Endpoint
- Create Task Update API Endpoint
- Create Task Deletion API Endpoint
- Create Task Completion Toggle API Endpoint
- Create TaskItem Component
- Define Task Model TypeScript

SUMMARY: .planning/phases/02-task-management/02-01-SUMMARY.md
2026-01-25 11:17:42 +01:00
84745822f5 feat(02-01): implement database schema and API endpoints for task management
- Added Task model to Prisma schema with id, title, description, completed, createdAt, updatedAt fields
- Created POST /api/tasks endpoint for task creation
- Created GET /api/tasks endpoint for retrieving all tasks
- Created PUT /api/tasks/:id endpoint for updating tasks
- Created DELETE /api/tasks/:id endpoint for deleting tasks
- Created PATCH /api/tasks/:id/complete endpoint for toggling task completion
- Created TaskItem component for displaying and editing tasks
- Defined Task TypeScript interface
- All endpoints include proper validation and error handling
2026-01-25 11:17:18 +01:00
b71d82d32e fix(02): orchestrator corrections 2026-01-25 10:51:12 +01:00
26f9d29051 docs(02): research phase domain
Phase 2: Foundation
- Standard stack identified
- Architecture patterns documented
- Pitfalls catalogued
2026-01-25 10:37:20 +01:00
84b8e3c09a docs(01): create phase plan
Phase 1: Setup & Authentication
- [3] plan(s) in [1] wave
- [3] parallel, [0] sequential
- Ready for execution
2026-01-25 03:23:17 +01:00
e0c01ae818 docs(01): complete phase 1 execution
Phase 1: Setup & Authentication
- 3 plans completed successfully
- All authentication functionality implemented
- User can signup, login, logout, reset password, and verify email
- Application interface ready for next phase
2026-01-24 21:25:12 +01:00
e35c138496 docs(01): create phase plan
Phase 01: Setup & Authentication
- [3] plan(s) in [2] wave(s)
- [2] parallel, [1] sequential
- Ready for execution
2026-01-24 18:51:40 +01:00