- 01 Feb, 2021 11 commits
-
-
dependabot-preview[bot] authored
Bumps [@sentry/browser](https://github.com/getsentry/sentry-javascript) from 5.30.0 to 6.0.3. - [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.30.0...6.0.3) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.2.3 to 10.2.4. - [Release notes](https://github.com/postcss/autoprefixer/releases) - [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md) - [Commits](https://github.com/postcss/autoprefixer/compare/10.2.3...10.2.4) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [karma](https://github.com/karma-runner/karma) from 6.0.1 to 6.0.3. - [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/v6.0.1...v6.0.3) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [preact](https://github.com/preactjs/preact) from 10.5.11 to 10.5.12. - [Release notes](https://github.com/preactjs/preact/releases) - [Commits](https://github.com/preactjs/preact/compare/10.5.11...10.5.12) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [eslint](https://github.com/eslint/eslint) from 7.18.0 to 7.19.0. - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/compare/v7.18.0...v7.19.0) 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.831.0 to 2.834.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.831.0...v2.834.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [@octokit/rest](https://github.com/octokit/rest.js) from 18.0.14 to 18.0.15. - [Release notes](https://github.com/octokit/rest.js/releases) - [Commits](https://github.com/octokit/rest.js/compare/v18.0.14...v18.0.15) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
Lyza Danger Gardner authored
-
dependabot-preview[bot] authored
Bumps [@sentry/browser](https://github.com/getsentry/sentry-javascript) from 5.30.0 to 6.0.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.30.0...6.0.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [commander](https://github.com/tj/commander.js) from 6.2.1 to 7.0.0. - [Release notes](https://github.com/tj/commander.js/releases) - [Changelog](https://github.com/tj/commander.js/blob/master/CHANGELOG.md) - [Commits](https://github.com/tj/commander.js/compare/v6.2.1...v7.0.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
- 29 Jan, 2021 2 commits
-
-
Kyle Keating authored
Action will perform the following: - Test if any changes to the frontend-shared/ folder have been made since the last release of the client (parent). - If they have, then it will get the last published version of the frontend-shared package, add 1 to the number, and save new version to package.json file - Build the frontend-shared for release - Publish the frontend-shared package to npm Additionally add lint support to .github/
-
Kyle Keating authored
-
- 26 Jan, 2021 11 commits
-
-
Kyle Keating authored
-
Kyle Keating authored
- Add babel presets for frontend-shared to transpile js/jsx - Add `build` script to transpile frontend-shared and output sourcemaps and transpiled js code to /lib - Add frontend-shared /src/index.js as a way to serve as a root import location for the frontend-shared lib - Fix up frontend-shared/package.json so publishing will work as expecting and include only intended files - Add a browserify config in the frontend-shared package.json file so that driving client will be able to bundle it and still import svg and html files that are nested inside /frontend-shared/src - Add svg-icon to serve as the first shared js component - Move several .svg files into the lib that are relaxant for testing svg-icon that also seem share-worthy - Make modifications to ensure that typechecking, linting, and testing all work as expected and ignore /lib folder - Change karma config so that tests will automatically run on /frontend-shared, driven from the client's gulp command - Added new gulp tasks to help with building and linking the frontend-shared package so that is it fully transparent with existing tooling - Add gulp-babel and gulp-sourcemaps packages to help with build tasks for /frontend-shared that are necessary for symlinking / building the package - Used new SvgIcon sidebar/index.js as a tester. This requires making two copies of registerIcons while we make the transition. Replacing all call sites of SvgIcon would be too large for an already overwhelming commit
-
Kyle Keating authored
- Add basic bare bones frontend-shared package as a sub-package, not a workspace since they can not be "public" - Move the mixin/focus.scss file into this package - Update scss @use dependencies to reference the new package (this will point to node_module/@hypothesis/frontend-shared/... location)
-
Eduardo Sanz García authored
This page will allow us to investigate if it is possible to capture the selection event from outside the shadow DOM, and if so, how can we do it.
-
Lyza Danger Gardner authored
-
Lyza Danger Gardner authored
-
Lyza Danger Gardner authored
-
Lyza Danger Gardner authored
Also: update tests for modern syntax
-
Robert Knight authored
The real function returns a function. The mock returned a number. This happened not to cause a failure currently but it could break with future changes in Preact.
-
Robert Knight authored
`assert.isEmpty()` checks the size of an array, map or set or counts the number of keys on an object. It doesn't know how to check that an Enzyme wrapper produced no output. `assert.isEmpty(wrapper)` passes due to implementation details of the Enzyme wrapper - it behaves like an object with no properties. However it _always_ passes regardless of the number of nodes in the wrapper, which is not the intended behavior here.
-
Robert Knight authored
String styles are a Preact-specific feature which is likely to go away in future. Pass an object instead.
-
- 25 Jan, 2021 9 commits
-
-
Eduardo Sanz García authored
Because the code in `dev-server/static/scripts/util.js` is not transpiled by Babel, it needs to be compatible with all the browsers versions in `browserslist` (`package.json`). Optional chaining `(?.)` is for example not support in Chrome versions < 80. This is only an issue when testing `localhost:3000` on these supported, but older browser versions.
-
dependabot-preview[bot] authored
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.2.1 to 10.2.3. - [Release notes](https://github.com/postcss/autoprefixer/releases) - [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md) - [Commits](https://github.com/postcss/autoprefixer/compare/10.2.1...10.2.3) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [preact](https://github.com/preactjs/preact) from 10.5.10 to 10.5.11. - [Release notes](https://github.com/preactjs/preact/releases) - [Commits](https://github.com/preactjs/preact/compare/10.5.10...10.5.11) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [core-js](https://github.com/zloirock/core-js) from 3.8.2 to 3.8.3. - [Release notes](https://github.com/zloirock/core-js/releases) - [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md) - [Commits](https://github.com/zloirock/core-js/compare/v3.8.2...v3.8.3) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [karma](https://github.com/karma-runner/karma) from 5.2.3 to 6.0.1. - [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.3...v6.0.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [sinon](https://github.com/sinonjs/sinon) from 9.2.3 to 9.2.4. - [Release notes](https://github.com/sinonjs/sinon/releases) - [Changelog](https://github.com/sinonjs/sinon/blob/master/CHANGELOG.md) - [Commits](https://github.com/sinonjs/sinon/compare/v9.2.3...v9.2.4) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [sass](https://github.com/sass/dart-sass) from 1.32.4 to 1.32.5. - [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.32.4...1.32.5) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [@octokit/rest](https://github.com/octokit/rest.js) from 18.0.12 to 18.0.14. - [Release notes](https://github.com/octokit/rest.js/releases) - [Commits](https://github.com/octokit/rest.js/compare/v18.0.12...v18.0.14) 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.828.0 to 2.831.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.828.0...v2.831.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
- 22 Jan, 2021 5 commits
-
-
Lyza Danger Gardner authored
-
Lyza Danger Gardner authored
Move a few modules from `util` to (for now) the top-level directory. These modules have multiple dependencies, or are otherwise application-specific, but don't fit comfortably in the `helpers` modules.
-
Lyza Danger Gardner authored
-
Lyza Danger Gardner authored
Extract modules from the `util` directory that are specific to the application domain or have application dependencies
-
Eduardo Sanz García authored
A side effect of using shadow DOM for the sidebar is that the BucketBar 'plugin' could not be injected easily using a current query mechanism. After consulting with @robertknight, we decided to avoid using the normal plugin injection mechanism and instead instantiate the BucketBar from the sidebar. This PR also includes: - a no documented configuration option to disable the shadow DOM encapsulation. This can be removed in the future if not needed. - more strict types - simplification of the logic in the sidebar I have tested these changes in the following browsers: Brower\OS | MacOS | Windows ------------ | ------------------ | ----------------- Chrome 57 |
✔ |✔ Chrome beta |✔ |✔ Edge 17 | |✔ Edge beta |✔ |✔ Firefox 53 |✔ |✔ Firefox beta |✔ |✔ Safari 10 |✔ | Safari 14 |✔ |
-
- 21 Jan, 2021 2 commits
-
-
Lyza Danger Gardner authored
Refactor sorting functions to operate on threads instead of annotations. Establish logic for retrieving and comparing "root" annotations, which aren't always at the top level of a thread for "headless threads".
-
Eduardo Sanz García authored
On doing some work I found the sidebar has a classname `.annotator-outer` which doesn't have any associated style. I couldn't find any other references to `annotator-outer` in the project.
-