- 02 May, 2022 7 commits
-
-
dependabot[bot] authored
Bumps [eslint-plugin-react-hooks](https://github.com/facebook/react/tree/HEAD/packages/eslint-plugin-react-hooks) from 4.4.0 to 4.5.0. - [Release notes](https://github.com/facebook/react/releases) - [Changelog](https://github.com/facebook/react/blob/main/packages/eslint-plugin-react-hooks/CHANGELOG.md) - [Commits](https://github.com/facebook/react/commits/HEAD/packages/eslint-plugin-react-hooks) --- updated-dependencies: - dependency-name: eslint-plugin-react-hooks dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
-
Robert Knight authored
Simplify the `watch` utility by making it only support a single callback to get the watched value, along with an optional comparison function to use to compare the results. To watch multiple values the callback can return an array and use a shallow-equality comparison. In `FrameSyncService` the lengthy callback passed to `watch` was extracted into a separate function to make the `watch` call more readable.
-
Robert Knight authored
Feature flags are now sent to the host frame, which never changes, so there is no point in re-sending flags when guest frames change. In future we'll need to figure out how to communicate feature flags to guest frames and depending on whether the sidebar or host frame does this, the sidebar may once again need to react to guest frames changing.
-
Lyza Danger Gardner authored
-
Lyza Danger Gardner authored
-
Lyza Danger Gardner authored
-
Lyza Danger Gardner authored
- Make search icon alignment correct when input field is focused - Add a mostly-opaque background so that collisions with long group names are less jarring - Add a border when query applied but input not focused to make it more visible - Use `TextInput` for more consistent focus-ring treatment - Fix focus-ring overlap when input is visible
-
- 26 Apr, 2022 3 commits
-
-
Lyza Danger Gardner authored
-
Lyza Danger Gardner authored
-
Lyza Danger Gardner authored
- Convert `LaunchErrorPanel` - Convert `SidebarContentError` - Convert `SortMenu`
-
- 25 Apr, 2022 16 commits
-
-
dependabot[bot] authored
Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins/tree/HEAD/packages/commonjs) from 21.1.0 to 22.0.0. - [Release notes](https://github.com/rollup/plugins/releases) - [Changelog](https://github.com/rollup/plugins/blob/master/packages/commonjs/CHANGELOG.md) - [Commits](https://github.com/rollup/plugins/commits/commonjs-v22.0.0/packages/commonjs) --- updated-dependencies: - dependency-name: "@rollup/plugin-commonjs" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
-
dependabot[bot] authored
Bumps [@sentry/cli](https://github.com/getsentry/sentry-cli) from 2.0.2 to 2.0.3. - [Release notes](https://github.com/getsentry/sentry-cli/releases) - [Changelog](https://github.com/getsentry/sentry-cli/blob/master/CHANGELOG.md) - [Commits](https://github.com/getsentry/sentry-cli/compare/2.0.2...2.0.3) --- updated-dependencies: - dependency-name: "@sentry/cli" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
-
dependabot[bot] authored
Bumps [npm-packlist](https://github.com/npm/npm-packlist) from 5.0.0 to 5.0.2. - [Release notes](https://github.com/npm/npm-packlist/releases) - [Changelog](https://github.com/npm/npm-packlist/blob/main/CHANGELOG.md) - [Commits](https://github.com/npm/npm-packlist/compare/v5.0.0...v5.0.2) --- updated-dependencies: - dependency-name: npm-packlist dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
-
dependabot[bot] authored
Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.1116.0 to 2.1120.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.1116.0...v2.1120.0) --- updated-dependencies: - dependency-name: aws-sdk dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
-
dependabot[bot] authored
Bumps [core-js](https://github.com/zloirock/core-js) from 3.22.0 to 3.22.2. - [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.22.0...v3.22.2) --- updated-dependencies: - dependency-name: core-js dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
-
dependabot[bot] authored
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.4.4 to 10.4.5. - [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.4.4...10.4.5) --- updated-dependencies: - dependency-name: autoprefixer dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
-
dependabot[bot] authored
Bumps [showdown](https://github.com/showdownjs/showdown) from 2.0.3 to 2.1.0. - [Release notes](https://github.com/showdownjs/showdown/releases) - [Changelog](https://github.com/showdownjs/showdown/blob/2.1.0/CHANGELOG.md) - [Commits](https://github.com/showdownjs/showdown/compare/2.0.3...2.1.0) --- updated-dependencies: - dependency-name: showdown dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
-
dependabot[bot] authored
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 13.5.2 to 13.6.0. - [Release notes](https://github.com/puppeteer/puppeteer/releases) - [Changelog](https://github.com/puppeteer/puppeteer/blob/main/CHANGELOG.md) - [Commits](https://github.com/puppeteer/puppeteer/compare/v13.5.2...v13.6.0) --- updated-dependencies: - dependency-name: puppeteer dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
-
dependabot[bot] authored
Bumps [karma](https://github.com/karma-runner/karma) from 6.3.18 to 6.3.19. - [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.3.18...v6.3.19) --- updated-dependencies: - dependency-name: karma dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
-
dependabot[bot] authored
Bumps [eslint](https://github.com/eslint/eslint) from 8.13.0 to 8.14.0. - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/compare/v8.13.0...v8.14.0) --- updated-dependencies: - dependency-name: eslint dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
-
Robert Knight authored
Co-authored-by: Lyza Gardner <439947+lyzadanger@users.noreply.github.com>
-
Robert Knight authored
Split the `useStoreProxy` hook into a generic/base `useStore` hook that handles wrapping a store created with `createStore`, and a `useSidebarStore` hook that handles looking up the sidebar's main store via `useService('store')` and passing it to the base hook. This follows the existing separation of responsibilities between `createStore` vs `createSidebarStore`, and would potentially allow us to split the generic store infrastructure code into a separate package for use in other projects in future.
-
Lyza Danger Gardner authored
-
Lyza Danger Gardner authored
-
Lyza Danger Gardner authored
-
Lyza Danger Gardner authored
Show Notebook option in UserMenu regardless of feature-flag status.
-
- 22 Apr, 2022 2 commits
-
-
Robert Knight authored
The reference to "config fragment" may be unclear here, so just leave it out. Someone interested in the details of how configuration is passed to applications on launch can read the code that uses this config type.
-
Robert Knight authored
Various functions and constructors in the annotator code accepted a `config` parameter with an uninformative `Record<string, any>` type. Replace these types with more specific ones that specify required / known optional properties directly and use `Record<string, unknown>` for properties which are forwarded to other contexts. Also improve the documentation for the `getConfig` function which serves as the entry point for reading configuration in the annotator.
-
- 21 Apr, 2022 12 commits
-
-
Robert Knight authored
Use the suffix "Response" rather than "Result" for consistency with other API response types.
-
Robert Knight authored
Make `fetchJSON` return `Promise<unknown>` rather than `Promise<any>` and add appropriate types and casts for the remaining API / OAuth responses that didn't have them.
-
Robert Knight authored
When declaring a prop or parameter callback whose result is unused, the return type should be `void` rather than `any`. In this context the return type specifies what the callee _requires_, not what the caller _provides_.
-
Robert Knight authored
-
Robert Knight authored
Add spec link and mark `params` as optional.
-
Robert Knight authored
This option is enabled by default when `strict` is set [1], so just remove the override in src/tsconfig.json that turned it off. Also remove the `tsconfig.no-any.json` auxilliary configuration that was used during the migration. Fixes https://github.com/hypothesis/client/issues/3918 [1] https://www.typescriptlang.org/tsconfig#noImplicitAny
-
Robert Knight authored
-
Robert Knight authored
-
Robert Knight authored
-
Robert Knight authored
-
Robert Knight authored
-
Robert Knight authored
-