Volleyball Elite Academy development update
|
Volleyball Elite Academy
Refresh the Manage Team dialog automatically after Select / Grant Override
|
Refresh the Manage Team dialog automatically after Select / Grant OverrideVolleyball Elite Academy — Development Update • May 17, 2026
--- title: Refresh the Manage Team dialog automatically after Select / Grant Override ---
Refresh the Manage Team dialog automatically after Select / Grant Override
## What & Why The Team Detail dialog on /command-center?tab=training-teams renders from a useState snapshot of the team object captured at click time. After a Select, Grant Override, Waitlist, or Not Selected action, the underlying query refetches, but the open dialog keeps showing the pre-mutation roster (the moved athlete still appears in the Pending list, the Selected table doesn't update, etc.). Admins have to close the dialog and re-open it to see the result of the action they just took — which is the exact workaround the new e2e spec for task #1015 had to apply.
## Done looks like - After any status mutation in the Manage Team dialog, the Pending / Selected / Waitlisted / Not Selected sections update in place without needing a close + re-open - The selection counts at the top of the dialog (Selected / Pending / Waitlisted / Spots Left) reflect the latest server state - The e2e spec at can drop its close+reopen workaround and assert the move directly inside the dialog
## Relevant files - ( useState + props) - (workaround to remove)
|
Volleyball Elite Academy Reply to this email — we read every reply. You received this because you have an account with Volleyball Elite Academy. elitevolleyball.training |
|
No comments:
Post a Comment