SJRK-410: Load a specified story into client autosave

Metadata

Source
SJRK-410
Type
New Feature
Priority
Blocker
Status
Closed
Resolution
Fixed
Assignee
N/A
Reporter
Gregor Moss
Created
2020-10-22T16:40:26.704-0400
Updated
2020-11-26T13:14:43.148-0500
Versions
N/A
Fixed Versions
  1. 1.0
Component
  1. Storytelling Tool UI

Description

Add client-side code to the Story Edit page to load the specified story into the browser's localStorage and into the storyEditor's model, to allow authors to edit previously-created stories.

This is the client-side aspect of SJRK-407.

Comments

  • Gregor Moss commented 2020-11-17T15:15:57.677-0500

    There is currently a restriction on file uploads that only allows files to be uploaded to published stories. This restriction is something we may want to remove in order to allow adding files to already-published stories, depending on how we handle the editing experience for published stories (i.e. the autosave feature's behaviour)

  • Justin Obara commented 2020-11-18T14:19:51.767-0500

    Currently if you edit a published story and change an uploaded file, it will no longer be accessible to the published story. The published story will appear "broken" until the edits are published and the new URL is in place. To solve this issue, the immediate solution will be to not delete any uploads when a new file is uploaded. In the future we may want a file browser or similar to allow a user to remove unwanted files from the server.

  • Cindy Li commented 2020-11-26T13:14:43.124-0500

    The pull request that fixes this issue has been merged into the project repo main branch at this commit.