SJRK-411: Implement UI for listing authored stories

Metadata

Source
SJRK-411
Type
New Feature
Priority
Blocker
Status
Open
Resolution
N/A
Assignee
N/A
Reporter
Gregor Moss
Created
2020-10-22T17:01:44.587-0400
Updated
2020-12-14T15:16:04.249-0500
Versions
N/A
Fixed Versions
  1. 1.0
Component
  1. Storytelling Tool UI

Description

Implement a UI for seeing an authenticated author's stories. This is, in effect, the Manage Stories page that was mocked up in the most recent round of designs (see attached screenshot).

The listing should include published and unpublished stories separately, though efforts should be made not to exclude a combined listing from being produced.

This listing should also include the ability to select a story to edit (see SJRK-407 and SJRK-410 for details), and to delete a given story (SJRK-406).

The server-side aspect of this work is SJRK-408.

Attachments

Comments

  • Justin Obara commented 2020-12-03T10:54:55.114-0500

    I've implemented a view to get stories by authorID and storyId for SJRK-405. However, at the moment it may not be re-usable to pull in all of the stories from a particular author. Hopefully the view end point is enough, currently called storiesByAuthor. For SJRK-405 we filter the results with ?key=[authorID, storyId]. Hopefully based on CouchDB view collation we'll be able to use that same view to return all of the stories by the author instead of just a particular one; e.g. ?startkey=[authorID]. We may also need to override the url datasource's resolveURL method. See this conversation from the matrix technology channel.

  • Gregor Moss commented 2020-12-14T15:16:04.249-0500

    If we allow logging in and accessing this page while authoringEnabled is false, we should indicate to the user, somehow, that authoring is not enabled and restrict access to editing/deleting stories appropriately. If we don't allow logging in while authoringEnabled is false, disregard this note 🙂