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: have field-slider fire intermediate change events #1954

Merged
merged 3 commits into from
Sep 25, 2023

Conversation

joycexfang
Copy link
Contributor

@joycexfang joycexfang commented Sep 22, 2023

The basics

The details

Resolves

Fixes #1914.

Proposed Changes

Changes the type of "change events" from BlockChange to BlockFieldIntermediateChange.

Reason for Changes

Currently, the slider field fires a BlockChange every time the slider is moved, however, people might want to ignore intermediate changes, so it should fire a different event type.

Test Coverage

I tested manually using Inspect Elements in Chrome.

Documentation

Not applicable.

Additional Information

Thanks for letting me contribute in GHC Open Source Day!

@google-cla
Copy link

google-cla bot commented Sep 22, 2023

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@conventional-commit-lint-gcf
Copy link

conventional-commit-lint-gcf bot commented Sep 22, 2023

🤖 I detect that the PR title and the commit message differ and there's only one commit. To use the PR title for the commit history, you can use Github's automerge feature with squashing, or use automerge label. Good luck human!

-- conventional-commit-lint bot
https://conventionalcommits.org/

@joycexfang joycexfang marked this pull request as ready for review September 22, 2023 18:27
@joycexfang joycexfang requested a review from a team as a code owner September 22, 2023 18:27
@joycexfang joycexfang requested review from maribethb and removed request for a team September 22, 2023 18:27
@joycexfang joycexfang changed the title fix: have field-slider fire intermediate change events feat: have field-slider fire intermediate change events Sep 22, 2023
Copy link
Contributor

@maribethb maribethb left a comment

Choose a reason for hiding this comment

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

Looks great! Thank you for contributing this PR!

@maribethb maribethb merged commit dfd4966 into google:osd Sep 25, 2023
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.

Have field-slider fire intermediate change events
2 participants