Commit Graph
5 Commits
Author SHA1 Message Date
tiennm99 77d0afed54 feat(01-04): create ItemsList component for displaying items
- Subscribes to store.items signal
- Displays each item with name and formatted price
- Includes ItemAssign component for each item
- Shows empty state when no items added
2026-03-12 02:51:29 +00:00
tiennm99 24f5fc14b2 feat(01-04): create ItemAssign component for assigning people
- Multi-select checkbox UI for each person
- Reflects current assignment state
- Toggles person on/off when clicked
- Calls store.setAssignment on change
- Shows hint when no people added
2026-03-12 02:50:57 +00:00
tiennm99 f3214341f0 feat(01-04): create ItemForm component for adding items
- Controlled form with name and price inputs
- Calls store.addItem on form submit
- Shows error message on validation failure
- Clears inputs on successful add
2026-03-12 02:50:31 +00:00
tiennm99andClaude Opus 4.6 a483f2e476 feat(01-03): create PeopleList component
- Subscribes to store.people signal
- Renders list of person names with unique keys
- Shows empty state when no people added
- Preact Signals auto-track dependencies in components

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 02:46:12 +00:00
tiennm99andClaude Opus 4.6 aeb613c36a feat(01-03): create PersonForm component
- Controlled form with useState for local state
- Calls store.addPerson on form submit
- Shows error message if addPerson fails
- Clears input on successful add
- Uses Preact hooks for form state management

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 02:46:06 +00:00