- 24 Sep, 2020 9 commits
-
-
Robert Knight authored
Add comments in response to PR feedback.
-
Robert Knight authored
Move the code for finding the highlight(s) which contain a given node into `highlighter.js`, so that all the logic that deals with the details of creating and manipulating highlights is in one place.
-
Robert Knight authored
The logic for handling details of the highlights layer was spread between the `highlighter` module and the `Guest` class. This commit moves the remaining highlighting logic in the `Guest` class to the `highlighter` module and rewrites it to use plain DOM APIs rather than jQuery. As a bonus, this makes it easy to remove the remaining direct usage of jQuery in the `Guest` class, so that has also been done in this commit.
-
dependabot-preview[bot] authored
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 9.8.6 to 10.0.0. - [Release notes](https://github.com/postcss/autoprefixer/releases) - [Changelog](https://github.com/postcss/autoprefixer/blob/master/CHANGELOG.md) - [Commits](https://github.com/postcss/autoprefixer/compare/9.8.6...10.0.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.0.2 to 4.0.3. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Commits](https://github.com/Microsoft/TypeScript/compare/v4.0.2...v4.0.3) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [sass](https://github.com/sass/dart-sass) from 1.26.10 to 1.26.11. - [Release notes](https://github.com/sass/dart-sass/releases) - [Changelog](https://github.com/sass/dart-sass/blob/master/CHANGELOG.md) - [Commits](https://github.com/sass/dart-sass/compare/1.26.10...1.26.11) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [@sentry/browser](https://github.com/getsentry/sentry-javascript) from 5.23.0 to 5.24.2. - [Release notes](https://github.com/getsentry/sentry-javascript/releases) - [Changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md) - [Commits](https://github.com/getsentry/sentry-javascript/compare/5.23.0...5.24.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [terser](https://github.com/terser/terser) from 5.3.1 to 5.3.2. - [Release notes](https://github.com/terser/terser/releases) - [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md) - [Commits](https://github.com/terser/terser/compare/v5.3.1...v5.3.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [postcss](https://github.com/postcss/postcss) from 8.0.3 to 8.0.7. - [Release notes](https://github.com/postcss/postcss/releases) - [Changelog](https://github.com/postcss/postcss/blob/master/CHANGELOG.md) - [Commits](https://github.com/postcss/postcss/compare/8.0.3...8.0.7) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
- 23 Sep, 2020 2 commits
-
-
Lyza Danger Gardner authored
Fixes #2561
-
Eduardo Sanz García authored
resolves 2538
-
- 22 Sep, 2020 6 commits
-
-
Lyza Danger Gardner authored
* Use mixins or variables where possible * Replace custom arrow CSS with `Svg` icon, `menu-arrow` mixin * Increase commenting
-
Robert Knight authored
The empty objects in the default config only exist to ensure that the corresponding plugin is initialized in the `Guest` constructor. Some of these are obsolete: - There is no longer a `TextSelection` plugin - There is no longer a `Toolbar` plugin - The `Document` plugin only needs to be initialized in the `Guest` base class
-
Robert Knight authored
- Remove several methods in `Guest` which were never called in the application. This includes the `deleteAnnotation` method which was used in a few tests that should have been calling `detach` instead. - Remove untested error paths in plugin loading in `Guest`. These were needed when the plugins could be defined by the consumer of Annotator but this is no longer the case. All plugins are purely internal. - Remove logic for setting `annotator` property on root element which was never read anywhere
-
Lyza Danger Gardner authored
Any time the value of the tag input field changes, the `onTagInput` callback needs to be invoked. Fixes #2550
-
dependabot-preview[bot] authored
Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.753.0 to 2.757.0. - [Release notes](https://github.com/aws/aws-sdk-js/releases) - [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-js/compare/v2.753.0...v2.757.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 2.0.15 to 2.0.17. - [Release notes](https://github.com/cure53/DOMPurify/releases) - [Commits](https://github.com/cure53/DOMPurify/compare/2.0.15...2.0.17) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
- 21 Sep, 2020 6 commits
-
-
Lyza Danger Gardner authored
The `TagEditor` component formerly did not take casing into account in its formatting function for suggested tags. The match should be case-insensitive in the formatter, as it is in the service that does the filtering of tags. This is fixed in two ways: 1. Make substring matching in the formatting function case-insensitive. Render the substring match according to the suggested tag's casing. Fixes this issue specifically. 2. Provide a fallback in the formatter for when the input text does not "seem" to match the suggested `item`. In these cases, just render the suggested tag as-is. This will prevent the formatter from spazzing out if its notion of matching differs from the tag-service's in any future case. Fixes #2547
-
Robert Knight authored
- Remove an `Object.assign` in favor of object spread - Remove an unused `ctx` argument to `emitGuestEvent` - Rewrite several test descriptions for readability - Re-order stub initializations in `beforeEach` to be more alphabetical
-
Robert Knight authored
This is the result of an automated conversion by decaffeinate followed by a manual review and clean-up of the result.
-
Robert Knight authored
To avoid confusion with different meanings of `this` between the callback and surrounding scope, get the element from callback arguments instead.
-
Robert Knight authored
The `options` field is always initialized to an object, so the `|| {}` is not necessary.
-
Robert Knight authored
-
- 18 Sep, 2020 1 commit
-
-
Eduardo Sanz García authored
closes #2009
-
- 17 Sep, 2020 6 commits
-
-
https://github.com/hypothesis/clientEduardo Sanz García authored
Merge branch 'master' of https://github.com/hypothesis/client into bucket-bar-background-opaque-2526
-
Eduardo Sanz García authored
-
dependabot-preview[bot] authored
Bumps [postcss](https://github.com/postcss/postcss) from 7.0.32 to 8.0.3. - [Release notes](https://github.com/postcss/postcss/releases) - [Changelog](https://github.com/postcss/postcss/blob/master/CHANGELOG.md) - [Commits](https://github.com/postcss/postcss/compare/7.0.32...8.0.3) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
Eduardo Sanz García authored
-
https://github.com/hypothesis/clientEduardo Sanz García authored
Merge branch 'master' of https://github.com/hypothesis/client into bucket-bar-background-opaque-2526
-
Eduardo Sanz García authored
Added a better structure, comments, and a variable
-
- 16 Sep, 2020 3 commits
-
-
Eduardo Sanz García authored
-
dependabot-preview[bot] authored
Bumps [prettier](https://github.com/prettier/prettier) from 2.1.1 to 2.1.2. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md) - [Commits](https://github.com/prettier/prettier/compare/2.1.1...2.1.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.752.0 to 2.753.0. - [Release notes](https://github.com/aws/aws-sdk-js/releases) - [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-js/compare/v2.752.0...v2.753.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
- 15 Sep, 2020 7 commits
-
-
Lyza Danger Gardner authored
Fixes #1537
-
dependabot-preview[bot] authored
Bumps [@sentry/browser](https://github.com/getsentry/sentry-javascript) from 5.22.3 to 5.23.0. - [Release notes](https://github.com/getsentry/sentry-javascript/releases) - [Changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md) - [Commits](https://github.com/getsentry/sentry-javascript/compare/5.22.3...5.23.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 5.2.1 to 5.3.0. - [Release notes](https://github.com/puppeteer/puppeteer/releases) - [Commits](https://github.com/puppeteer/puppeteer/compare/v5.2.1...v5.3.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [axe-core](https://github.com/dequelabs/axe-core) from 4.0.1 to 4.0.2. - [Release notes](https://github.com/dequelabs/axe-core/releases) - [Changelog](https://github.com/dequelabs/axe-core/blob/develop/CHANGELOG.md) - [Commits](https://github.com/dequelabs/axe-core/compare/v4.0.1...v4.0.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [terser](https://github.com/terser/terser) from 5.3.0 to 5.3.1. - [Release notes](https://github.com/terser/terser/releases) - [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md) - [Commits](https://github.com/terser/terser/compare/v5.3.0...v5.3.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [karma](https://github.com/karma-runner/karma) from 5.2.1 to 5.2.2. - [Release notes](https://github.com/karma-runner/karma/releases) - [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md) - [Commits](https://github.com/karma-runner/karma/compare/v5.2.1...v5.2.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
Robert Knight authored
-