EINDEX / logseq-copilot

Logseq Copilot is a Browser extension that allows you to access your Logseq via your browser.
https://logseq-copilot.eindex.me
GNU General Public License v3.0
235 stars 21 forks source link

feat: website recall rule function #59

Open agungism opened 4 months ago

agungism commented 4 months ago

Describe the bug When accessing a normal video (not a short video) on the YouTube website. The Logseq Copilot icon displays incorrect numbers. This behavior only occurs on the YouTube website, while other websites function normally.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'youtube.com' in internet browser
  2. Open any video (not short)
  3. View the Logseq Copilot icon
  4. Pay attention to the numbers displayed

Expected behavior The Logseq Copilot icon should not display any numbers if the video we are watching is a video that has not been clipped. If the video has been clipped (for example 3 times) then the number that appears should be 3.

Screenshots

I have never clipped this video. But look at the number displayed by Logseq Copilot, 208. Screen Shot 2024-02-22 at 20 27 49

I've already clipped this video once. But Logseq Copilot displays the number 208 instead of 1. Screen Shot 2024-02-22 at 20 33 38

I've clipped this short twice. Logseq Copilot displays the number correctly which is 2. Screen Shot 2024-02-22 at 20 10 19

This is an example from another website, Github. I have already clipped this webpage once. And Logseq Copilot displays the correct number, which is 1. Screen Shot 2024-02-22 at 15 18 35

Desktop:

EINDEX commented 3 months ago

This number logic needs discussion with #41, we need to maintain a website rule for this feature.