-
Notifications
You must be signed in to change notification settings - Fork 134
fix(heatmap): limit brush tool #1270
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
Merged
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
f675049
feat: limit brush tool through brush area
rshen91 aeec60c
fix: use dragShape to restrict
rshen91 6f99962
refactor: remove unused selector
rshen91 f822a55
test: add vrt test
rshen91 5fc5f9c
fix: add dragShape to conditional
rshen91 f32b036
Merge branch 'master' into brushtool-brushArea
rshen91 01f06ba
Merge remote-tracking branch 'upstream/master' into brushtool-brushArea
rshen91 c073c69
Merge remote-tracking branch 'upstream/master' into brushtool-brushArea
rshen91 ba8d5db
Merge branch 'master' into brushtool-brushArea
markov00 08657e2
fix: clamp end y to fit into chart only
rshen91 e7ef078
Merge remote-tracking branch 'upstream/master' into brushtool-brushArea
rshen91 d0227fb
Merge branch 'master' into brushtool-brushArea
rshen91 545e6e4
fix: merge commit
rshen91 c1218ef
Merge remote-tracking branch 'origin/brushtool-brushArea' into brusht…
rshen91 25fc202
Merge branch 'master' into brushtool-brushArea
rshen91 206713d
fix: fix campedEndY
rshen91 5e970b7
test: update vrt
rshen91 d9c53e5
Merge branch 'master' into brushtool-brushArea
rshen91 01046a6
Merge branch 'master' into brushtool-brushArea
rshen91 fa9b234
Merge branch 'master' into brushtool-brushArea
rshen91 55f5d5b
Merge branch 'master' into brushtool-brushArea
rshen91 1c1cfed
Merge branch 'master' into brushtool-brushArea
rshen91 fad1f2c
Merge branch 'master' into brushtool-brushArea
rshen91 cac1dab
Merge remote-tracking branch 'upstream/master' into brushtool-brushArea
rshen91 a623099
Merge remote-tracking branch 'origin/brushtool-brushArea' into brusht…
rshen91 697084a
Merge branch 'master' into brushtool-brushArea
rshen91 d4f3be6
Merge branch 'master' into brushtool-brushArea
rshen91 1a37039
Merge remote-tracking branch 'upstream/master' into brushtool-brushArea
rshen91 b3376f3
test: update vrt
rshen91 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Binary file added
BIN
+41.8 KB
...-test-ts-heatmap-stories-should-not-have-brush-tool-extend-into-axes-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| /* | ||
| * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
| * or more contributor license agreements. Licensed under the Elastic License | ||
| * 2.0 and the Server Side Public License, v 1; you may not use this file except | ||
| * in compliance with, at your election, the Elastic License 2.0 or the Server | ||
| * Side Public License, v 1. | ||
| */ | ||
|
|
||
| import { common } from '../page_objects'; | ||
|
|
||
| describe('Heatmap stories', () => { | ||
| it('should not have brush tool extend into axes', async () => { | ||
| await common.expectChartWithDragAtUrlToMatchScreenshot( | ||
| 'http://localhost:9001/?path=/story/heatmap-alpha--basic', | ||
| { left: 100, top: 100 }, | ||
| { left: 300, top: 300 }, | ||
| ); | ||
| }); | ||
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.