-
Notifications
You must be signed in to change notification settings - Fork 140
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
Unsaved content warning not appearing for logged in 'New Project' flow #1110
Comments
Can you please give more detail on this one? |
@fnisen as per our discussion in #1037 (comment) we have removed the unsaved content warning from /new-project flow (it doesn't matter if user is logged in or logged out). Now I am wondering how we should handle it when user is logged in and wants to create project from 'New Project' button, I think we are not saving incomplete project in this case, hence, we need to show the unsaved content warning here, right? |
@vikasrohit yes, I see. Good point. In this case, let's show the warning b/c the project is not being saved in local storage, same as we had been doing if you closed the tab before saving changes on the Specifications page. |
@fnisen I have implemented the functionality, however, I would like to get it tested before merging into dev. And right now test01 env is being used for penetration testing, so I am not sure how can I deploy it for your testing without merging into dev. |
Sure. Do you want to wait until test01 is clear and then use it? |
I am inclining towards deploying it to dev because test01 is going to be freed at least 2 weeks later. We have to just make sure that we don't deploy the dev changes to production, until we find this change stable. More or less it is stable, I just want to make sure of edge cases. |
Deploying to dev. Please let me know if you face any blocker. |
@vikasrohit one of the edge cases is the "Back" action. In that case we don't seem to be wiping the data; I can select another project and the data is still there. However, once I click "Back," if I start another project and then close it, I don't get the warning. Maybe just show the warning and wipe the data on "Back," as well, to be consistent? |
@vikasrohit Let's go ahead and deploy please. Don't worry about the penn-testing. Kindly advise if you have and concerns. |
@vikasrohit is this released? please update the status |
When user open the New project modal by using the 'New project' button from the topbar after logging in and closes the modal or refreshes the page after reaching the project details page, it does not show the Unsaved content warning which we show when the same flow is done using /new-project URL.
fyi, @fnisen
The text was updated successfully, but these errors were encountered: