-
Notifications
You must be signed in to change notification settings - Fork 8.5k
[Lens] Color in dimension trigger #76871
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
flash1293
merged 29 commits into
elastic:master
from
flash1293:lens/color-in-dimension-trigger
Nov 17, 2020
Merged
Changes from 23 commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
dc03598
implement color indicators
flash1293 1118d0c
add icon for color by
flash1293 66f4bd1
fix styling
flash1293 5d0192e
Merge remote-tracking branch 'upstream/master' into lens/color-in-dim…
flash1293 d5ba1b3
expose active data in some places
flash1293 be3dd02
Merge remote-tracking branch 'upstream/master' into lens/expose-activ…
flash1293 696f791
add active data to all relevant places
flash1293 1490d31
Fix bugs
flash1293 f3ca265
fix types
flash1293 a78946a
add tests
flash1293 c751be7
Merge remote-tracking branch 'upstream/master' into lens/expose-activ…
flash1293 8a695d1
remove leftover
flash1293 3820cfa
add test for expression renderer component
flash1293 4de8419
Merge branch 'lens/expose-active-data' into lens/color-in-dimension-t…
flash1293 9e4fb2e
add series and palette indicator
flash1293 2de1df2
Merge remote-tracking branch 'upstream/master' into lens/expose-activ…
flash1293 ec31106
update docs
flash1293 4d708bc
Merge branch 'lens/expose-active-data' into lens/color-in-dimension-t…
flash1293 b58abd4
put stubs in place for things to test
flash1293 9cff0b2
Merge remote-tracking branch 'upstream/master' into lens/color-in-dim…
flash1293 9c80ec2
fix tests and stuff
flash1293 61e4849
Merge remote-tracking branch 'upstream/master' into lens/color-in-dim…
flash1293 d32cb66
Merge branch 'master' into lens/color-in-dimension-trigger
kibanamachine 723a3db
Merge remote-tracking branch 'upstream/master' into lens/color-in-dim…
flash1293 8ed06f8
review comments
flash1293 188ed08
simplify
flash1293 b9b6dc5
merge remote-tracking branch 'upstream/master' into lens/color-in-dim…
flash1293 82580bf
review fixes
flash1293 4e0a21f
remove unused css class
flash1293 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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,7 +6,7 @@ | |
|
|
||
| import React, { memo, useMemo } from 'react'; | ||
| import { i18n } from '@kbn/i18n'; | ||
| import { EuiLink, EuiIcon, EuiToolTip, EuiFlexGroup, EuiFlexItem } from '@elastic/eui'; | ||
| import { EuiText, EuiIcon, EuiToolTip, EuiFlexGroup, EuiFlexItem } from '@elastic/eui'; | ||
| import { IUiSettingsClient, SavedObjectsClientContract, HttpSetup } from 'kibana/public'; | ||
| import { IStorageWrapper } from 'src/plugins/kibana_utils/public'; | ||
| import { DatasourceDimensionTriggerProps, DatasourceDimensionEditorProps } from '../../types'; | ||
|
|
@@ -86,11 +86,11 @@ export const IndexPatternDimensionTriggerComponent = function IndexPatternDimens | |
| } | ||
| anchorClassName="eui-displayBlock" | ||
| > | ||
| <EuiLink | ||
| <EuiText | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There are a few questions/concerns I have due to the change from
|
||
| size="s" | ||
| color="danger" | ||
| id={columnId} | ||
| className="lnsLayerPanel__triggerLink" | ||
| onClick={props.onClick} | ||
| data-test-subj="lns-dimensionTrigger" | ||
| aria-label={triggerLinkA11yText} | ||
| title={triggerLinkA11yText} | ||
|
|
@@ -101,16 +101,16 @@ export const IndexPatternDimensionTriggerComponent = function IndexPatternDimens | |
| </EuiFlexItem> | ||
| <EuiFlexItem grow={true}>{selectedColumn.label}</EuiFlexItem> | ||
| </EuiFlexGroup> | ||
| </EuiLink> | ||
| </EuiText> | ||
| </EuiToolTip> | ||
| ); | ||
| } | ||
|
|
||
| return ( | ||
| <EuiLink | ||
| <EuiText | ||
| size="s" | ||
| id={columnId} | ||
| className="lnsLayerPanel__triggerLink" | ||
| onClick={props.onClick} | ||
| data-test-subj="lns-dimensionTrigger" | ||
| aria-label={triggerLinkA11yText} | ||
| title={triggerLinkA11yText} | ||
|
|
@@ -120,7 +120,7 @@ export const IndexPatternDimensionTriggerComponent = function IndexPatternDimens | |
| <span className="lnsLayerPanel__triggerLinkLabel">{formattedLabel}</span> | ||
| </span> | ||
| </EuiFlexItem> | ||
| </EuiLink> | ||
| </EuiText> | ||
| ); | ||
| }; | ||
|
|
||
|
|
||
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
Oops, something went wrong.
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.