hypothesis / product-backlog

Where new feature ideas and current bugs for the Hypothesis product live
118 stars 7 forks source link

SPIKE: Location sort is not functioning #1211

Open dwhly opened 3 years ago

dwhly commented 3 years ago

Bug report form

Steps to reproduce

  1. Go here: https://github.com/bokand/web-annotations/
  2. View annotations w/ extension

Expected behaviour

The first annotation on the page, at the top of the page, which was made first-- should be sorted to the top of the sidebar.

Actual behaviour

Notice that the first annotation (by David Bokan) does not show first, but is oddly about a third of the way down the list of annotations. (This one: https://hyp.is/NlQXLKjiEeu_kF_VQyo18w/github.com/bokand/web-annotations). I know our location sort is not perfect, but if it functions at all it should probably function in this case.

Browser/system information

Tell us which browser, browser version, and operating system you were using when you encountered this issue.

Additional details

Version: 1.774.0 User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36 URL: https://github.com/bokand/web-annotations Fingerprint: N/A Account: Dan Whaley (acct:dwhly@hypothes.is) Date: Thu May 20 2021 05:42:59 GMT-0700 (Pacific Daylight Time)

mkdir-washington-edu commented 3 years ago

Possible: the text we've collected includes hidden text that the user doesn't see.

TobiasNx commented 4 months ago

Hi, when updating our annotations on our website here (http://lobid.org/resources/api), we encountered the same problem.

In our case the annotations are not viewed with the extension but embedded in the website.

First annotation should be for "@context" and the second for "hbzId" when using location sort. But the second is for "contribution" which appears a lot later on the page. I am using Linux Mint 21.3 Cinnamon, problem occurs with Firefox and Chrome.

mkdir-washington-edu commented 4 months ago

Dan's example references this annotation: https://hyp.is/K5xTlCKLEeyGhztaVxNcLw/github.com/bokand/web-annotations