Skip to content

Should the "Status" field/spinner be updated to "Future" when changing the "publish" to a future point in time in EditPostActivity.java/View to reflect the Data? #295

@ShiftLeftLogical

Description

@ShiftLeftLogical

In EditPostActivity.java, the "status" field should reflect the data backing what is being displayed in the view but currently there is no code (or resource string such as post_future) to change/link the publishing of a post/page with a future date (publish field) to also update the "status" field to reflect the Post's data value of "future".

Proposed is the following:

When setting the "publish" date to a future point in time, the mStatusSpinner is also updated

  1. Once the local data is saved by the user, update the "status" field/spinner to reflect the backing data of "future"
  2. Once the local data is published by the user then update the "status" spinner.

I vote for item 1 as it will cover both the a local saved page/post and the publish to remote and in turn update of the local data.

Also, this will require a little bit of work as the state (selectable options) will need to change based on the date. It should be easy for the user to change back to publish "immediately" from some future date/time.

Please provide input!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions