Repository navigation
feat(participants): edit your registration answers inside the hackathon - #358
Merged
Merged
Conversation
"Edit answers" on your own profile opened /register/[id], which sits outside the hackathon: the sidebar disappeared, saving left you on the form, and Back and Cancel led to the dashboard. Add an answers page under your own profile. It keeps the sidebar, and saving, Back and Cancel all return to the profile. It answers 404 for anyone else's id. /register stays the page for signing up and for the waiting list, which cannot reach the hackathon's layout. Both now share RegistrationForm.svelte for the questions, their checks and the "Required" note.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
As a participant correcting my registration answers, I want to stay inside the hackathon while I do it.
Before, "Edit answers" on your profile sent you to the sign-up form, which sits outside the hackathon. The sidebar disappeared, saving left you on the form, and "Back" and Cancel went to the dashboard. On the Participants list, your own row also just said "View", with nothing hinting that's where you edit.
Now "Edit answers" opens your answers on a page inside the hackathon, with the sidebar still there. Saving takes you back to your profile, where the updated answers are the confirmation, and "Back" and Cancel lead there too. Your own row on the Participants list says "View & edit".