nextcloud / nextcloud/files_pdfviewer

Add bookmarks

Open
#121 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage enhancement
Dominant language
JavaScript
Stars
108
Forks
61
Avg merge
2d 9h
Merged PRs (30d)
29

Description

It would be very useful if there was a way to be able to have nextcloud save locations on a pdf in order to pick up where the person last read off. Perhaps this could be implemented by taking advantage of the bookmark button on the right side of the pdf viewer. The goal is just so that a person viewing their own pdfs can easily go back to the previous page. It might be possible to modify the toggle side bar on the left hand side and add another button between the view outline and view attachment button. So when the bookmark button is pressed it should save and create a bookmark for that exact pdf by referring to the actual title or if none exist defer to the name of the pdf that the nextcloud user gave it. This information would be stored within the app itself and not on the pdf.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the PDF viewer's existing bookmark button and the left sidebar controls for outline and attachments. Determine how a bookmark can be stored in the app rather than the PDF and associated with the PDF title or filename. Done means pressing the bookmark control saves the current page and lets the user return to it later.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.