internetarchive / internetarchive/bookreader

Load Hypothesis client if `#annotation:UID` in fragment

Open
#1,236 0 comments 0 reactions 1 assignee Claimed by @cdrini View on GitHub
Snippets + Annotations + Hypothes.is
Dominant language
JavaScript
Stars
1.2k
Forks
491
Avg merge
2d 15h
Merged PRs (30d)
3

Description

If `#annotation:UID` in the URL

- Rewrite to `annotation=UID` to work with our general fragment structure
- Load hypothesis client and pass it the UID
- e.g. `#annotation:EWrpXjxHEe6rD5t1CHIRCA`
- Our API will have an includelist for now, so rewrite to `annotation=hypothesis:EWrpXjxHEe6rD5t1CHIRCA`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.