27 Commits

Author SHA1 Message Date
jessikitty c4706f1779 Phase 3.1: Add remaining local files 2026-02-05 16:04:20 +11:00
jessikitty e3cae7bfbb Phase 3.1: Enhanced Chore Logging and Reporting System 2026-02-05 12:33:51 +11:00
jessikitty ca702b9703 Phase 3.1: Add Reports page - weekly dashboard with charts, leaderboards, stats 2026-02-05 12:25:05 +11:00
jessikitty 29b49253d7 Phase 3.1: Add choreLogs API service for frontend 2026-02-05 12:13:30 +11:00
jessikitty c7d9e90980 Add EditChoreModal component for admin chore editing
New component that allows admins to edit existing chores:
- Loads chore data and pre-populates form with current values
- Multi-user checkbox selection grid
- Updates all chore fields: title, description, room, frequency, points, due_date, assigned_user_ids
- Loading spinner while fetching chore
- Error handling with detailed messages
- Admin-only feature called from ChoreCard edit button
2026-02-02 12:12:07 +11:00
jessikitty 2f252948c0 Update ChoreCard: Multi-user display, birthday icons, points, and admin edit button
- Display multiple assigned users with completion status per user
- Show birthday emoji 🎂 for users with birthday today
- Display points with  emoji
- Add Edit button for admins (calls onEdit prop)
- Show "Birthday chore! Give them a break today" message
- Update frequency icons (added fortnightly, on_trigger)
- Check if current user is assigned and show appropriate completion button
- Only show Complete button if user is assigned and hasn't completed yet
2026-02-02 12:11:31 +11:00
jessikitty 0969cde841 Update chores API: Add multi-user support, birthday filtering, and points
- Added AssignedUser interface with birthday and completed_at fields
- Updated Chore interface with assigned_users array and points field
- Added assigned_user_ids to CreateChoreRequest and UpdateChoreRequest
- Added query params to getChores: user_id and exclude_birthdays
- Added assignUsers method for POST /chores/{id}/assign endpoint
- Updated frequency enum to include 'on_trigger' and 'fortnightly'
2026-02-02 12:10:45 +11:00
jessikitty b214f56570 Add Settings link to Dashboard header 2026-01-28 17:39:30 +11:00
jessikitty d4608fefbe Add Settings route to application 2026-01-28 17:38:50 +11:00
jessikitty c9d98f8a32 Create Settings page with profile editing and admin user management 2026-01-28 17:26:59 +11:00
jessikitty 54dfc39e32 Fix date conversion: convert YYYY-MM-DD to datetime format before submission 2026-01-28 17:21:25 +11:00
jessikitty 2b0f3f66c8 Fix text color visibility and error handling, update frequency options 2026-01-28 17:04:16 +11:00
jessikitty b2a9b7ea04 Fix login sequence: store token BEFORE calling getCurrentUser 2026-01-28 14:59:16 +11:00
jessikitty baa93959e4 Fix input text color visibility (add text-gray-900) 2026-01-27 22:49:39 +11:00
jessikitty c8897ba69c Update App.tsx with routing and authentication 2026-01-27 22:29:34 +11:00
jessikitty d21c368cfd Add CreateChoreModal component 2026-01-27 22:22:59 +11:00
jessikitty da92c08a7e Add ChoreCard component 2026-01-27 22:22:37 +11:00
jessikitty 93a2b8acb1 Add dashboard page with chore management 2026-01-27 22:22:21 +11:00
jessikitty cdfcb1bcce Add login page component 2026-01-27 22:21:51 +11:00
jessikitty edd51e61d3 Add auth context for user state management 2026-01-27 22:21:39 +11:00
jessikitty d2f6fbd886 Add chore service API 2026-01-27 22:21:28 +11:00
jessikitty 6bcc0554e0 Add auth service with login/logout 2026-01-27 22:21:16 +11:00
jessikitty 00bf118781 Add axios API client with auth interceptors 2026-01-27 22:21:08 +11:00
jessikitty 784e89e068 Add frontend App test file 2026-01-26 21:51:31 +11:00
jessikitty 903cee27b9 Add frontend App.tsx with welcome page 2026-01-26 21:51:22 +11:00
jessikitty 8604708df1 Add frontend index.css 2026-01-26 21:51:06 +11:00
jessikitty 900d3737af Add frontend main.tsx 2026-01-26 21:50:59 +11:00