- 13 May, 2019 22 commits
-
-
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
Remove unused babel-preset-env dependency
-
Robert Knight authored
This has been superceded by @babel/preset-env
-
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.
-
- 09 May, 2019 4 commits
-
-
Hannah Stepanek authored
Use same direct-linked group error when logged-in
-
Hannah Stepanek authored
-
Hannah Stepanek authored
Get group for direct-linked ann in group service
-
Hannah Stepanek authored
- Fetches the direct-linked annotation's group when the direct-linked annotation's group is not fetched by the group.list, profile.group, or the direct-linked group. - Simplify the logic in the filterGroups function and pass the direct-linked annotation's groupid to the filterGroups function to avoid a duplicate annotation fetch. - Add tests. This is a fix for hypothesis/product-backlog#986.
-
- 08 May, 2019 5 commits
-
-
Robert Knight authored
Upgrade mockable-imports Babel plugin and remove unused mock
-
Robert Knight authored
There was a bug in previous versions of the plugin that allowed unused mocks in certain cases.
-
Hannah Stepanek authored
Fix bug where direct linked group is duplicated
-
Hannah Stepanek authored
-
Hannah Stepanek authored
Do not add the direct-linked group to featuredGroups if it is already present. This happens when a group is direct-linked to but the group is already scoped to the page so the direct-linked group shows up twice.
-
- 06 May, 2019 2 commits
-
-
Robert Knight authored
Bump postcss from 7.0.14 to 7.0.16
-
Robert Knight authored
Bump jquery from 3.4.0 to 3.4.1
-