[Vega] add object normalization#238503
Merged
markov00 merged 4 commits intoelastic:mainfrom Oct 22, 2025
Merged
Conversation
d7d3ccb to
05e17e2
Compare
Contributor
|
Pinging @elastic/kibana-visualizations (Team:Visualizations) |
dej611
reviewed
Oct 13, 2025
| error = error.message; | ||
| } | ||
| static formatErrorToStr(...args: unknown[]) { | ||
| const error: string = args[0] instanceof Error ? args[0].message : 'Error'; |
Contributor
There was a problem hiding this comment.
should it include cause too if available?
Contributor
Author
There was a problem hiding this comment.
I'm actually following what was the previous logic. What do you believe we should do with this case? just concatenate the message and the cause together?
Contributor
There was a problem hiding this comment.
That would be nice. Not a blocker, but would be nice to have.
Contributor
|
Starting backport for target branches: 8.19, 9.1, 9.2 https://github.com/elastic/kibana/actions/runs/18709099674 |
kibanamachine
pushed a commit
to kibanamachine/kibana
that referenced
this pull request
Oct 22, 2025
## Summary Add object normalization to Vega warning/error messages (cherry picked from commit 4d51ac8)
kibanamachine
pushed a commit
to kibanamachine/kibana
that referenced
this pull request
Oct 22, 2025
## Summary Add object normalization to Vega warning/error messages (cherry picked from commit 4d51ac8)
kibanamachine
pushed a commit
to kibanamachine/kibana
that referenced
this pull request
Oct 22, 2025
## Summary Add object normalization to Vega warning/error messages (cherry picked from commit 4d51ac8)
Contributor
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
kibanamachine
added a commit
that referenced
this pull request
Oct 22, 2025
# Backport This will backport the following commits from `main` to `8.19`: - [[Vega] add object normalization (#238503)](#238503) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Marco Vettorello","email":"marco.vettorello@elastic.co"},"sourceCommit":{"committedDate":"2025-10-22T07:44:33Z","message":"[Vega] add object normalization (#238503)\n\n## Summary\n\nAdd object normalization to Vega warning/error messages","sha":"4d51ac82208dde420739bcc9ffb0c762e6192d20","branchLabelMapping":{"^v9.3.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","Team:Visualizations","release_note:skip","ci:build-os-packages","backport:all-open","v9.3.0"],"title":"[Vega] add object normalization","number":238503,"url":"https://github.com/elastic/kibana/pull/238503","mergeCommit":{"message":"[Vega] add object normalization (#238503)\n\n## Summary\n\nAdd object normalization to Vega warning/error messages","sha":"4d51ac82208dde420739bcc9ffb0c762e6192d20"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.3.0","branchLabelMappingKey":"^v9.3.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/238503","number":238503,"mergeCommit":{"message":"[Vega] add object normalization (#238503)\n\n## Summary\n\nAdd object normalization to Vega warning/error messages","sha":"4d51ac82208dde420739bcc9ffb0c762e6192d20"}}]}] BACKPORT--> Co-authored-by: Marco Vettorello <marco.vettorello@elastic.co>
kibanamachine
added a commit
that referenced
this pull request
Oct 23, 2025
# Backport This will backport the following commits from `main` to `9.2`: - [[Vega] add object normalization (#238503)](#238503) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Marco Vettorello","email":"marco.vettorello@elastic.co"},"sourceCommit":{"committedDate":"2025-10-22T07:44:33Z","message":"[Vega] add object normalization (#238503)\n\n## Summary\n\nAdd object normalization to Vega warning/error messages","sha":"4d51ac82208dde420739bcc9ffb0c762e6192d20","branchLabelMapping":{"^v9.3.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","Team:Visualizations","release_note:skip","ci:build-os-packages","backport:all-open","v9.3.0"],"title":"[Vega] add object normalization","number":238503,"url":"https://github.com/elastic/kibana/pull/238503","mergeCommit":{"message":"[Vega] add object normalization (#238503)\n\n## Summary\n\nAdd object normalization to Vega warning/error messages","sha":"4d51ac82208dde420739bcc9ffb0c762e6192d20"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.3.0","branchLabelMappingKey":"^v9.3.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/238503","number":238503,"mergeCommit":{"message":"[Vega] add object normalization (#238503)\n\n## Summary\n\nAdd object normalization to Vega warning/error messages","sha":"4d51ac82208dde420739bcc9ffb0c762e6192d20"}}]}] BACKPORT--> Co-authored-by: Marco Vettorello <marco.vettorello@elastic.co>
kibanamachine
added a commit
that referenced
this pull request
Oct 23, 2025
# Backport This will backport the following commits from `main` to `9.1`: - [[Vega] add object normalization (#238503)](#238503) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Marco Vettorello","email":"marco.vettorello@elastic.co"},"sourceCommit":{"committedDate":"2025-10-22T07:44:33Z","message":"[Vega] add object normalization (#238503)\n\n## Summary\n\nAdd object normalization to Vega warning/error messages","sha":"4d51ac82208dde420739bcc9ffb0c762e6192d20","branchLabelMapping":{"^v9.3.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","Team:Visualizations","release_note:skip","ci:build-os-packages","backport:all-open","v9.3.0"],"title":"[Vega] add object normalization","number":238503,"url":"https://github.com/elastic/kibana/pull/238503","mergeCommit":{"message":"[Vega] add object normalization (#238503)\n\n## Summary\n\nAdd object normalization to Vega warning/error messages","sha":"4d51ac82208dde420739bcc9ffb0c762e6192d20"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.3.0","branchLabelMappingKey":"^v9.3.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/238503","number":238503,"mergeCommit":{"message":"[Vega] add object normalization (#238503)\n\n## Summary\n\nAdd object normalization to Vega warning/error messages","sha":"4d51ac82208dde420739bcc9ffb0c762e6192d20"}}]}] BACKPORT--> Co-authored-by: Marco Vettorello <marco.vettorello@elastic.co>
NicholasPeretti
pushed a commit
to NicholasPeretti/kibana
that referenced
this pull request
Oct 27, 2025
## Summary Add object normalization to Vega warning/error messages
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
Add object normalization to Vega warning/error messages