- 21 Jun, 2023 1 commit
-
-
Alejandro Celaya authored
-
- 19 Jun, 2023 12 commits
-
-
Alejandro Celaya authored
-
Alejandro Celaya authored
-
dependabot[bot] authored
Bumps [sinon](https://github.com/sinonjs/sinon) from 15.1.0 to 15.1.2. - [Release notes](https://github.com/sinonjs/sinon/releases) - [Changelog](https://github.com/sinonjs/sinon/blob/main/docs/changelog.md) - [Commits](https://github.com/sinonjs/sinon/compare/v15.1.0...v15.1.2) --- updated-dependencies: - dependency-name: sinon dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
-
dependabot[bot] authored
Bumps [sass](https://github.com/sass/dart-sass) from 1.63.3 to 1.63.4. - [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.63.3...1.63.4) --- updated-dependencies: - dependency-name: sass 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.42.0 to 8.43.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.42.0...v8.43.0) --- updated-dependencies: - dependency-name: eslint dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
-
dependabot[bot] authored
Bumps [commander](https://github.com/tj/commander.js) from 10.0.1 to 11.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/v10.0.1...v11.0.0) --- updated-dependencies: - dependency-name: commander dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
-
dependabot[bot] authored
Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.1390.0 to 2.1399.0. - [Release notes](https://github.com/aws/aws-sdk-js/releases) - [Commits](https://github.com/aws/aws-sdk-js/compare/v2.1390.0...v2.1399.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 [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.59.9 to 5.59.11. - [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/v5.59.11/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
-
dependabot[bot] authored
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.59.9 to 5.59.11. - [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/v5.59.11/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
-
dependabot[bot] authored
Bumps [@sentry/cli](https://github.com/getsentry/sentry-cli) from 2.18.1 to 2.19.1. - [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.18.1...2.19.1) --- updated-dependencies: - dependency-name: "@sentry/cli" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
-
dependabot[bot] authored
Bumps [@sentry/browser](https://github.com/getsentry/sentry-javascript) from 7.54.0 to 7.55.2. - [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.54.0...7.55.2) --- updated-dependencies: - dependency-name: "@sentry/browser" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
-
dependabot[bot] authored
Bumps [@octokit/rest](https://github.com/octokit/rest.js) from 19.0.11 to 19.0.13. - [Release notes](https://github.com/octokit/rest.js/releases) - [Commits](https://github.com/octokit/rest.js/compare/v19.0.11...v19.0.13) --- updated-dependencies: - dependency-name: "@octokit/rest" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
-
- 16 Jun, 2023 4 commits
-
-
Robert Knight authored
This function is used to scroll to the "nearest" highlight when clicking the top/bottom buckets in the bucket bar. This can likely be reimplemented in a simpler way in future that doesn't rely on knowing where the buckets are relative to the viewport. If instead we assume that all the passed-in anchors are off-screen, we could just scroll to the top/bottom one.
-
Robert Knight authored
We have settled on this for the moment for consistency with `externalContainerSelector`, although the "Selector" suffix is a bit verbose, and this could be a problem if we want to support specifying an HTML element directly via JS config, rather than a selector.
-
Robert Knight authored
- Correct `flex-column` => `flex-col` - Make the `<hypothesis-bucket-bar>` flex-grow to fill its container vertically - Add a note about why we set `width: 100%`
-
Robert Knight authored
Revise how the bucket bar rendering and bucket position calculations work to remove the assumptions about where the bucket bar will be rendered relative to the viewport. Then use this new flexibility to support a `bucketBarContainer` config option which allows the host page to specify a selector for an existing DOM element where the bucket bar will be rendered. The initial use case is the video player where we want to render the bucket bar alongside the transcript rather than the sidebar. In future this can support other use cases where the document content is in some scrollable container that doesn't fill the viewport. - Render bucket bar into its own shadow root, so its styles work when the bucket bar is rendered into a custom container. - Add `container` argument to `computeBuckets` helper, and compute bucket positions relative to this container instead of the viewport. - Remove the hard-coded knowledge in `computeBuckets` about the vertical toolbar above the bucket bar, and instead change the positioning of the default bucket bar container so that it is below the vertical toolbar at the edge of the sidebar. - Move the gray background behind the bucket bar out of the `Buckets` component and into a separate element rendered by the toolbar. This is needed so that the background is still displayed even if the bucket bar is rendered into a custom container. In the process of adding this separate element, tweak the layout so that the right edge of the buckets aligns with the right edge of the toolbar icons. - Add a `bucketBarContainer` config option which specifies a selector for an element to render the bucket bar into.
-
- 15 Jun, 2023 4 commits
-
-
Alejandro Celaya authored
-
Alejandro Celaya authored
-
Alejandro Celaya authored
-
Robert Knight authored
Yarn v3 doesn't use this, and before that we were overriding the one setting in this file.
-
- 14 Jun, 2023 6 commits
-
-
Alejandro Celaya authored
-
Robert Knight authored
- Use `npm info` to get the latest published version. The previous yarn command now does something different. - Add log output to make it more obvious what is going on in CI logs - Add a 60s timeout, so the script doesn't end up running indefinitely in CI if something goes wrong
-
Robert Knight authored
In Yarn v3, the "version" script defined in `package.json` is no longer run any more.
-
Robert Knight authored
- Change command to `yarn npm publish`. See https://yarnpkg.com/cli/npm/publish - Write token to `$HOME/.yarnrc.yml` instead of `$HOME/.npmrc` per https://yarnpkg.com/getting-started/migration#dont-use-npmrc-files
-
Robert Knight authored
- Install the plugin to enable this command, per instructions in https://yarnpkg.com/cli/version - Adapt to syntax changes. Note `--no-git-tag-version` option no longer exists.
-
Robert Knight authored
Follow the steps at https://yarnpkg.com/getting-started/migration to upgrade to Yarn v3: 1. `yarn set version berry` 2. Edit `.yarnrc.yml` to add `nodeLinker: node-modules`. 3. Run `yarn install` to migrate lockfile 4. Update `.gitignore` (see comment) 5. Commit all new/changed files The initial motivation for this was to fix warnings about strip-ansi-cjs, string-width-cjs and wrap-ansi-cjs that recently appeared during fresh installs. More generally this gets us onto an actively maintained version of Yarn.
-
- 13 Jun, 2023 2 commits
-
-
Alejandro Celaya authored
-
dependabot[bot] authored
Bumps [sass](https://github.com/sass/dart-sass) from 1.62.1 to 1.63.3. - [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.62.1...1.63.3) --- updated-dependencies: - dependency-name: sass dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
-
- 12 Jun, 2023 11 commits
-
-
dependabot[bot] authored
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.22.1 to 7.22.5. - [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.22.5/packages/babel-core) --- updated-dependencies: - dependency-name: "@babel/core" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
-
dependabot[bot] authored
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.0.4 to 5.1.3. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Commits](https://github.com/Microsoft/TypeScript/compare/v5.0.4...v5.1.3) --- updated-dependencies: - dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
-
dependabot[bot] authored
Bumps [@babel/preset-typescript](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-typescript) from 7.21.5 to 7.22.5. - [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.22.5/packages/babel-preset-typescript) --- updated-dependencies: - dependency-name: "@babel/preset-typescript" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
-
dependabot[bot] authored
Bumps [rollup](https://github.com/rollup/rollup) from 3.23.1 to 3.25.1. - [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/v3.23.1...v3.25.1) --- updated-dependencies: - dependency-name: rollup dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
-
dependabot[bot] authored
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.59.8 to 5.59.9. - [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/v5.59.9/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
-
dependabot[bot] authored
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.22.4 to 7.22.5. - [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.22.5/packages/babel-preset-env) --- updated-dependencies: - dependency-name: "@babel/preset-env" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
-
dependabot[bot] authored
Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins/tree/HEAD/packages/commonjs) from 25.0.0 to 25.0.1. - [Changelog](https://github.com/rollup/plugins/blob/master/packages/commonjs/CHANGELOG.md) - [Commits](https://github.com/rollup/plugins/commits/commonjs-v25.0.1/packages/commonjs) --- updated-dependencies: - dependency-name: "@rollup/plugin-commonjs" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
-
dependabot[bot] authored
Bumps [@babel/preset-react](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-react) from 7.22.3 to 7.22.5. - [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.22.5/packages/babel-preset-react) --- updated-dependencies: - dependency-name: "@babel/preset-react" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
-
dependabot[bot] authored
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.59.8 to 5.59.9. - [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/v5.59.9/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
-
Robert Knight authored
This mechanism is not especially obvious, so add a comment to explain it.
-
Robert Knight authored
Prevent the sidebar from closing when clicking the grey background behind buckets or toolbar buttons. Visually this background is part of the sidebar, so it seems unexpected that clicking it closes the sidebar. Also if a user misses a bucket's hit target, it is annoying if the sidebar gets closed and moves the bucket/button. Remove the `pointer-events: none` style from the grey background behind the bucket bar. As a result clicks on this background will go to this background element instead of the document content behind it. Due to existing logic in the `createShadowRoot` helper, `mousedown` events within `<hypothesis-*>` element shadow roots have their propagation stopped and so they don't reach the code in `Guest` which closes the sidebar.
-