Skip to content

[7.x] Add inspector for VEGA (#70941)#72625

Merged
alexwizp merged 1 commit intoelastic:7.xfrom
alexwizp:backport/7.x/pr-70941
Jul 21, 2020
Merged

[7.x] Add inspector for VEGA (#70941)#72625
alexwizp merged 1 commit intoelastic:7.xfrom
alexwizp:backport/7.x/pr-70941

Conversation

@alexwizp
Copy link
Copy Markdown
Contributor

Backports the following commits to 7.x:

* [WIP] Add inspector for VEGA

Closes: elastic#31189

* view -> dataset

* cleanup

* add spec viewer

* cleanup code

* use rx to retrieve data from adapters

* Make custom inspector adapters registerable from the visType

* fix flex-box size

* cleanup

* remove visTypesWithoutInspector from visualize_embeddable

* fix PR comments

* add vega folder to sass-lint

* fix jest

* Update src/plugins/vis_type_vega/public/vega_inspector/components/data_viewer.tsx

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>

* use addSignalListener

* cleanup

* add onColumnResize handler

* EuiCodeEditor -> CodeEditor

* fix type_check

* fix issue with pagination

* fix extra vertical scroll

* add area-label for EuiButtonIcon

* add area-label for EuiComboBox

* Design Commit

- Fixing up layout trying to remove any `.eui` classes and uses flex instead of percentage
- Fixing text to use `Sentence case` not `Title Case`

* Wrapper around signal viewer table

* fix Jest snapshot

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>
Co-authored-by: cchaos <caroline.horn@elastic.co>
@alexwizp alexwizp added the backport This PR is a backport of another PR label Jul 21, 2020
@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Build metrics

@kbn/optimizer bundle module count

id value diff baseline
inspector 49 +10 39
visTypeVega 197 +9 188
total - +19 -

async chunks size

id value diff baseline
visTypeVega 1.4MB +344.0B 1.4MB

page load bundle size

id value diff baseline
data 1.4MB +52.0B 1.4MB
expressions 343.4KB +94.0B 343.3KB
inputControlVis 295.2KB +21.0B 295.2KB
inspector 278.8KB +3.7KB 275.1KB
visTypeMarkdown 552.8KB +21.0B 552.7KB
visTypeTimelion 712.5KB +21.0B 712.5KB
visTypeTimeseries 280.2KB +21.0B 280.2KB
visTypeVega 660.6KB +33.2KB 627.4KB
visualizations 407.3KB +352.0B 407.0KB
total - +37.4KB -

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@alexwizp alexwizp merged commit 1e1db32 into elastic:7.x Jul 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants