feat(player-management): improve player edit/delete workflow #69
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
umpire274/bs_scoring!69
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "v0.11.2"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit:
e33365c3b0ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
When a player belongs to a team with
league_id = NULL, the new edit/delete flow can no longer reach that player because it only lists teams returned byTeam::get_by_league. This is a supported state elsewhere: team creation still offers0. No league(src/cli/screens/team.rs:51-54), and player CSV import auto-creates teams withleague_idset toNone(src/cli/screens/players.rs:480-483). In those cases users who previously could edit/delete the player now see no selectable path, so this flow needs a “No league” option or another way to include unassigned teams.Useful? React with 👍 / 👎.