- 15 May, 2019 1 commit
-
-
Robert Knight authored
-
- 14 May, 2019 4 commits
-
-
Robert Knight authored
Refactor groups service's `load` method
-
Robert Knight authored
- Capitalize "API" consistently - Remove a couple of comments that repeated the code below
-
Robert Knight authored
Import fix for a warning caused by a "quietly" failing test.
-
Robert Knight authored
As pointed out during code review, mixing the terms "selected" and "direct-linked" to refer to direct-linked annotations and groups is potentially confusing. Use the term direct-linked consistently.
-
- 13 May, 2019 28 commits
-
-
Robert Knight authored
Fix a silently failing test
-
Robert Knight authored
The `HypothesisAppController#login()` method returns a Promise and calls `fakeStore.clearGroups` asynchronously. This means we need to wait for the result before checking the spy, and return the result in the test case so Mocha knows when the test has finished.
-
Robert Knight authored
Clarify what the method does and add some comments to explain to the reader the high-level steps that it goes through.
-
Robert Knight authored
The first block produced a result synchronously, so it could be combined into the second block.
-
Robert Knight authored
Rework the block that fetches the direct-linked annotation's group and adds it to the featured groups list so that there is only one return point at the end.
-
Robert Knight authored
-
Robert Knight authored
Remove unused babel-preset-env dependency
-
Robert Knight authored
This has been superceded by @babel/preset-env
-
Robert Knight authored
-
Robert Knight authored
Fix direct linked private login flow
-
Robert Knight authored
-
Robert Knight authored
For easier debugging when tests fail, ensure that `it` cases that refer to specific functions in a module are grouped under a `describe` block labeled with the function's name.
-
Robert Knight authored
-
Robert Knight authored
Despite the name of the settings key where this value is read from (`settings.annotations`), only a single annotation is currently supported. See the `initialSelection` function in `store/modules/selection.js`.
-
Hannah Stepanek authored
- Clear groups service state on login and logout. - Handle case where focus group is null when watching the focused group and userid for changes. This can happen when clearGroups is called since it sets the focus group to null which triggers a call to the watch function. There are two watch function that get triggered; one in sidebar-content, the other in the group service. - Clear direct-linked id states on clearSelection and when a new focusedGroup is selected.
-
Hannah Stepanek authored
- Rename direct-linked-group store module to direct-linked so that it may track the state of all direct-linked related items. - Add directLinkedAnnotationsId and directLinkedGroupId to direct-linked store module. This provides an official location to track/change the state of the settings.annotations and settings.group rather than modifying them directly.
-
Robert Knight authored
Bump @octokit/rest from 16.25.2 to 16.25.4
-
Robert Knight authored
Merge pull request #1118 from hypothesis/dependabot/npm_and_yarn/babel-plugin-mockable-imports-1.5.0 Bump babel-plugin-mockable-imports from 1.4.0 to 1.5.0
-
Robert Knight authored
Bump katex from 0.10.1 to 0.10.2
-
Robert Knight authored
Bump codecov from 3.3.0 to 3.4.0
-
Robert Knight authored
Bump scroll-into-view from 1.9.6 to 1.9.7
-
Robert Knight authored
Bump gulp from 4.0.1 to 4.0.2
-
dependabot[bot] authored
Bumps [@octokit/rest](https://github.com/octokit/rest.js) from 16.25.2 to 16.25.4. - [Release notes](https://github.com/octokit/rest.js/releases) - [Commits](https://github.com/octokit/rest.js/compare/v16.25.2...v16.25.4) Signed-off-by: dependabot[bot] <support@dependabot.com>
-
dependabot[bot] authored
Bumps [babel-plugin-mockable-imports](https://github.com/robertknight/babel-plugin-mockable-imports) from 1.4.0 to 1.5.0. - [Release notes](https://github.com/robertknight/babel-plugin-mockable-imports/releases) - [Changelog](https://github.com/robertknight/babel-plugin-mockable-imports/blob/master/CHANGELOG.md) - [Commits](https://github.com/robertknight/babel-plugin-mockable-imports/compare/v1.4.0...v1.5.0) Signed-off-by: dependabot[bot] <support@dependabot.com>
-
dependabot[bot] authored
Bumps [katex](https://github.com/KaTeX/KaTeX) from 0.10.1 to 0.10.2. - [Release notes](https://github.com/KaTeX/KaTeX/releases) - [Changelog](https://github.com/KaTeX/KaTeX/blob/master/CHANGELOG.md) - [Commits](https://github.com/KaTeX/KaTeX/compare/v0.10.1...v0.10.2) Signed-off-by: dependabot[bot] <support@dependabot.com>
-
dependabot[bot] authored
Bumps [codecov](https://github.com/codecov/codecov-node) from 3.3.0 to 3.4.0. - [Release notes](https://github.com/codecov/codecov-node/releases) - [Commits](https://github.com/codecov/codecov-node/compare/v3.3.0...v3.4.0) Signed-off-by: dependabot[bot] <support@dependabot.com>
-
dependabot[bot] authored
Bumps [scroll-into-view](https://github.com/KoryNunn/scroll-into-view) from 1.9.6 to 1.9.7. - [Release notes](https://github.com/KoryNunn/scroll-into-view/releases) - [Changelog](https://github.com/KoryNunn/scroll-into-view/blob/master/CHANGELOG.md) - [Commits](https://github.com/KoryNunn/scroll-into-view/commits) Signed-off-by: dependabot[bot] <support@dependabot.com>
-
dependabot[bot] authored
Bumps [gulp](https://github.com/gulpjs/gulp) from 4.0.1 to 4.0.2. - [Release notes](https://github.com/gulpjs/gulp/releases) - [Changelog](https://github.com/gulpjs/gulp/blob/master/CHANGELOG.md) - [Commits](https://github.com/gulpjs/gulp/compare/v4.0.1...v4.0.2) Signed-off-by: dependabot[bot] <support@dependabot.com>
-
- 10 May, 2019 7 commits
-
-
Hannah Stepanek authored
Fix overlapping text in headings in annotation bodies
-
Robert Knight authored
Parent elements of annotation cards set line heights to absolute pixel values. Annotation card headings then inherit this and as a result, their line height is too small for the font size. We ought to reconsider the way line heights are set elsewhere in the app, but resetting the line height in the `styled-text` mixin ensures that annotation body styles are protected from whatever the parent elements do with it.
-
Hannah Stepanek authored
Add direct linked group to store
-
Robert Knight authored
Add abililty to clear groups in store
-
Hannah Stepanek authored
- Fix minor mistake in filterGroups where directLinkedGroupId should be set to null rather than undefined.
-
Hannah Stepanek authored
-
Hannah Stepanek authored
This is needed to be able to clear the group state when logging out and logging in.
-