Closed
Bug 961750
Opened 12 years ago
Closed 12 years ago
Project backup refresh dialog shows up when I clicked leave on unload dialog
Categories
(Webmaker Graveyard :: Popcorn Maker, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: thecount, Assigned: thecount)
Details
Attachments
(1 file)
TLDR: I'm thinking we should only load the project backup dialog if the project hits an error or fails to save.
bug 924398 landed project backups, and but not on prod yet. The following report is only true if you're using master.
If I go to leave an unsaved project, an unload dialog comes up saying something along the lines of "are you sure you want to leave, you have unsaved data you'll lose".
If they click that they want to leave, they have discarded their changes, and don't want the backup loaded.
When they refresh that project, it brings up the project backup dialog, asking if they want to load the backup, but they already discarded it.
STRs (not on prod yet):
1. Load a fresh project.
2. Save it.
3. Make a change.
4. Hit refresh.
5. Confirm that you want to leave.
Expected: on the refresh, the project should be loading the last saved version of that project.
Actual: the project backup dialog comes up asking if I want to load a backup. At this point it must be confusing as to what backup that is. I know I would be scared to click either button as I don't know which data is associated with them anymore, and if I click the wrong one I may think I am going to lose something. Why would I think it is going to load the data I had when I left as I think that data is discareded.
| Assignee | ||
Updated•12 years ago
|
Assignee: nobody → scott
| Assignee | ||
Comment 1•12 years ago
|
||
So, this is still a proposal at this point, but you can probably tell by now I'm pushing pretty hard on this.
I'm open to critisim on this, don't be afraid to shoot it down.
Attachment #8362571 -
Flags: review?(schranz.m)
Comment 2•12 years ago
|
||
Comment on attachment 8362571 [details] [review]
https://github.com/mozilla/popcorn.webmaker.org/pull/422
Comments.
I'm not too against this though. It's been so long since we last had a serious discussion about what we want from this that I'm starting to agree with simplifying it for now and then moving towards additions when the need arises.
Attachment #8362571 -
Flags: review?(schranz.m) → review-
| Assignee | ||
Comment 3•12 years ago
|
||
Comment on attachment 8362571 [details] [review]
https://github.com/mozilla/popcorn.webmaker.org/pull/422
Arg, updated but forgot to update the ticket :(
Attachment #8362571 -
Flags: review- → review?(schranz.m)
Updated•12 years ago
|
Attachment #8362571 -
Flags: review?(schranz.m) → review+
| Assignee | ||
Comment 4•12 years ago
|
||
Staged: https://github.com/mozilla/popcorn.webmaker.org/commit/caa1c46ce9ceec788ee82659bfa5d26b49693f7b
Needs verification.
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: needinfo?(scott)
Resolution: --- → FIXED
| Assignee | ||
Updated•12 years ago
|
Status: RESOLVED → VERIFIED
Flags: needinfo?(scott)
You need to log in
before you can comment on or make changes to this bug.
Description
•