Commit Graph

40 Commits

Author SHA1 Message Date
9be39b0b30 fix: full-screen slide animation for day/week nav 2026-03-04 02:30:26 +01:00
b7fa5ff7c0 fix: consolidate slide animation CSS - remove 3 conflicting keyframe blocks 2026-03-04 02:17:41 +01:00
c7fc01b782 Add Microsoft Auth and update Auth UI 2026-03-03 14:03:09 +01:00
b001845890 feat: mobile UX overhaul and fix Google OAuth
- Add touch-friendly task actions (tap-to-reveal toolbar)
- Add swipe gestures (right=complete, left=delete)
- Add compact mobile header with overflow menu
- Add FAB + bottom sheet for quick task creation
- Add mobile date picker as centered modal
- Add touch feedback CSS (scale on press, no sticky hover)
- Fix Google sign-in by adding allowDangerousEmailAccountLinking
- Fix Google Calendar OAuth using separate 'google-calendar' provider
  to avoid collision with NextAuth's Account records
- Update all API routes to support both provider names

v1.11.0

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-02 18:41:46 +01:00
163e9c1a07 feat: major update — mobile fix, auth decoupling, CalDAV perf, projects, fonts, quotes
Mobile fixes:
- Add viewport meta tag (was missing, causing broken mobile rendering)
- Make header nav controls visible on mobile (opacity-0 group-hover was invisible on touch)
- Add touch swipe gestures for day navigation on mobile
- Fix viewDays responsive override after profile load

Bug fixes:
- Fix goal save (WeeklyView used POST but route only had GET/PUT; fix to use PUT, add POST alias)
- Fix body key mismatch (goal → text) in goal save request

Auth & identity (Task 1):
- Add accountNumber (auto-increment) to User model for stable identity
- Fix OAuth flows: pass user CUID in state instead of email
- Google/Outlook callbacks now look up users by ID, not email
- Non-Gmail users can now connect Google Calendar/Tasks

CalDAV performance (Task 5):
- Embed CalDAV object URL in Apple event IDs (caldav::<url>::<uid> format)
- Delete/update now use O(1) direct URL access instead of O(n) full calendar scan
- Optimistic UI removal on delete (no blocking force-refresh)
- Legacy fallback for old-format IDs during transition

Apple Calendar data (Task 2):
- Pass URL, location, recurringEventId, isRecurring through full pipeline
- Add url, recurringEventId, isRecurring to CachedCalendarEvent schema
- Calendar cache now reads/writes all new fields

Projects (Task 6):
- New Project model (name, icon, color, description, order)
- CRUD API at /api/tasks/projects
- Tasks now support optional projectId with cascading nullify

Quotes (Task 4):
- Curated local quote database (50 quotes, DE+EN) with tag filtering
- Preset quote source APIs (ZenQuotes, Quotable, Forismatic, Type.fit)

Fonts (Task 7):
- FontPicker component with searchable dropdown and live preview
- /api/fonts endpoint (Google Fonts API proxy with 24h cache, fallback to 40 popular fonts)

Quick Settings (Task 8):
- QuickSettingsSidebar component (font size, spacing, show completed, start day, show lines)
- New user preferences: showCompletedTasks, showLines, startDayOffset, quoteSourceUrls

v1.9.0

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 17:55:49 +01:00
fcaadc1ce9 Refactor Someday area to grid layout with dynamic slots, fixed scrolling, and border refinements 2026-03-01 11:58:48 +01:00
dea7c387ea v1.7.0: Responsive mobile layout + boot update script
- Add responsive CSS breakpoints (480px/768px/1024px)
- Auto-adjust viewDays based on screen width
- Keep time column visible on mobile (compact)
- Add boot-update.sh for auto-update on reboot
- Fix Suspense boundary in verify-email page
- Bump version to 1.7.0
2026-02-27 13:03:25 +01:00
2133364e3d feat: email verification, auto-save settings, calendar UX improvements
- Email verification: 6-digit code + one-click link on signup
- SMTP integration with nodemailer (lazy-init, auto-detect TLS)
- Verify-email page with 6 input boxes, paste support, auto-submit
- Resend verification with 60s rate limiting
- Block login for unverified email accounts

- Auto-save settings: debounced 800ms save on all profile changes
- Redirect to calendar settings after OAuth connection
- Fix Google Calendar connection display after connecting
- Task actions hover toolbar: fix z-index/overflow clipping on first row
- Make day header sticky with proper stacking context
2026-02-27 08:57:15 +01:00
dddde43935 feat: add setting to show task checkboxes in weekly view
- Add showTaskCheckboxes field to User model in Prisma schema
- Create database migration for the new field
- Update user profile API to handle the new setting
- Implement checkbox rendering in GridTaskBlock controlled by user preference
- Add CSS styles for task checkboxes
2026-02-25 12:59:55 +01:00
f0672e5c68 feat: fix Docker deployment, OAuth redirects, event editing, and UI improvements
- Fix Docker build: resolve hooks-rules-of-hooks in GridTaskBlock, add Suspense
  boundary for useSearchParams, fix non-root user home dir and prisma binary path
- Add comprehensive DB migrations for missing columns/tables (WeeklyGoal,
  CachedCalendarEvent, User settings, SomedayList sync fields, Task subtasks)
- Fix Outlook OAuth redirect using NEXTAUTH_URL instead of request.url
- Fix CalendarEventModal preserving existing event dates (support flat format)
- Fix header z-index layering so goal text doesn't block hover controls
- Convert font size selects to free-form text inputs, add dayHeaderGap setting
- Add goal 2-line clamping with 500px max width
- Fix weekend colors not applying to date elements

v1.6.0

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 23:18:13 +01:00
279d1a4c49 Fix notes popup positioning, reposition task actions to avoid overlap, and improve Apple Calendar sync 2026-02-24 12:58:19 +01:00
368928c016 Reposition notes popup to floating vertical container and various integration fixes 2026-02-24 12:26:02 +01:00
8842123caf feat: improve calendar sync, event modal, and task list management
- Fix All Day checkbox positioning in CalendarEventModal (own row)
- Add provider name to calendar dropdown (Google/Apple/Outlook)
- Optimistic UI updates after event save/delete (no reload needed)
- Force-refresh calendar cache after event mutations
- Reduce background sync interval from 5min to 2min
- Support forceRefresh in background-sync API
- Use shared Prisma singleton in tasks sync route
- Add per-provider task list fetching and sync checkboxes
- Add allDay support to event creation and editing

v1.4.0
2026-02-24 11:01:15 +01:00
c82572935c feat: dark mode color adjustment, multi-source quotes, UI text wrapping, and versioning rules
- Add dark mode color adjustment helper for category colors
- Support multiple motivational quote source URLs
- Fix text wrapping for tasks/events to prevent horizontal overflow
- Improve someday list item layout for long text
- Add CLAUDE.md with semantic versioning and git workflow rules
- Update test/doc URLs and planning docs

v1.1.0

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 23:33:25 +01:00
8496c2daa4 fix: enable text wrapping for tasks and events to prevent horizontal scrollbars
- Updated globals.css for .time-slot-task and .time-slot-event row

- Removed white-space: nowrap from GridTaskBlock title span

- Added word-wrap: break-word to simple-view columns
2026-02-23 22:13:36 +01:00
138f5d8030 fix: restore settings sidebar visibility by fixing CSS positioning
- Reverted right: -480px to right: 0 in globals.css

- Maintained widened sidebar (480px) while fixing the translateX animation conflict
2026-02-23 22:06:16 +01:00
83d0d0b920 fix: implement custom CSS sync spinner and update all components
- Replaced broken animate-spin Tailwind class with custom weekly-spinner CSS

- Standardized loading indicators across Auth, Tasks, and Calendar settings

- Fixed JSX syntax errors in several components
2026-02-23 22:04:16 +01:00
eb5065131a fix: remove grid task resize handle, improve hover menu visibility, and fix motivation settings tab
- Removed bottom-center resize handle from GridTaskBlock

- Ensured hover menu is always visible and unclipped for all task heights

- Widened settings sidebar to 480px for better tab spacing

- Fixed conditional rendering of quote settings in WeeklyView
2026-02-23 22:00:04 +01:00
f9d578ddf1 fix: time grid layout alignment and task drag/drop collision detection
- Removed boxed background from grid tasks and added hover-only resize handle

- Fixed vertical drop calculation using correct cell sizes

- Aligned time column header perfectly using a structural ghost replica

- Added collision detection to prevent dragging tasks over occupied slots
2026-02-23 21:29:56 +01:00
999b354cc8 feat: Move all-day position to settings, time indicator to left, add note icons
- Move all-day event position toggle from toolbar into Settings > General tab
- Render current time label in the time column (left of the red dot line)
- Add note icon on tasks with markdownContent, with hover tooltip
- Add English and German translations for all-day position setting

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 16:27:42 +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
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
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
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
5782c818ea style: Increase font density for date headers (weight 900, tight spacing) 2026-02-13 10:04:02 +01:00
e9a0a706b7 Fix header layout, add day/night switch, refine night mode styling 2026-02-12 20:14:12 +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
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
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