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

feat: Add "Discard Changes" button on Edit Wheel screen #467

Open
phoebe-buffay opened this issue Sep 17, 2024 · 1 comment
Open

feat: Add "Discard Changes" button on Edit Wheel screen #467

phoebe-buffay opened this issue Sep 17, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@phoebe-buffay
Copy link
Collaborator

What feature?

When user is on Edit Wheel screen, and makes some changes in estimation, then decides that it's not needed to be changed and wants to return to the previous estimation statement, then they can click on Discard Changes button to reset just made changes

There is Field Estimation component, which has Save Changes button

  1. Add "Discard Changes" button under Save Changes button
  2. Discard Changes button should be secondary (white inside) and should have the same properties as Save button
  3. Discard Changes button should be inactive until user makes any changes in estimation
  4. If user makes some changes in estimation and then clicks on Discard Changes, then the estimation statement should return to last saved statement
  5. If user clicks on Discard Changes button, they should remain on the Edit Wheel screen
  6. After clicking and discarding, button should become inactive again until new changes are done
Screenshot 2024-09-17 at 15 19 35

Add screenshots

No response

@phoebe-buffay phoebe-buffay added the enhancement New feature or request label Sep 17, 2024
@phoebe-buffay phoebe-buffay added this to the bebalance-release-5 milestone Sep 17, 2024
@fshabanov fshabanov assigned iqbalalayubbi and unassigned fshabanov Sep 21, 2024
@phoebe-buffay phoebe-buffay self-assigned this Sep 26, 2024
@phoebe-buffay
Copy link
Collaborator Author

  1. After clicking and discarding, button should become inactive again until new changes are done - when user makes some changes and clicks Discard, changes are reseted, but button is still active. only after second click button becomes inactive.
  2. when user makes some changes and goes to Retake Quiz screen, then returns to edit manually, Discard button is inactive, although user didn't clicked on it
    https://github.com/user-attachments/assets/d51fe7fd-d686-451c-8678-1fad6dba4f29

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: In Code Review
Development

No branches or pull requests

3 participants