[Vis: Default editor] EUIficate Vega options tab#47473
[Vis: Default editor] EUIficate Vega options tab#47473sulemanof merged 9 commits intoelastic:masterfrom
Conversation
💚 Build Succeeded |
flash1293
left a comment
There was a problem hiding this comment.
LGTM, tested and didn't notice any problems
src/legacy/core_plugins/vis_type_vega/public/components/vega_vis_editor.tsx
Outdated
Show resolved
Hide resolved
src/legacy/core_plugins/vis_type_vega/public/components/vega_vis_editor.tsx
Outdated
Show resolved
Hide resolved
|
Pinging @elastic/kibana-app (Team:KibanaApp) |
💚 Build Succeeded |
💚 Build Succeeded |
|
@elasticmachine merge upstream |
|
@snide @chandlerprall @cchaos @ryankeairns |
💚 Build Succeeded |
maryia-lapata
left a comment
There was a problem hiding this comment.
Overall looks good, but we need to leave some configuration for reformatting. Please take a look at the comments below.
src/legacy/core_plugins/vis_type_vega/public/components/vega_help_menu.tsx
Outdated
Show resolved
Hide resolved
src/legacy/core_plugins/vis_type_vega/public/components/vega_help_menu.tsx
Outdated
Show resolved
Hide resolved
src/legacy/core_plugins/vis_type_vega/public/components/vega_help_menu.tsx
Outdated
Show resolved
Hide resolved
| function format(value: string, stringify: typeof compactStringify) { | ||
| try { | ||
| const spec = hjson.parse(value, { legacyRoot: false, keepWsc: true }); | ||
| return stringify(spec); |
There was a problem hiding this comment.
I don't think we can skip options like it was before https://github.com/elastic/kibana/pull/47473/files#diff-2abd10d2a2ed5649151d832d6ae32983L63.
For example without options reformatting as HJON removes comments:

There was a problem hiding this comment.
Thanks!
Fixed.
But currently HJSON formatting works incorrectly because of upgrading -> #48023
src/legacy/core_plugins/vis_type_vega/public/components/vega_help_menu.tsx
Show resolved
Hide resolved
💔 Build Failed |
|
@elasticmachine merge upstream |
💚 Build Succeeded |
cchaos
left a comment
There was a problem hiding this comment.
I found a couple regressions due to some of the CSS removals.
💚 Build Succeeded |
* EUIficate Vega options tab * Update list of dependencies * Fix comments * Adjust styles
Summary
A part of #38247.
EUIfication of the
Vegavisualization editor.Checklist
Use
strikethroughsto remove checklist items you don't feel are applicable to this PR.For maintainers