-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Issue #34: Build Task Configuration Cards
Labels: epic-6, components, tasks, priority-high
Milestone: Epic 6 - Tasks Configuration
Dependencies: #21, #45
Description:
Create grid of task cards showing configuration and statistics.
Acceptance Criteria:
- Create
TaskConfigGridcomponent - Display all 7 tasks as cards
- Each card shows:
- Task name with icon
- Required people count (editable inline or via modal)
- Group restriction badge
- Total times assigned (all-time stat)
- Most recent assignees (last 3)
- Add click handler to open detail modal
- Ensure responsive grid layout
- Add loading states
- Write unit tests
Issue #35: Build Task Detail Modal
Labels: epic-6, components, tasks, forms, priority-high
Milestone: Epic 6 - Tasks Configuration
Dependencies: #14, #34, #36, #45
Description:
Create modal for viewing and editing task details.
Acceptance Criteria:
- Create
TaskDetailModalcomponent - Display task information:
- Name and icon
- Current required count (editable)
- Group restrictions (editable checkboxes)
- Show assignment frequency chart
- List people who've never done this task
- Add save/cancel buttons
- Add form validation
- Show success toast on save
- Write unit tests
Issue #36: Build Assignment Frequency Chart
Labels: epic-6, components, tasks, charts, priority-medium
Milestone: Epic 6 - Tasks Configuration
Dependencies: #45
Description:
Create bar chart showing task assignment frequency over time.
Acceptance Criteria:
- Create
AssignmentFrequencyChartcomponent - Display bar chart (Recharts)
- X-axis: Time periods (months or assignment cycles)
- Y-axis: Assignment count
- Show trend line (optional)
- Add tooltip on hover
- Ensure responsive design
- Add loading state
- Write unit tests
Technical Notes:
- Use Recharts BarChart component
- Aggregate data by time period
Issue #37: Implement Task Editing
Labels: epic-6, features, tasks, priority-high
Milestone: Epic 6 - Tasks Configuration
Dependencies: #35, #45
Description:
Implement backend integration for updating task configuration.
Acceptance Criteria:
- Create API hooks for:
- Fetching task configuration
- Updating required count
- Updating group restrictions
- Implement form submission
- Add optimistic updates
- Handle errors gracefully
- Refresh task list after update
- Show success/error toasts
- Write integration tests
Technical Notes:
- May require backend API changes
- Use TanStack Query mutations