Skip to content

Add All Shifts tab with apply flow for guards#267

Merged
TeddyScript101 merged 2 commits intomainfrom
Krisha190235/feature/guard-shifts-all-tab
Apr 9, 2026
Merged

Add All Shifts tab with apply flow for guards#267
TeddyScript101 merged 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

@TeddyScript101 TeddyScript101 merged commit 52c3563 into main Apr 9, 2026
2 checks passed
@TeddyScript101 TeddyScript101 deleted the Krisha190235/feature/guard-shifts-all-tab branch April 9, 2026 07:00
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.

2 participants