Skip to content

Epic 6: Tasks Configuration #20

@Vitalisn4

Description

@Vitalisn4

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 TaskConfigGrid component
  • 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 TaskDetailModal component
  • 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 AssignmentFrequencyChart component
  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions