[Visualizations] Each visType returns its supported triggers#70177
Merged
stratoula merged 6 commits intoelastic:masterfrom Jul 2, 2020
Merged
[Visualizations] Each visType returns its supported triggers#70177stratoula merged 6 commits intoelastic:masterfrom
stratoula merged 6 commits intoelastic:masterfrom
Conversation
stratoula
commented
Jun 29, 2020
| case 'pie': | ||
| case 'table': | ||
| case 'tagcloud': | ||
| return [VIS_EVENT_TO_TRIGGER.filter]; |
Contributor
Author
There was a problem hiding this comment.
Here we only have supportedTriggers only for filter and not for brush. On each of the above visTypes I have also added brush where I think that it is supported. Not 100% sure though
timroes
reviewed
Jun 29, 2020
src/plugins/visualizations/public/embeddable/visualize_embeddable.ts
Outdated
Show resolved
Hide resolved
Dosant
reviewed
Jul 1, 2020
Contributor
Author
|
@elasticmachine merge upstream |
Contributor
Author
|
@elasticmachine merge upstream |
Contributor
💚 Build SucceededBuild metrics
History
To update your PR or re-run it, just comment with: |
Contributor
Author
|
@timroes are you ok with this ? |
Contributor
|
If you'd mind shortening the PR title to something that fits into it before merging (since it will also become the commit message of the squashed commit), I am fine with it :-) |
Contributor
Author
|
Of course my dear @timroes, I hope this is better :) |
stratoula
added a commit
to stratoula/kibana
that referenced
this pull request
Jul 2, 2020
…#70177) * Refactor hardcoded supportedTriggers function with a callback function of visType * use typescript to check if function exists * Remove brush event from heatmap Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
stratoula
added a commit
that referenced
this pull request
Jul 2, 2020
…#70561) * Refactor hardcoded supportedTriggers function with a callback function of visType * use typescript to check if function exists * Remove brush event from heatmap Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
gmmorris
added a commit
to gmmorris/kibana
that referenced
this pull request
Jul 2, 2020
* master: (46 commits) [Visualize] Add missing advanced settings and custom label for pipeline aggs (elastic#69688) Use dynamic: false for config saved object mappings (elastic#70436) [Ingest Pipelines] Error messages (elastic#70167) [APM] Show transaction rate per minute on Observability Overview page (elastic#70336) Filter out error when calculating a label (elastic#69934) [Visualizations] Each visType returns its supported triggers (elastic#70177) [Telemetry] Report data shippers (elastic#64935) Reduce SavedObjects mappings for Application Usage (elastic#70475) [Lens] fix dimension label performance issues (elastic#69978) Skip failing endgame tests (elastic#70548) [SIEM] Reenabling Cypress tests (elastic#70397) [SIEM][Security Solution][Endpoint] Endpoint Artifact Manifest Management + Artifact Download and Distribution (elastic#67707) [Security] Adds field mapping support to rule creation (elastic#70288) SECURITY-ENDPOINT: add fields for events to metadata document (elastic#70491) Fixed assertion in hybrid index pattern test to iterate through indices (elastic#70130) [SIEM][Exceptions] - Exception builder component (elastic#67013) [Ingest Manager] Rename data sources to package configs (elastic#70259) skip suites blocking es snapshot promomotion (elastic#70532) [Metrics UI] Fix asynchronicity and error handling in Snapshot API (elastic#70503) fix export response (elastic#70473) ...
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Fixes #61601. We add a callback on each vis type in which it returns which triggers it supports in order to avoid having hardcoded on the embeddable the vis types.
Tested on Chrome and Safari.
Checklist
Delete any items that are not applicable to this PR.