Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Leaderboard Edit Page #4

Open
TheTedder opened this issue Nov 11, 2024 · 0 comments · May be fixed by #23
Open

Leaderboard Edit Page #4

TheTedder opened this issue Nov 11, 2024 · 0 comments · May be fixed by #23

Comments

@TheTedder
Copy link
Collaborator

There must be a leaderboard edit page that lives at /leaderboard/{id}/edit where {id} is a long integer. If the id route parameter does not correspond to an existing (including deleted) leaderboard, the page must display "leaderboard does not exist."
There must be a back button at the top of the page content that takes the user to the leaderboard view page when clicked. If the user has unsaved changes, they are given a confirmation prompt before navigating away.
The page must display the leaderboard's fields the same as the leaderboard view page except instead of text, the leaderboard's name, slug, and info will be text input form fields. The name and slug must be short text input (<input type="text">) and the info must be long text input (<textarea>). The text fields must begin populated with the existing values that the leaderboard has for them
There must be a "save" button below the leaderboard edit form. Clicking on this button submits the changes the user has made. If the changes are accepted, the user is returned to the leaderboard view page. If the changes are not accepted, an error is displayed.

@zysim zysim linked a pull request Dec 16, 2024 that will close this issue
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 a pull request may close this issue.

1 participant