-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[Lens] Provide formula helper to simplify integration of Lens instances #103055
Labels
enhancement
New value added to drive a business result
Feature:Lens
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
Comments
dej611
added
enhancement
New value added to drive a business result
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
Feature:Lens
labels
Jun 23, 2021
Pinging @elastic/kibana-app (Team:KibanaApp) |
49 tasks
alexwizp
added a commit
to alexwizp/kibana
that referenced
this issue
Jan 5, 2022
alexwizp
added a commit
to alexwizp/kibana
that referenced
this issue
Jan 5, 2022
alexwizp
added a commit
to alexwizp/kibana
that referenced
this issue
Jan 6, 2022
alexwizp
added a commit
to alexwizp/kibana
that referenced
this issue
Jan 6, 2022
alexwizp
added a commit
to alexwizp/kibana
that referenced
this issue
Jan 6, 2022
alexwizp
added a commit
to alexwizp/kibana
that referenced
this issue
Jan 6, 2022
alexwizp
added a commit
to alexwizp/kibana
that referenced
this issue
Jan 6, 2022
alexwizp
added a commit
that referenced
this issue
Jan 17, 2022
…es (#122371) * [Lens] Provide formula helper to simplify integration of Lens instances Closes: #103055 * remove generateFormulaColumns from start contract * upsertFormulaColumn * add upsertFormulaColumn to start contract * add integration with embedded_lens_examples * upsert -> insertOrReplace * add support of overriding operations * add docs * fix TS issues * fix some comments * fix PR comments * fix PR comments * fix CI * Update x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/formula/formula_helper.ts Co-authored-by: Marco Liberati <[email protected]> * Update x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/formula/formula_helper.ts Co-authored-by: Marco Liberati <[email protected]> * remove useEffect * move baseLayer part into getLensAttributes * introduce stateHelperApi * Map -> WeakMap * remove [params.operations] from params Co-authored-by: Marco Liberati <[email protected]> Co-authored-by: Kibana Machine <[email protected]>
ogupte
pushed a commit
to ogupte/kibana
that referenced
this issue
Jan 28, 2022
…es (elastic#122371) * [Lens] Provide formula helper to simplify integration of Lens instances Closes: elastic#103055 * remove generateFormulaColumns from start contract * upsertFormulaColumn * add upsertFormulaColumn to start contract * add integration with embedded_lens_examples * upsert -> insertOrReplace * add support of overriding operations * add docs * fix TS issues * fix some comments * fix PR comments * fix PR comments * fix CI * Update x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/formula/formula_helper.ts Co-authored-by: Marco Liberati <[email protected]> * Update x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/formula/formula_helper.ts Co-authored-by: Marco Liberati <[email protected]> * remove useEffect * move baseLayer part into getLensAttributes * introduce stateHelperApi * Map -> WeakMap * remove [params.operations] from params Co-authored-by: Marco Liberati <[email protected]> Co-authored-by: Kibana Machine <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
enhancement
New value added to drive a business result
Feature:Lens
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
Describe the feature:
A function a
Lens
consumer can import and given a formula string, return a parsed result as list of columns to use asEmbeddable
attributes.Describe a specific use case for the feature:
When a consumer wants to integrate a
Lens
instance within his plugin and wants to provide a Formula operation for a dimension, the current setup requires the consumer to manually craft a formula string AND all the referenced columns with the right parameters in sync.In particular case this can be a long and tricky task, for instance when using filtered metrics or long formulas.
The text was updated successfully, but these errors were encountered: