-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Offline Support: Remove "Discard Changes" option from the editor. #11753
Comments
I updated the description to match what Android does, and to remove the autosaves endpoint call which was really a proposed improvement over it. |
We probably don't want to remove the Discard Changes option for now. It seems vital to the split flow in Gutenberg (wordpress-mobile/gutenberg-mobile#204). Tagging @iamthomasbishop in case he wants to chime in. |
I would probably keep the option, especially if y'all are deciding on aligning iOS with Android. And as you mentioned, Gutenberg will probably have the option in the |
I'm a bit confused by the 2 previous comments, is this ticket about:
|
@maxme I'm sorry. I got confused with this as well. I thought it was the overflow menu. 🤦♂ This is the removing "discard changes" dialog when exiting the editor. I probably should have commented on wordpress-mobile/WordPress-Android#9561 instead. I have added GIFs to hopefully make this clearer. |
I'm reading up on this and I'll ask stupid questions so we know if we're all on the same page. Current State
Initial proposal
Input from @iamthomasbishop and @shiki
If we want to align the platforms: I actually have an option 3, if you don't mind The sad path is the user has written something that they now want to discard If we take option 2 and remove the functionality, it could be frustrating for a user in the sad path. I have an idea for a smart default approach.
I sketched an alternative as well, where this action is shown on the card rather than in a toast. There's a bit of duplication at the moment between the card and the toast. The obvious downside to this option 3 is we would need to build functionality on both iOS and Android.
|
@wordpress-mobile/ravenclaw, @iamthomasbishop, The discussions we had here and in other channels are valuable and will be used to reevaluate how we would like to proceed with this feature. |
Our Android app doesn't allow the user to discard their changes when exiting the editor. This is not aligned with what happens in iOS when you exit the editor.
Expected behavior:
We need to make sure our iOS App replicates the behavior from our Android App.
@wordpress-mobile/ravenclaw
The text was updated successfully, but these errors were encountered: