Skip to content

Fix Shift lifecycle issue#288

Open
QuinnieLiu wants to merge 1 commit intomainfrom
QingLiu/fix/Shift-lifecycle-issue
Open

Fix Shift lifecycle issue#288
QuinnieLiu wants to merge 1 commit intomainfrom
QingLiu/fix/Shift-lifecycle-issue

Conversation

@QuinnieLiu
Copy link
Copy Markdown
Collaborator

Support shift status editing with proper state transitions and mapping

  • Expand updateShift endpoint to handle all valid statuses
  • Define complete state transition rules (open→applied/assigned, etc)
  • Add displayToBackendStatusMap for UI↔backend sync
  • Remove optimistic update that could cause state reversion
iShot_2026-04-17_16 03 43 iShot_2026-04-17_16 03 56 iShot_2026-04-17_16 04 18 iShot_2026-04-17_16 04 25 iShot_2026-04-17_16 04 32

@QuinnieLiu QuinnieLiu force-pushed the QingLiu/fix/Shift-lifecycle-issue branch from e66a1d7 to 85b50b1 Compare April 17, 2026 06:44
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