Skip to content

Bookmark feature for audiobooks #64

Description

@RobinEdquist

We should implement a bookmark feature for audiobooks. This feature consists of four parts:

  1. Adding bookmark to an audiobook the user is currently listening to.
  2. Viewing personal bookmarks of a specific audiobook on the audiobook detail page.
  3. Viewing all personal saved bookmarks.
  4. Removing/editing a bookmark

A bookmark should consist of:

  1. A name, phrase or note (long string)
  2. A timestamp

Duration etc. can be added later if requested by users.

Bookmarks should be personal and not viewable by other users (except admin).

Adding a bookmark

We should add a bookmark button to the player which when clicked prompts the user with a popover (nicer than a dialog for this feature since it doesn't put a lightbox on the screen?? But introduces the problem of long titles and still keep nice UX. Need to think about that.)

The dialog should contain a field for the name of the bookmark, a duration field for the bookmark allowing for HH:mm:ss input where the default is the current position when the button was pressed. It should also include buttons for -5 seconds and +5 seconds to allow for simple edits to the timestamp since it might take a little while to find the actual start where you want the bookmark. The popover should also include a save and cancel button.

Viewing bookmarks for a single audiobook

On the audiobook detail page we should add a section above the chapters section for bookmarks that lists the bookmarks the user has saved for that audiobook together with the title, but in the design we have to take into account that the note can be long. Each bookmark should have a play button connected to it to easily allowing playback of the saved section. Here we have a problem. We can either start playing the audiobook from the timestamp saved (will result in progress updates + sessions). Or we can build a seperate player for the bookmarks (feel unconnected). Not sure what is the best solution here, but I'm leaning towards the option of playing using the normal player but with some user feedback that it will overwrite the current progress of the audiobook. (Maybe a never show again checkbox would be nice for that).

The user should also here be able to edit and remove the saved bookmarks (I think hiding the delete button in an edit dialog is fine here, no need for confirmation).

Viewing all saved bookmarks

On the user's "my stats page" (/users/me) we should list all bookmarks the user has saved together with what book it corresponds to. I think a link to the audiobook detail page is fine, no need to be able to play from here at this time. We can add that later if requested.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions