-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feat] export annotation set [Round 2] #2704
base: develop
Are you sure you want to change the base?
Conversation
…ously used to import from main process without virtualDom
…the state root level. Now not specific to the search, search rely on this resourceCache just like import/export annotations routine
TODO: dispatch annotationQueue shift action across reader
main-process and broadcasted to every other browserWindow opened ANNOTATION_SHIFT_FROM_ANNOTATION_IMPORT_QUEUE need this mechanism
…our advice about this !
yes I would also use the HTML body as the DOM tree root to compute text position and quote. |
Hello @danielweck, I let you review this PR for the import/export annotationSet part |
makeRefinable from apache-annotator TODO: need to define an heuristic of selector priority/importance
…note and do not create a duplicate note to the list
This PR allows :
For the CFI Selector : vivliostyle-cfi doesn't support CFI Range with the comma separator cf (only position supported)
This PR is on a blocking state as long as the CFI library issue is not resolved.
We leave the choice to use CFI for the moment
for the benefice to use a CssSelector refined by TextPositionSelector
Cf the spec made by Laurent : https://github.com/readium/annotations
I reintroduced the ProgressionSelector to keep this information across export/import in thorium annotation format. Progression is generated from the r2-navigator to chrome ui and not from the ui to the r2-navigator.