You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
first timers onlyOpen for anyone doing contributions for first time. You do not need permission to work on these.platform: learnUI side of the client application that needs familiarity with React, Gatsby etc.scope: UIThreads for addressing UX changes and improvements to user interface
In the exit exam modal, the primary button comes first then the close button, while the reset progress and delete account modals have it the other way around.
We have been displaying buttons from the most used/important to the least (check code -> save code -> get help), so I think the reset progress and delete account modals should be changed to follow the pattern. It's to maintain the consistency and to prevent the user from clicking the wrong button with their muscle memory (the color in this case helps, but non-sighted users won't have the cue).
Other way around, I think. The exit exam should be flipped.
If the top button is the most commonly used one, then we should set that to the non-destructive action here. That way, if someone clicks it out of muscle memory and not intention, they haven't done something irreversible.
Please make sure you read our guidelines for contributing, we prioritize contributors following the instructions in our guides. Join us in our chat room or our forum if you need help contributing; our moderators will guide you through this.
Sometimes we may get more than one pull request. We typically accept the most quality contribution followed by the one that is made first.
Yes, I agree. The 'Reset progress' and 'Delete account' buttons should be reversed. The affirmative option always comes first, followed by the negative option.
first timers onlyOpen for anyone doing contributions for first time. You do not need permission to work on these.platform: learnUI side of the client application that needs familiarity with React, Gatsby etc.scope: UIThreads for addressing UX changes and improvements to user interface
Activity
naomi-lgbt commentedon Dec 19, 2023
Other way around, I think. The exit exam should be flipped.
If the top button is the most commonly used one, then we should set that to the non-destructive action here. That way, if someone clicks it out of muscle memory and not intention, they haven't done something irreversible.
moT01 commentedon Dec 20, 2023
Yup, I think the exam one should be flipped - that's how it is in the danger zone on the settings too
huyenltnguyen commentedon Dec 20, 2023
Okay, thanks everyone for the input.
We are going to proceed with an update in the exit exam modal.
This issue is open to first-time code contributors to this repository. The file that you should be updating is https://github.com/freeCodeCamp/freeCodeCamp/blob/main/client/src/templates/Challenges/exam/components/exit-exam-modal.tsx.
Please make sure you read our guidelines for contributing, we prioritize contributors following the instructions in our guides. Join us in our chat room or our forum if you need help contributing; our moderators will guide you through this.
Sometimes we may get more than one pull request. We typically accept the most quality contribution followed by the one that is made first.
Happy contributing.
Hari-Shankar-Karthik commentedon Dec 20, 2023
Yes, I agree. The 'Reset progress' and 'Delete account' buttons should be reversed. The affirmative option always comes first, followed by the negative option.
Update exit-exam-modal.tsx
adamresemius commentedon Dec 21, 2023
Hello,
I have flipped the order of the buttons. This should reflect the structure that it appears as.
moT01 commentedon Dec 21, 2023
Follow the instructions here to make a PR with your changes @adamresemius
mishalp commentedon Dec 22, 2023
@huyenltnguyen I have flipped the order of exit-exam model buttons, Please review it