client icon indicating copy to clipboard operation
client copied to clipboard

strange behavior involving H extension and eLife client on https://elifesciences.org/articles/26796

Open judell opened this issue 7 years ago • 0 comments

Repro

  1. Visit https://elifesciences.org/articles/26796

  2. Try to activate extension

Expect

Can

Actual

Can't.

Notes

This works as expected: https://via.hypothes.is/https://elifesciences.org/articles/26796. (By "as expected" I mean: There are two annotations on that article, one in world from me, one in the eLife group by way of the Disqus import. I expect I should see only mine, and that's true. I expect that I can create new annotations as [email protected], and I can. )

This more granular scenario illustrates "strange behavior":

  1. Visit https://elifesciences.org/articles/26796 with H extension inactive

  2. Activate H extension -> Nothing happens

  3. Click eLife's annotations link -> Nothing happens

  4. Reload, then click eLife's annotations link -> elife client displays

  5. Turn H extension on, it displays, but shows no annotations

  6. Reload, click eLife's annotation link, capture share link: https://hyp.is/AlmuFgXSEeiJhyeIG9pbfQ/elifesciences.org/articles/26796.

  7. Visit share link with H extension off. Elements of both clients are present:

image

The eLife client displays, but the H extension seems to be active as well.

  1. Turn the H extension off and on. Now the H client displays:

image

If the H client is in charge, I'd expect to see judell's annotation in __world__, not eLife's annotation in its group.

I don't think there's anything unexpected from the eLife user's point of view. Whether logged in or not, from that perspective I only see the annotation in eLife's group. What's unexpected is the behavior seen by the user of the Hypothesis extension.

PS

A further mystery: At https://via.hypothes.is/https://elifesciences.org/articles/26796, with the Chrome extension, the badge reports 3. At https://elifesciences.org/articles/26796 it reports 2. At the time of this test, the actual number of annotations on that article in the db is 2.

judell avatar Feb 12 '18 19:02 judell