Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 'move' cursor added over brush mark #9164

Merged
merged 50 commits into from
Jan 30, 2024
Merged

Conversation

alliefeldman
Copy link
Contributor

To create affordance for brush panning, switch the user's mouse cursor to 'move' when dragging/hovering over a displayed interval selection.

274331754-21cffb6f-09e4-479a-b69e-d8cc52297adb

Contributes to #4155

alliefeldman and others added 30 commits August 7, 2023 14:32
…(interpolatedSignalRef) (vega#9111)

Co-authored-by: GitHub Actions Bot <vega-actions-bot@users.noreply.github.com>
Bumps [jest-dev-server](https://github.com/argos-ci/jest-puppeteer/tree/HEAD/packages/jest-dev-server) from 9.0.0 to 9.0.1.
- [Release notes](https://github.com/argos-ci/jest-puppeteer/releases)
- [Changelog](https://github.com/argos-ci/jest-puppeteer/blob/main/packages/jest-dev-server/CHANGELOG.md)
- [Commits](https://github.com/argos-ci/jest-puppeteer/commits/v9.0.1/packages/jest-dev-server)

---
updated-dependencies:
- dependency-name: jest-dev-server
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.22.20 to 7.23.0.
- [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.0/packages/babel-core)

---
updated-dependencies:
- dependency-name: "@babel/core"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [terser](https://github.com/terser/terser) from 5.19.4 to 5.20.0.
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](terser/terser@v5.19.4...v5.20.0)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@alliefeldman alliefeldman marked this pull request as ready for review November 2, 2023 23:15
@@ -259,7 +259,7 @@
"clip": true,
"encode": {
"enter": {
"cursor": {"value": "pointer"},
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this one changing? Seems odd that there was one already and you override it.

@@ -794,7 +794,7 @@ describe('Interval Selections', () => {
type: 'rect',
clip: true,
encode: {
enter: {fill: {value: 'transparent'}},
enter: {cursor: {value: 'move'}, fill: {value: 'transparent'}},
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add tests that check that we don't add a cursor when

  • it's already defined
  • or the selection cannot be moved (iirc Arvind made a commend about that somewhere but I can't find it right now)

@domoritz
Copy link
Member

domoritz commented Nov 3, 2023

#9132 (comment)

@domoritz
Copy link
Member

domoritz commented Nov 3, 2023

I'm the future, please update an existing pull request/branch rather than opening a new one so we preserve comments better.

@alliefeldman alliefeldman requested a review from a team as a code owner December 13, 2023 19:53
@domoritz domoritz marked this pull request as draft December 13, 2023 19:57
@domoritz
Copy link
Member

Converting to draft for now. Please mark as ready when it's ready.

@alliefeldman alliefeldman marked this pull request as ready for review December 16, 2023 05:25
@domoritz domoritz merged commit ffec017 into vega:main Jan 30, 2024
8 checks passed
@domoritz
Copy link
Member

thank you @alliefeldman

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants