Commit Graph

33 Commits

Author SHA1 Message Date
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
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
b214f56570 Add Settings link to Dashboard header 2026-01-28 17:39:30 +11:00
d4608fefbe Add Settings route to application 2026-01-28 17:38:50 +11:00
c9d98f8a32 Create Settings page with profile editing and admin user management 2026-01-28 17:26:59 +11:00
54dfc39e32 Fix date conversion: convert YYYY-MM-DD to datetime format before submission 2026-01-28 17:21:25 +11:00
2b0f3f66c8 Fix text color visibility and error handling, update frequency options 2026-01-28 17:04:16 +11:00
b2a9b7ea04 Fix login sequence: store token BEFORE calling getCurrentUser 2026-01-28 14:59:16 +11:00
cd8a062145 Update API URL to use server IP instead of localhost 2026-01-28 11:35:58 +11:00
baa93959e4 Fix input text color visibility (add text-gray-900) 2026-01-27 22:49:39 +11:00
42a4434b59 Add frontend environment configuration 2026-01-27 22:30:30 +11:00
c8897ba69c Update App.tsx with routing and authentication 2026-01-27 22:29:34 +11:00
d21c368cfd Add CreateChoreModal component 2026-01-27 22:22:59 +11:00
da92c08a7e Add ChoreCard component 2026-01-27 22:22:37 +11:00
93a2b8acb1 Add dashboard page with chore management 2026-01-27 22:22:21 +11:00
cdfcb1bcce Add login page component 2026-01-27 22:21:51 +11:00
edd51e61d3 Add auth context for user state management 2026-01-27 22:21:39 +11:00
d2f6fbd886 Add chore service API 2026-01-27 22:21:28 +11:00
6bcc0554e0 Add auth service with login/logout 2026-01-27 22:21:16 +11:00
00bf118781 Add axios API client with auth interceptors 2026-01-27 22:21:08 +11:00
4b6f8a6969 Add frontend public directory 2026-01-26 21:51:43 +11:00
784e89e068 Add frontend App test file 2026-01-26 21:51:31 +11:00
903cee27b9 Add frontend App.tsx with welcome page 2026-01-26 21:51:22 +11:00
8604708df1 Add frontend index.css 2026-01-26 21:51:06 +11:00
900d3737af Add frontend main.tsx 2026-01-26 21:50:59 +11:00
ec89ce1c4d Add frontend index.html 2026-01-26 21:50:53 +11:00
3fa073f99b Add frontend TypeScript node config 2026-01-26 21:50:47 +11:00
ccc2aaee4f Add frontend TypeScript config 2026-01-26 21:50:42 +11:00
abe48de039 Add frontend postcss config 2026-01-26 21:50:35 +11:00
13029a5a23 Add frontend tailwind config 2026-01-26 21:50:30 +11:00
cc8d1244a6 Add frontend vite config 2026-01-26 21:50:25 +11:00
ad7a148b83 Add frontend package.json 2026-01-26 21:50:18 +11:00
79f2e67d6e Add frontend Dockerfile 2026-01-26 21:50:10 +11:00