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
Post/Pages: Better handling of local only post. #3786
Comments
But, if it's local, Trash won't trash it but delete it, and View will take you to a non-existant post 🐇 ⛳ |
This is what we want tho.
It should just show a local preview. |
I guess we should make the label say "delete" |
Sorting is being a little tricky. I'm not seeing any other way to sort accurately with the properties we currently have. To fix the sorting issue, I think its going to take adding two new fields to the data model, one field to act as a "publish immediately" flag, another field to act as a "local only" flag. I'm thinking we can override the setters for Thoughts? I'm definitely open to other ideas. |
In the past, we've used |
Dunno, but that's an idea worth exploring.
I think something changed. postID defaults to -1 for local posts now. |
I looked into sections to see if there was a way we could use them but it seems like another dead end. As best I can tell results need to already be sorted correctly. Sections seem to just group the already sorted items vs change the sort order. |
Correct 😞
|
Closed in #3805 |
When creating new post or page we create a local "draft" to save in core data. This presents a few UX challenges dealing with where the local "draft" appears, the features available, how its sorted, and how it behaves in certain failure states (see #3737 for @koke's examples).
cc @diegoreymendez and @bummytime as I want to make sure this plays nice with all our editor concerns.
cc @mnt to keep in the loop regarding the local UX and appearance.
The text was updated successfully, but these errors were encountered: