Skip to content

Bookmarks / Headings / TOC #52

@georghendrik

Description

@georghendrik

nobody:

...

georghendrik:

What if we could like, mark handwriting in a notebook so we can quickly jump back to it?

georghendrik also:

You mean like bookmarks?

georghendrik:

Yes, or maybe table-of-contents / TOC, or todo's, depending on how you use it.

georghendrik also:

This needs a video

georghendrik:

bookmarks.mp4

Features:

  • Bookmark any handwriting (strokes), by selecting it, then tapping the bookmark icon from the selection menu.
  • Open the bookmark list by tapping the bookmark button in the main toolbar.
  • Jump to any bookmark by tapping it from the bookmark list.
  • Works across notebooks.
  • Easy on the page cache: scrolls only if a bookmark is not visible.
  • Allows deleting bookmarks.

This is work in progress, and currently:

  • Bookmarks are kept in a separate sqlite database, at least until the data model feels okay to merge.
  • Bookmarks are modeled as (bookmarkId, top-left strokeId, bitmapUri). Pages, page number, scroll position, and notebooks are derived from the strokeId . This allows moving the stroke around the page without breaking the bookmark. Duplicating and cutting however, modifies the strokeIds and currently breaks the bookmark. Still working on that.
  • The bitmaps are stored outside of the database.

@Ethran I'm curious to your thoughts on this approach to bookmarks. If you are open to a pull request for this, let me know, happy to open one!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions