Skip to content

Ability to replace a player in all strats #293

Description

@craykos

Is your feature request related to a problem? Please describe.
Currently when a player leaves the team, you need to go through every strat to replace the old player with the new player.
In a maintained stratbook this takes hours.

Describe the solution you'd like
Having a replace function on the "Team" page.

Example:
Goal: Player "oldplayer" (added in the stratbook with @oldplayer ) should be replaced in all strats with "newplayer"

Solution: In the player bar on the "Team" page is a new button "inject". When clicking on this button in the bar from "newplayer" a pop up opens where you can select a player who should be replaced. When selecting "oldplayer" and clicking on ok. A dialogue warns that this action will replace player "oldplayer" in all strats for "newplayer"
After clicking on Ok, the "newplayer" is now in all strats instead of "oldplayer"

Additional context
The reason for "inject" instead of "replace" as button name and having to click on the button on the bar of the new player:
When you want to replace a player, you intuitionally click on the replace button of the old player. The issue with that is that the oldplayer maybe already left the team.
With the player leaving there is no player bar of the old player on the Team page and the button could not be used anymore.
Therefore, it is better to have the button on the new player.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions