hypothesis / hypothesis/client
strange behavior involving H extension and eLife client on https://elifesciences.org/articles/26796
- Dominant language
- Mustache
- Stars
- 730
- Forks
- 224
- PR merge metrics
- No merged PRs in 30d
Description
## 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 judell@hypothes.is, 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:

The eLife client displays, but the H extension seems to be active as well.
8. Turn the H extension off and on. Now the H client displays:

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.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.