Skip to content

Feature request: add configuration option to make existing annotations available in local storage #81

@D-Groenewegen

Description

@D-Groenewegen

I was interested to see how far I could go using local storage as well as saving annotations server-side, and especially how well those two approaches might play together. What I did was to use local storage for the duration of the browser cache and pull the annotations from local storage if the user creating the annotations decides to save them on the server (in this case, on a wiki). Of course, what happens when your local storage is still intact and you open a manifest that has the previously created annotations merged in or referenced, you'll see duplicates. Interestingly, whichever duplicate you choose, it does appear to be editable.

What I did was to make sure that the relevant items in local storage are cleared and the page is refreshed when the user hits "Save". When a user opens the new manifest (with the annotations referenced), the annotations appear without duplication. So far so good, but there is a problem: they are not editable! In other words, annotations that are referenced, or embedded, do not automatically become available in local storage.

What I am requesting is a config option (but not the new default) to load all existing annotations as local storage items so that they can be edited or removed in a subsequent session, whether by the same user or someone else.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions