- 01 Feb, 2024 5 commits
-
-
Alejandro Celaya authored
-
Alejandro Celaya authored
-
Robert Knight authored
-
Robert Knight authored
-
Robert Knight authored
The various top-level Hypothesis UI elements in the annotator have a common structure where: - There is a `<hypothesis-{name}>` container element - The container has a shadow root with the annotator stylesheet loaded into it - Preact is used to render the contents of the element, into the shadow root. - There is a controller which wraps the container element and has methods to read/write the displayed data. When the data is changed, the Preact tree is re-rendered. Add a `PreactContainer` utility which implements common parts of this pattern, and refactor two of the top-level UI controls (bucket bar and adder) to use it.
-
- 31 Jan, 2024 4 commits
-
-
Robert Knight authored
Use MessagePort's built-in `close` event to detect when the sending frame goes away, instead of the sending window's `unload` event, which is being deprecated. Currently only beta/dev versions of Chrome support the MessagePort `close` event. Fixes https://github.com/hypothesis/client/issues/5621
-
Alejandro Celaya authored
-
Robert Knight authored
Extract the `TopBarToggleButton` component that causes the warning into a separate module.
-
Alejandro Celaya authored
-
- 30 Jan, 2024 3 commits
-
-
Alejandro Celaya authored
-
Robert Knight authored
Revise the documentation in order to: - Reduce uninformative noise ("the X frame informs the Y frame to..."). The source and destination frame type are given by the type name. - Re-phrase the documentation to read more like either a function description or an event description, depending on whether the message is a specific command/request or a more general event. - Use the plural "guests" to make it clear that there can be more than one guest frame. - Clarify when events specific to third-party authorities are used.
-
Alejandro Celaya authored
-
- 29 Jan, 2024 4 commits
-
-
dependabot[bot] authored
Bumps the sentry group with 2 updates: [@sentry/browser](https://github.com/getsentry/sentry-javascript) and [@sentry/cli](https://github.com/getsentry/sentry-cli). Updates `@sentry/browser` from 7.94.1 to 7.98.0 - [Release notes](https://github.com/getsentry/sentry-javascript/releases) - [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md) - [Commits](https://github.com/getsentry/sentry-javascript/compare/7.94.1...7.98.0) Updates `@sentry/cli` from 2.25.3 to 2.26.0 - [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.25.3...2.26.0) --- updated-dependencies: - dependency-name: "@sentry/browser" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: sentry - dependency-name: "@sentry/cli" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: sentry ... Signed-off-by: dependabot[bot] <support@github.com>
-
dependabot[bot] authored
Bumps the eslint group with 2 updates: [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) and [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser). Updates `@typescript-eslint/eslint-plugin` from 6.19.0 to 6.19.1 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.19.1/packages/eslint-plugin) Updates `@typescript-eslint/parser` from 6.19.0 to 6.19.1 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.19.1/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: eslint - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: eslint ... Signed-off-by: dependabot[bot] <support@github.com>
-
dependabot[bot] authored
Bumps the babel group with 2 updates: [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) and [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env). Updates `@babel/core` from 7.23.7 to 7.23.9 - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.23.9/packages/babel-core) Updates `@babel/preset-env` from 7.23.8 to 7.23.9 - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.23.9/packages/babel-preset-env) --- updated-dependencies: - dependency-name: "@babel/core" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: babel - dependency-name: "@babel/preset-env" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: babel ... Signed-off-by: dependabot[bot] <support@github.com>
-
dependabot[bot] authored
Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.1540.0 to 2.1545.0. - [Release notes](https://github.com/aws/aws-sdk-js/releases) - [Commits](https://github.com/aws/aws-sdk-js/compare/v2.1540.0...v2.1545.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>
-
- 26 Jan, 2024 2 commits
-
-
Robert Knight authored
Keep only the replacement "release-staging" step instead.
-
Robert Knight authored
The `CloseButton` component in @hypothesis/frontend-shared has styling that makes it taller (44px) on touch devices, but the `Tab` component does not. Items in the `TabHeader` are centered on the cross axis, so on mobile, the close button became taller than the tabs and detached them from the tab panel. An alternative way to fix this would be to make tabs also grow in height on touch devices, but they are quite usable without. Fixes https://github.com/hypothesis/client/issues/6131
-
- 25 Jan, 2024 3 commits
-
-
Robert Knight authored
-
Robert Knight authored
Prevent the filter toggle button row from overflowing the containing panel by wrapping onto multiple lines if needed, and truncate long labels within individual toggle buttons if needed. Fixes https://github.com/hypothesis/client/issues/6140
-
Robert Knight authored
Remove the `search_panel` feature flag tests and old search UI.
-
- 24 Jan, 2024 4 commits
-
-
Alejandro Celaya authored
-
Alejandro Celaya authored
-
Robert Knight authored
This fixes an issue on smaller iOS devices (eg. iPhone) where the browser zooms in when an input field with < 16px font size is tapped. This change ought to be applied to the `Input` component in the pattern library, but until then, apply it to input fields in the client. This change was taken from the `MarkdownEditor` component.
-
Robert Knight authored
There was already a solution for this issue implemented in `SearchIconButton`. Extract that into a component that the other top bar buttons can use. Part of https://github.com/hypothesis/client/issues/6131.
-
- 23 Jan, 2024 2 commits
-
-
Robert Knight authored
Adjust icon placement per feedback in https://github.com/hypothesis/client/pull/6130#pullrequestreview-1838479102.
-
Robert Knight authored
Align the styling of the search/clear buttons with the mocks [1] by: - Making the icons visually part of the input field - Increasing their size to match the top bar icons - Adjusting the padding [1] https://github.com/hypothesis/client/issues/6006#issuecomment-1887328191
-
- 22 Jan, 2024 13 commits
-
-
Robert Knight authored
Move the screen-reader only summary element outside of the container with spacing between elements, as this caused the tab titles to shift down.
-
Robert Knight authored
-
Robert Knight authored
In the new search UI there is no longer a status message which tries to describe the search result counts in detail. Instead we rely on the existing counts that are displayed on tab titles. Add a hidden status message with `role="status", aria-live="polite"` to communicate changes in these counts to assistive technology users. Part of https://github.com/hypothesis/client/issues/6006
-
Alejandro Celaya authored
-
Alejandro Celaya authored
-
dependabot[bot] authored
Bumps the sentry group with 2 updates: [@sentry/browser](https://github.com/getsentry/sentry-javascript) and [@sentry/cli](https://github.com/getsentry/sentry-cli). Updates `@sentry/browser` from 7.93.0 to 7.94.1 - [Release notes](https://github.com/getsentry/sentry-javascript/releases) - [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md) - [Commits](https://github.com/getsentry/sentry-javascript/compare/7.93.0...7.94.1) Updates `@sentry/cli` from 2.25.0 to 2.25.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.25.0...2.25.3) --- updated-dependencies: - dependency-name: "@sentry/browser" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: sentry - dependency-name: "@sentry/cli" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: sentry ... Signed-off-by: dependabot[bot] <support@github.com>
-
dependabot[bot] authored
Bumps [sass](https://github.com/sass/dart-sass) from 1.69.7 to 1.70.0. - [Release notes](https://github.com/sass/dart-sass/releases) - [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md) - [Commits](https://github.com/sass/dart-sass/compare/1.69.7...1.70.0) --- updated-dependencies: - dependency-name: sass dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
-
dependabot[bot] authored
Bumps the rollup group with 1 update: [rollup](https://github.com/rollup/rollup). Updates `rollup` from 4.9.5 to 4.9.6 - [Release notes](https://github.com/rollup/rollup/releases) - [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md) - [Commits](https://github.com/rollup/rollup/compare/v4.9.5...v4.9.6) --- updated-dependencies: - dependency-name: rollup dependency-type: direct:development update-type: version-update:semver-patch dependency-group: rollup ... Signed-off-by: dependabot[bot] <support@github.com>
-
dependabot[bot] authored
Bumps [prettier](https://github.com/prettier/prettier) from 3.2.2 to 3.2.4. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](https://github.com/prettier/prettier/compare/3.2.2...3.2.4) --- updated-dependencies: - dependency-name: prettier dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
-
dependabot[bot] authored
Bumps the eslint group with 2 updates: [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) and [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser). Updates `@typescript-eslint/eslint-plugin` from 6.18.1 to 6.19.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.19.0/packages/eslint-plugin) Updates `@typescript-eslint/parser` from 6.18.1 to 6.19.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.19.0/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: eslint - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: eslint ... Signed-off-by: dependabot[bot] <support@github.com>
-
dependabot[bot] authored
Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.1536.0 to 2.1540.0. - [Release notes](https://github.com/aws/aws-sdk-js/releases) - [Commits](https://github.com/aws/aws-sdk-js/compare/v2.1536.0...v2.1540.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 [autoprefixer](https://github.com/postcss/autoprefixer) from 10.4.16 to 10.4.17. - [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.16...10.4.17) --- updated-dependencies: - dependency-name: autoprefixer dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
-
Robert Knight authored
When a selection exists, it replaces other filters rather than being combined with them. Disable the other filter controls in the UI in this case to make it more obvious how the filters are being applied.
-