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: bind gestures to components #31

Merged
merged 1 commit into from
Jan 11, 2022
Merged

Conversation

NorbertNader
Copy link
Contributor

@NorbertNader NorbertNader commented Jan 11, 2022

Overview

Bind gestures to components. Now data will be requested for the selected viewport when panning or zooming out and correct resolution will be determined for viewport range when zooming.

gestures

Tests

It does not make much sense to write unit tests for this, since they would basically just check that when we dispatch a custom event dateRangeChange with certain details - start, end, lastUpdatedBy -subscribeToDataStreams update callback gets called with the updated viewport in the request object. Instead we should backfill with integration tests for more "customer centric" tests once we onboard to cypress.

Legal

This project is available under the Apache 2.0 License.

@NorbertNader NorbertNader added the enhancement New feature or request label Jan 11, 2022
@NorbertNader NorbertNader self-assigned this Jan 11, 2022
@NorbertNader NorbertNader merged commit c48e114 into main Jan 11, 2022
@NorbertNader NorbertNader deleted the bind-gestures-to-components branch January 14, 2022 22:48
sheilaXu pushed a commit that referenced this pull request Sep 23, 2022
Co-authored-by: David Wu <daviwu@amazon.com>
TheEvilDev pushed a commit that referenced this pull request Nov 2, 2022
Co-authored-by: Norbert Nader <nnader@amazon.com>
This was referenced Nov 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants