- 23 Mar, 2020 3 commits
-
-
Robert Knight authored
-
Robert Knight authored
Fix browser warnings about an abnormal disconnection when the WS connection is closed normally by calling `socket.close()`. When `WebSocket#close` is called with no code, the browser will send a close frame to the server with no payload. This is valid. On the backend ws4py translates this into a 1005 status code, which is also correct. However, ws4py then responds with the server's close frame and instead of sending no payload, it sends a close frame with a payload that has a 1005 status. This is not allowed by the spec and results in errors in the browser about an abnormal disconnection. Although the proper fix for this needs to happen on the server, the simplest solution right now is to set a status code in the client and ws4py will respond with the same status code in the server's close frame. As part of this, refactor the tests to clearly separate the tests for what happens when the browser/server closes the connection vs when the client closes the connection.
-
Robert Knight authored
Don't warn if the WebSocket is closed with a "going away" code (1001). This is a "normal" closure and, per the WebSocket RFC [1], can happen when the browser navigates away from the current page. [1] https://tools.ietf.org/html/rfc6455#section-7.4.1
-
- 20 Mar, 2020 5 commits
-
-
Kyle Keating authored
Add keyboard navigation to MarkdownEditor to improve a11y
-
Kyle Keating authored
- `arrow left`, `arrow right`, `home` and `end` keys are all supported and modeled after https://www.w3.org/TR/wai-aria-practices/examples/toolbar/toolbar.html - Add roving tabIndex value for all toolbar elements.
-
Robert Knight authored
Remove "invisible threads" logic
-
Robert Knight authored
Remove "extend" dependency
-
Robert Knight authored
This had been replaced with object spread or `Object.assign` apart from in one instance.
-
- 19 Mar, 2020 3 commits
-
-
Robert Knight authored
Tune virtual thread list debouncing
-
Robert Knight authored
When scrolling through a long list of annotations quickly, the sidebar could display blank space for a long period of time. This was happening because the debounced update function waited for a period of at least 20ms with no "scroll" events, and a gap of that length could take some time to appear if there was a queue of scroll events being delivered. Fix the issue by adding an upper bound of 100ms after a scroll event before recalculating the list of visible threads. Also make sure to cancel any pending updates after the `detach` method is called.
-
Robert Knight authored
This used to be required in order to run logic in the `<annotation>` component that saved new highlights to the server, in the case where the highlight's annotation card was off-screen. This is no longer required since that is now handled by the `autosave` service.
-
- 18 Mar, 2020 6 commits
-
-
Kyle Keating authored
Allow tab to submit tag
-
Robert Knight authored
Run `yarn upgrade` to fix GitHub security alerts
-
Robert Knight authored
Fix `acorn` security vulnerability warning by upgrading all packages to current compatible versions using `yarn upgrade`. After this, I also pruned some unused dependencies by running: ``` rm -rf node_modules yarn ```
-
Robert Knight authored
Add keyboard shortcuts for the Annotate/Highlight ("adder") toolbar
-
Robert Knight authored
- Add tests for multiple modifier keys - Add assertion to a test without any
-
Robert Knight authored
Trigger an error for incorrect use of `matchShortcut` by throwing an error if multiple non-modifier keys are specified.
-
- 17 Mar, 2020 16 commits
-
-
Kyle Keating authored
Add back feature from before the new tag editor; however, this will only work when the typed input matches one of the suggestions in the list to prevent adding unintentional new tags when the user simply wants to tab away.
-
Lyza Gardner authored
Remove visible text that denotes when one has `AnnotationOmega` active
-
Lyza Danger Gardner authored
-
Lyza Gardner authored
Remove some unused CSS classes and separate `annotation` styling
-
Lyza Danger Gardner authored
-
Lyza Danger Gardner authored
-
Lyza Danger Gardner authored
-
Robert Knight authored
Bump commander from 4.1.1 to 5.0.0
-
dependabot-preview[bot] authored
Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.635.0 to 2.640.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.635.0...v2.640.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
Robert Knight authored
Bump scroll-into-view from 1.14.1 to 1.14.2
-
Robert Knight authored
Bump npm-packlist from 2.1.0 to 2.1.1
-
Robert Knight authored
Bump axe-core from 3.5.1 to 3.5.2
-
Robert Knight authored
Bump preact from 10.3.3 to 10.3.4
-
Robert Knight authored
Bump sass from 1.26.2 to 1.26.3
-
Robert Knight authored
Bump sinon from 9.0.0 to 9.0.1
-
Robert Knight authored
Bump @sentry/browser from 5.13.2 to 5.14.2
-
- 16 Mar, 2020 7 commits
-
-
dependabot-preview[bot] authored
Bumps [@octokit/rest](https://github.com/octokit/rest.js) from 17.0.0 to 17.1.0. - [Release notes](https://github.com/octokit/rest.js/releases) - [Commits](https://github.com/octokit/rest.js/compare/v17.0.0...v17.1.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [@sentry/browser](https://github.com/getsentry/sentry-javascript) from 5.13.2 to 5.14.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.13.2...5.14.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [sinon](https://github.com/sinonjs/sinon) from 9.0.0 to 9.0.1. - [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.0.0...v9.0.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [sass](https://github.com/sass/dart-sass) from 1.26.2 to 1.26.3. - [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.2...1.26.3) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [preact](https://github.com/preactjs/preact) from 10.3.3 to 10.3.4. - [Release notes](https://github.com/preactjs/preact/releases) - [Commits](https://github.com/preactjs/preact/compare/10.3.3...10.3.4) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [axe-core](https://github.com/dequelabs/axe-core) from 3.5.1 to 3.5.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/v3.5.1...v3.5.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [npm-packlist](https://github.com/npm/npm-packlist) from 2.1.0 to 2.1.1. - [Release notes](https://github.com/npm/npm-packlist/releases) - [Commits](https://github.com/npm/npm-packlist/compare/v2.1.0...v2.1.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-