-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Full Offline Publishing Experience #12178
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
Full Offline Publishing Experience #12178
Conversation
… goes back online.
|
@osullivanchris - I added you as a reviewer for this issue, in case you want to comment from the design point of view. |
|
Small visual thing. For the cancel action, the icon should be flipped to face anti-clockwise. Also the text should match the icon colour. Otherwise looks good on first impression. Is there a way I can test it? |
|
I'm trying to understand what's going on here. Please bear with me. I understand that this does not try to implement everything in #11425. However, I would like to clarify this new behavior that this PR introduces. I'm not sure if we would like to merge this, possibly making it to production, as it is right now. Here is the flow that I see: Notice that:
These points contradict the desired design described in #11425 where:
Am I missing something? Is this how the flow should be? |
Generated by 🚫 dangerJS |
|
@shiki - There's no rush in merging this PR, I'll add the "Do not merge label" for the time being, but I'd like the discussion to continue. A few notes on things we should probably change in this PR:
Now regarding your points, I'll go back to the drawing board to see how I can make that happen. This is something @osullivanchris mentioned to me as well. The logic for knowing whether a post is being published or not isn't 100% easy, so it may take some playing around with |
|
I'm marking this as not ready for review to go back to making some changes. |
|
I'm bumping this to 13.1 as part of the code freeze. If we'd like to release it as part of 13.0, just merge it into |
|
I'm currently trying to take this apart (split it into multiple PRs). The plan is described in #12240. |
|
@shiki - Are you planning to split the existing code into smaller PRs or start from scratch? The main reason I was holding back on this PR is because I want to make sure that first we have:
These two safety measures are top priority, so maybe we can chat about them tomorrow. I think it's extremely important that we make sure those are in place before moving forward with auto-uploads again. |
@diegoreymendez I'm gonna reuse your commits. I'm targetting a master branch to make sure we have everything we need (like you said) before we merge anything. With the master branch, there's some leeway on the sequence and more people can contribute. |
|
I'm closing this since it was split into newer / smaller PRs and is no longer relevant. |

Initial step towards implementing #12227
This PR implements the following changes:
developbut was particularly annoying and evident while testing this PR.Demo:
Scope:
This PR doesn't aim to implement all of the changes we need for #11425. This PR aims to implement the basic messaging changes, some UI fixes, and replacing the "Retry" logic with a "Cancel" logic.
Testing:
Test 1: Notices
Try editing or creating a post while offline, and save the changes.
The notice shown should read:
"Post will be saved / scheduled / published the next time your device is online"
Test 2: Cancelling
Make sure the post upload is cancelled and that the post is listed as having local changes.
Test 3: Post list text color
Make sure the text is now red (error). Also make sure the text reads "Post has local unsaved changes"
Update release notes:
RELEASE-NOTES.txt.