Skip to content

Add All Shifts tab with apply flow for guards#267

Open
Krisha190235 wants to merge 2 commits intomainfrom
Krisha190235/feature/guard-shifts-all-tab
Open

Add All Shifts tab with apply flow for guards#267
Krisha190235 wants to merge 2 commits intomainfrom
Krisha190235/feature/guard-shifts-all-tab

Conversation

@Krisha190235
Copy link
Copy Markdown
Collaborator

Summary

  • added All tab to Shifts screen
  • fetches all shifts from GET /api/v1/shifts
  • added Apply button for available shifts
  • kept Applied and Completed tabs unchanged
  • reused existing shift card UI for consistency

API used

  • GET /api/v1/shifts
  • GET /api/v1/shifts/myshifts
  • PUT /api/v1/shifts/{id}/apply

Notes

  • All tab shows available and relevant shifts for guard
  • Applied tab continues to show pending/confirmed shifts
  • Completed tab continues to show completed shifts
Screenshot 2026-04-04 at 9 22 25 pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant