Skip to content

Add the coverage page #145

@theosiemensrhodes

Description

@theosiemensrhodes

Add a dedicated Coverage Requests page (separate from the schedule calendar) for coverage-related workflows.

Access

  • Volunteers: can view the page.
  • Admins: can view the page.
  • Instructors: cannot access (hidden in nav + server-side protection).

What it shows

Volunteers see:

  • All shifts up for coverage.
  • Their own shifts that were taken by another volunteer (their request was filled).
  • Volunteers do not see why a shift was put up for coverage on the sidebar

Admins see:

  • All shifts in any coverage-related state.

  • Admins see all information like the figma displays.

  • Actions (Volunteers)

  • Can take someone else’s coverage request (cover the shift). clientApi.coverage.fillCoverageRequest

  • Can withdraw their own coverage request (when not filled). clientApi.coverage.cancelCoverageRequest

Notes:

  • This page is very similar to the list portion of the schedule page, so you can check there for information
  • The figma is generally correct but many specifics are wrong. i.e. there are not 2 tabs for coverage/absence and on the figma it assumes all viewers are admins which is wrong.
  • The function to fetch coverage requests is not implemented yet. For now fake data can be used until Create the coverage.list route #146 is implemented.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions