SJRK-384: Add user dialog for loading story draft

Metadata

Source
SJRK-384
Type
New Feature
Priority
Major
Status
Open
Resolution
N/A
Assignee
N/A
Reporter
Dana
Created
2020-08-11T12:33:18.072-0400
Updated
2021-01-21T22:06:53.715-0500
Versions
N/A
Fixed Versions
N/A
Component
  1. Storytelling Tool Server
  2. Storytelling Tool UI

Description

When a draft story is detected, give user the option to load the draft, or to start a new story (and delete existing draft). Make it clear whether or not the draft is already published.

...load the draft automatically, and indicate to the author that an unpublished draft has been restored. (Sept 14, 2020)

Attachments

Comments

  • Dana commented 2020-08-20T16:57:17.908-0400

    If clear all functionality is implemented as per SJRK-358, this will make it easier to load/edit the draft, then decide to clear it and start a new story.

    What to do if user chooses to edit a published draft, then tries to publish it again without making any changes? Can we provide an error message stating that the story has already been published?

  • Justin Obara commented 2020-08-31T10:14:52.300-0400

    Does editing and publishing an existing story update the existing story or publish a new story and leave the existing one in place? If the former, republishing an already published story without any changes shouldn't may not have an impact. Please let me know if I'm missing something.

  • Dana commented 2020-09-08T16:17:35.875-0400

    We decided not to implement the ability to save/edit a draft of a published story (and to only allow editing of a published story by someone with admin privileges if requested), also decided for now to take the approach of auto-loading a (unpublished) draft story into the story tool, along with Clear All functionality (SJRK-358) rather than asking user if they want to load the draft. It seems likely that a user will want to see the draft first in most cases before deciding, so eliminating an extra step will make this more user-friendly.

    In other words, no dialog is needed, but an indication to the user that the draft has been restored should be provided in some way.

  • Dana commented 2021-01-21T22:06:53.715-0500

    @@Gregor Moss, @@Justin Obara I attached latest version of mockups for adding the Start new story (reset) button and flow. Please add to the following description if I've missed anything.

    To document our decision - this is a temporary stopgap to allow for an author to clear all content (and reset the Story ID), in the event that a draft story is loaded from local storage that they do not wish to edit/publish (possibly because it's left over from another author).