- 01 May, 2020 1 commit
-
-
Robert Knight authored
-
- 30 Apr, 2020 3 commits
-
-
Robert Knight authored
-
Robert Knight authored
Redo the automatic reload of groups when the logged-in user changes: - Ignore the initial change of user on startup if the user is logged in from a previous session. This generated an unnecessary additional API call on startup if the user had a login from a previous session - Replace the use of the deprecated `USER_CHANGED` Angular event in favor of reacting to store state changes using `watch(store.subscribe, ...)`
-
Robert Knight authored
Change the representation of the un-fetched profile within the `session` store module to make it possible to determine whether the profile has been fetched yet or not and expose this information via a `hasFetchedProfile` selector. The `profile` selector continues to return a dummy "logged out" profile before the real profile is fetched. This simplifies some of the code that uses that selector. This makes it possible for services to distinguish between the user ID changing because the user logged in by clicking "Log in" and completed the login process vs. the user already being logged in from a previous session.
-
- 28 Apr, 2020 10 commits
-
-
Robert Knight authored
Replace remaining uses angular-toastr/flash with toastMessenger
-
Robert Knight authored
Per Lyza's suggestion and matches the examples at https://www.typescriptlang.org/docs/handbook/type-checking-javascript-files.html
-
Robert Knight authored
Remove unused Preact component wrappers
-
Robert Knight authored
Fix thread list jumping when scrolling on mobile
-
Robert Knight authored
Bump commander from 5.0.0 to 5.1.0
-
Robert Knight authored
Bump sass from 1.26.3 to 1.26.5
-
dependabot-preview[bot] authored
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 2.0.9 to 2.0.10. - [Release notes](https://github.com/cure53/DOMPurify/releases) - [Commits](https://github.com/cure53/DOMPurify/compare/2.0.9...2.0.10) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
Robert Knight authored
Bump mocha from 7.0.1 to 7.1.2
-
dependabot-preview[bot] authored
Bumps [commander](https://github.com/tj/commander.js) from 5.0.0 to 5.1.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/v5.0.0...v5.1.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
Robert Knight authored
Bump terser from 4.6.11 to 4.6.12
-
- 27 Apr, 2020 13 commits
-
-
Robert Knight authored
-
Robert Knight authored
Remove old toast notifications UI and dependencies as these are no longer used.
-
Robert Knight authored
For certain error messages, we do not want the notice to be dismissed automatically as either the issue prevents further usage of the client (eg. a problem acquiring an access token when third-party accounts are in use) or the problem is likely to happen while the user is not interacting with the client. Add an `autoDismiss` option to `toastMessenger` message methods and use it when handling access token fetching errors on pages that use third-party accounts.
-
Robert Knight authored
Toasts in the old UI used to have a title and a message. Toasts in the new UI currently only have a message.
-
Robert Knight authored
Replace the last remaining uses of the old toast notification service and UI (`flash`) with the new one (`toastMessenger`). This provides a better-looking and accessible experience for these errors.
-
Robert Knight authored
Work around issue with Node v14 and Puppeteer
-
dependabot-preview[bot] authored
Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.660.0 to 2.663.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.660.0...v2.663.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
Robert Knight authored
Use the system version of Chrome if the developer has Node v14 installed, to work around an upstream issue with Puppeteer (see code comment).
-
dependabot-preview[bot] authored
Bumps [terser](https://github.com/terser/terser) from 4.6.11 to 4.6.12. - [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/v4.6.11...v4.6.12) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [@octokit/rest](https://github.com/octokit/rest.js) from 17.5.1 to 17.6.0. - [Release notes](https://github.com/octokit/rest.js/releases) - [Commits](https://github.com/octokit/rest.js/compare/v17.5.1...v17.6.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [mocha](https://github.com/mochajs/mocha) from 7.0.1 to 7.1.2. - [Release notes](https://github.com/mochajs/mocha/releases) - [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md) - [Commits](https://github.com/mochajs/mocha/compare/v7.0.1...v7.1.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [sass](https://github.com/sass/dart-sass) from 1.26.3 to 1.26.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.26.3...1.26.5) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
Robert Knight authored
Bump karma-mocha from 1.3.0 to 2.0.0
-
- 24 Apr, 2020 3 commits
-
-
Robert Knight authored
Remove some Angular wrappers for Preact components which are no longer needed.
-
Robert Knight authored
Re-measurement of the height of visible threads happened in an effect that depended only on the set of top-level threads, not the subset that were currently visible. On desktop, hover events would cause annotations to be focused as the user scrolled through the list, resulting in the root thread being recalculated regularly and hence the internal `threadHeights` state in `ThreadList` was usually accurate. On mobile however, hover events don't fire and therefore `threadHeights` was not updated as often as it should be. The mismatch between the actual rendered height of threads and the value in `threadHeights` caused the thread list to jump as a thread above the viewport was transitioned from a rendered to a non-rendered state. This issue can be reproduced in Chrome on desktop when the device type is set to "Mobile (Touch)" in dev tools. This PR fixes the issue by making recalculation depend on the set of _visible_ threads. In practice `visibleThreads` changes on most renders, however the amount of work the effect does if no measured heights changed is small, so this shouldn't be an issue. In addition to fixing this issue, this commit also adds a test for the overall behavior as the user scrolls through the list. Since correct behavior depends on complex interaction between the DOM, `ThreadList` and logic in two utility modules, we avoid mocking either the DOM or utilities in these tests.
-
Robert Knight authored
Convert stream content to Preact
-
- 23 Apr, 2020 10 commits
-
-
Robert Knight authored
This is a fairly direct conversion of the `<stream-content>` component from AngularJS to Preact. There is one minor improvement which is to display an error notification if fetching annotations from the API fails.
-
Kyle Keating authored
-
Robert Knight authored
Convert single annotation page content to Preact
-
Robert Knight authored
-
Kyle Keating authored
- Allow keyboard navigation of menus - Fix various menu a11y issues - Fix one underlying issue where executing a link in the menu with keyboard (Enter or Space) never worked - Add MenuKeyboardNavigation helper component
-
Robert Knight authored
Bump aws-sdk from 2.658.0 to 2.660.0
-
Robert Knight authored
Move margin between `ThreadCard`s to `ThreadList`
-
Lyza Gardner authored
Fix overflow on Thread contents
-
Lyza Danger Gardner authored
Add `overflow:hidden` to `.thread__content` containers such that long un-breaking words (e.g. URLs) don’t break the sidebar width on nested replies. Fixes https://github.com/hypothesis/support/issues/101
-
Lyza Gardner authored
Add differentiating link styling to tutorial
-