Workshop Todo Widget
Component Detail
User Interface
low complexity
mobile
2
Dependencies
0
Dependents
1
Entities
0
Integrations
Description
Compact checklist component rendered inside the workshop detail screen, listing all to-do items scoped to a specific workshop. Supports inline completion toggling via optimistic mutation and opens a bottom sheet for item creation with a required title and optional assignee picker limited to coordinators in the same organization.
workshop-todo-widget
Sources & reasoning
The blueprint explicitly requires this UI component. The feature's primary workflow is a checklist attached to each workshop, requiring a compact widget with toggle and creation UX driven by a Riverpod stream provider scoped to the workshop.
No source references — this artifact was included based on reasoning alone (see above).
Responsibilities
- Render to-do items list scoped to workshop_id via Riverpod AutoDisposeStreamProvider
- Toggle item completion with optimistic UI update and outbox queuing
- Open bottom sheet for new item creation with title and optional assignee
- Display assignee name and completion state per item
Interfaces
buildTodoList(workshopId: String) → Widget
onToggleComplete(todoId: String, isCompleted: bool) → void
openCreateBottomSheet(workshopId: String) → void
Relationships
Dependencies (2)
Components this component depends on