logseq-copilot icon indicating copy to clipboard operation
logseq-copilot copied to clipboard

Annotation Support

Open mobedoor opened this issue 2 years ago • 2 comments
trafficstars

Since Copilot already supports webclipping, I'd like to make a feature request. Could you extend it to be more of a page clipper such that all annotations made on a certain page are saved under one Block eg for url https://www.usatoday.com/story/tech/news/2023/08/09/google-will-begin-deleting-inactive-accounts-in-december/70560101007/

#[[Clip]] Google will begin deleting inactive accounts in December 2023

  • Annotation 1 from page
  • Annotation 2 from page
  • Annotation 3 and so on

Bonus features would be to

  1. Add a floating highlight button
  2. Highlighting the clipped text a certain color upon clipping.
  3. Re-highlight the clipped sections upon revisiting the page.

mobedoor avatar Aug 11 '23 11:08 mobedoor

Thanks for your suggestion.

I will think about how to archive this.


Here is response for 3 bouns features.

For the first feature: we have an option to enable floating botton currently, but some people think this is annoying so the default toggle is disabled.

For second: I want to do this after the third feature is working, otherwise, the experience will not good as the user's expectation.

For the third feature: I want to archive this too, recently I found there is an API that may access logseq plugin storage. But not having time to test it yet.

https://github.com/logseq/logseq/blob/7de92849dd8ab98f3feb220b51206f55d32a8125/src/main/logseq/api.cljs#L254-L268

If this thing works, the third feature can be done. the experience will be better. Just for some cases the content change or dom change of main content will impact the annotation.

EINDEX avatar Aug 31 '23 08:08 EINDEX

Thank you for considering it.

mobedoor avatar Sep 06 '23 04:09 mobedoor