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: Popup on the Profile screen when user leaves the page without saving #473

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

Comments

@phoebe-buffay
Copy link
Collaborator

phoebe-buffay commented Sep 17, 2024

What feature?

When user is on Profile screen and makes some changes in edited fields, then doesn't click on Save and decided to leave the page.

  1. if user wants to leave exactly the Profile page and remain inside the app, the custom popup should appear (example below)
  • popup should have close icon in the up right corner so user can close the popup
  • if user clicks on Yes, the changes are not saved and user is relocated to the desired page
  • if user clicks on Cancel, user remains on Profile page and can make other changes and save them manually
    Screenshot 2024-09-13 at 11 54 21 copy
  1. if user wants to refresh or close the tab with the app, then the browser default popup should appear.
Screenshot 2024-09-17 at 15 07 07

Add screenshots

No response

@phoebe-buffay
Copy link
Collaborator Author

When user saves the information and wants to leave the page - the popup still appears
https://github.com/user-attachments/assets/e6c65639-cfb8-4cf1-8796-f3f1d69cb93b

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: Todo
Development

No branches or pull requests

3 participants