Skip to content

Task 3.1: Staff Availability Management #19

@scrollinondubs

Description

@scrollinondubs

Description

Build admin interface for managing staff schedules using React Hook Form and Zod validation.

Epic

Part of Epic 3: Staff Scheduling (#18)

Technical Details

  • Files: /app/admin/staff/page.tsx, /components/admin/staff-availability-form.tsx
  • Framework: Next.js Server Components + Client Components
  • Forms: React Hook Form + Zod validation
  • UI Components: shadcn/ui (Calendar, Select, Form components)
  • State Management: TanStack Query + Next.js Server Actions

Acceptance Criteria

  • Admins can update staff availability easily
  • Changes sync across all platforms
  • Calendar view shows staff schedules
  • Set recurring schedules (M-F, weekends)
  • Mark unavailable dates
  • Form validation with proper error messages

Dependencies

Estimated Effort

25 hours

Priority

P0

Git Worktree

Can be developed in parallel after API endpoints are complete.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions