- 07 Dec, 2017 2 commits
-
-
Sean Hammond authored
-
Sean Hammond authored
-
- 06 Dec, 2017 18 commits
-
-
Robert Knight authored
Disable close btn when the classic theme is on. Also fix errors with …
-
Sheetal Umesh Kumar authored
Disable close btn when the classic theme is on. Also fix errors with the preferences object being obsent from session state initially.
-
Robert Knight authored
Remove unnecessary config in test.
-
Sheetal Umesh Kumar authored
-
Robert Knight authored
Bundle the clean theme related config options into the theme = 'clean…
-
Sheetal Umesh Kumar authored
Some of the config settings don't work well with the clean theme. Some others don't work without the clean theme. It would be better to remove the following config options and have each of these elements tied to the over all 'theme' of the sidebar for consistency: disableToolbarCloseBtn disableToolbarMinimizeBtn disableToolbarHighlightsBtn disableToolbarNewNoteBtn disableBucketBar enableSidebarDropShadow enableCleanOnboardingTheme See https://github.com/hypothesis/product-backlog/issues/380
-
Sheetal Umesh Kumar authored
Show the shorter version of the empty annotations/notes message when …
-
Sean Hammond authored
Don’t link tags to activity pages on eLife
-
Sean Hammond authored
The stream page was replaced by the search page. Update some old references to the stream in the tests.
-
Sean Hammond authored
Tag search pages aren't supported for third-party annotations in h, so don't link to them from the client. Fixes https://github.com/hypothesis/client/issues/616
-
Robert Knight authored
Fix out of date account-id fake
-
Sean Hammond authored
The fakeAccountID object in annotation-test.js was out of date: it contained only a username() function that annotation.js doesn't call anymore, and did not contain the isThirdPartyUser() function that annotation.js _does_ call. The tests were still passing because annotation.js's isThirdPartyUser() method, which call's account-id's isThirdPartyUser(), wasn't tested. Add an integration test for this method to catch this. I've also moved fakeAccountID out into its own variable with a name, instead of it just being an anonymous object literal. This makes it more explicit. For example if account-id's API is changed, you can just grep the code for fakeAccountID to find all the fakes that need to be updated.
-
Sean Hammond authored
Move the annotationComponent() function into the describe() scope nearer to where it's actually used. This puts the code nearer to where it's used and is going to be useful in the next commit when it's going to be changed to make use of one of the fake variables in that scope.
-
Sean Hammond authored
Don't show page share button on eLife pages
-
Robert Knight authored
Remove traces of persona.js
-
Sean Hammond authored
persona.js was renamed to account-id.js.
-
Sean Hammond authored
persona.js was moved to account-id.js in 35f1a03d but this proxyquire call is still patching persona.js not account-id.js.
-
Sean Hammond authored
Don't show the "Share this page" button in the top-right of the sidebar on pages, such as eLife's, that have both an embedded Hypothesis client and a services config including their own `authority` string. The "Share this page" button is a Via link, and Via doesn't work with pages using a third-party authority config. Fixes https://github.com/hypothesis/client/issues/615
-
- 05 Dec, 2017 1 commit
-
-
Sheetal Umesh Kumar authored
Show the shorter version of the empty annotations/notes message when the sidebar tutorial is displayed and the new note button is enabled. Fixes https://github.com/hypothesis/client/issues/610
-
- 04 Dec, 2017 2 commits
-
-
Robert Knight authored
-
Robert Knight authored
-
- 01 Dec, 2017 4 commits
-
-
Robert Knight authored
Don't show share dialog if no incontext link
-
Sean Hammond authored
If the annotation received from the API contains no incontext link (as is the case with third-party annotations, for example) then don't render the annotation share dialog that contains the incontext link.
-
Robert Knight authored
Dont hyperlink annotation timestamps when the annotation has no href
-
Sean Hammond authored
If an annotation, as received from the API, doesn't have any html link in the links object in the API response, then `vm.href` in `timestamp.html` will be an empty string (due to the behaviour of the `htmlLink` function in `annotation-header.js`). When this happens render the annotation's timestamp as a `<span>` rather than as an `<a>` with an `href` attribute that has no value.
-
- 30 Nov, 2017 2 commits
-
-
Sean Hammond authored
I'm going to be making this template more complex, so extract it our into a separate file first.
-
Robert Knight authored
Rename account ID utility functions
-
- 29 Nov, 2017 4 commits
-
-
Sean Hammond authored
Change button tag to span for the minimal onboarding look.
-
Robert Knight authored
-
Robert Knight authored
-
Robert Knight authored
Extract OAuth client into a separate module
-
- 28 Nov, 2017 1 commit
-
-
Robert Knight authored
-
- 24 Nov, 2017 1 commit
-
-
Sean Hammond authored
Remove `oauthEnabled` client config setting
-
- 23 Nov, 2017 5 commits
-
-
Robert Knight authored
Usage of this config setting was removed in 68e6524b.
-
Robert Knight authored
-
Robert Knight authored
-
Robert Knight authored
-
Robert Knight authored
-