Skip to content
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

Upgrade EUI to v33.0.0 #99382

Merged
merged 46 commits into from
Jun 1, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
063b0dc
eui to 33.0.0
thompsongl May 5, 2021
7865c2c
resize observer type inclusion - revisit
thompsongl May 5, 2021
0a67885
src snapshot updates
thompsongl May 5, 2021
ece02e4
x-pack snapshot updates
thompsongl May 5, 2021
1570e0e
table sort test updates
thompsongl May 5, 2021
738bfe8
code block language sh -> bash
thompsongl May 5, 2021
c319815
Merge branch 'master' into eui/33.0
thompsongl May 5, 2021
e254d09
datagrid datetime sort inversion
thompsongl May 5, 2021
e27f5ab
types
thompsongl May 5, 2021
a2791b8
kbn-crypto
thompsongl May 5, 2021
f4aa961
Merge branch 'master' into eui/33.0
thompsongl May 6, 2021
8a6b280
refractor yarn resolution
thompsongl May 6, 2021
ed27ab5
refractor yarn resolution
thompsongl May 6, 2021
8522942
Merge branch 'master' into eui/33.0
thompsongl May 6, 2021
74d0c2c
update cypress tests
thompsongl May 6, 2021
6847767
Merge branch 'master' into eui/33.0
thompsongl May 7, 2021
2ddfafa
url state test
thompsongl May 11, 2021
adc3538
trial
thompsongl May 11, 2021
30ade23
Merge branch 'master' into eui/33.0
thompsongl May 11, 2021
9698262
Merge branch 'master' into eui/33.0
thompsongl May 11, 2021
6c7a985
Revert "trial"
thompsongl May 11, 2021
9a11711
trial anomaly timeout
thompsongl May 12, 2021
3c3d305
Merge branch 'master' into eui/33.0
thompsongl May 12, 2021
b08d126
Revert "trial anomaly timeout"
thompsongl May 12, 2021
8ab0702
Merge branch 'master' into eui/33.0
thompsongl May 12, 2021
e38ff12
Merge branch 'master' into eui/33.0
kibanamachine May 12, 2021
100ee39
kbn-telemetry-tools
thompsongl May 12, 2021
f0610f5
Merge branch 'master' into eui/33.0
kibanamachine May 13, 2021
a204098
Merge branch 'master' of github.com:elastic/kibana into eui/33.0
afharo May 13, 2021
a0e9e65
Change a useMemo to useCallback so the code executes when intended
chandlerprall May 13, 2021
0c6a580
Removed no-longer-used import
chandlerprall May 13, 2021
20945d3
exitOrFail already retries for longer than tryForTime
afharo May 14, 2021
7d36031
Wait for loading indicator to disappear
afharo May 14, 2021
98ac42c
Intentionally adding `.only`
afharo May 14, 2021
5da9966
Revert .only
afharo May 14, 2021
c453220
Increase wait time for the ML chart to load
afharo May 14, 2021
66dc715
Merge branch 'master' of github.com:elastic/kibana into eui/33.0
afharo May 14, 2021
b6b9533
Remove unused var
afharo May 14, 2021
22c4477
Merge branch 'master' into eui/33.0
kibanamachine May 23, 2021
7ae359f
Merge branch 'master' into eui/33.0
kibanamachine May 24, 2021
b6150fb
overflow
thompsongl May 26, 2021
3eb5f21
chartWidth
thompsongl May 26, 2021
ff527bb
Merge branch 'master' into eui/33.0
thompsongl May 26, 2021
894a022
Merge branch 'master' into eui/33.0
thompsongl May 27, 2021
e145ae9
Merge branch 'master' into eui/33.0
thompsongl May 28, 2021
b9b06d6
Merge branch 'master' into eui/33.0
kibanamachine Jun 1, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@
"**/prismjs": "1.23.0",
"**/react-syntax-highlighter": "^15.3.1",
"**/react-syntax-highlighter/**/highlight.js": "^10.4.1",
"**/refractor": "^3.3.1",
"**/request": "^2.88.2",
"**/trim": "1.0.1",
"**/typescript": "4.1.3",
Expand All @@ -102,7 +103,7 @@
"@elastic/datemath": "link:bazel-bin/packages/elastic-datemath/npm_module",
"@elastic/elasticsearch": "npm:@elastic/elasticsearch-canary@^8.0.0-canary.4",
"@elastic/ems-client": "7.13.0",
"@elastic/eui": "32.1.0",
"@elastic/eui": "33.0.0",
"@elastic/filesaver": "1.1.2",
"@elastic/good": "^9.0.1-kibana3",
"@elastic/maki": "6.3.0",
Expand Down
1 change: 1 addition & 0 deletions packages/kbn-crypto/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ TYPES_DEPS = [
"@npm//@types/node",
"@npm//@types/node-forge",
"@npm//@types/testing-library__jest-dom",
"@npm//resize-observer-polyfill"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a server-side package. It shouldn't depend on resize-observer-polyfill.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@spalger Did you happen to open an issue for this?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't, remind me, this is because of the customizations to the tsconfig.base.json file right? IIRC I was surprised to find that we actually have a tsconfig.browser.json file, but I'm guessing if we add the right types there the file isn't being used by enough places?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct on both accounts. I did try scoping to tsconfig.browser.json but almost all plugins extend tsconfig.base.json directly.

Copy link
Contributor

@spalger spalger May 26, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mshustov do you think it would make sense for the issue to be "migrate any ts project with browser code to tsconfig.browser.json"?

Copy link
Contributor Author

@thompsongl thompsongl May 26, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We also discussed that we'd be willing to maintain these types in EUI and not rely on a third-party package. If that resolves some hesitation here, I can follow up in a future EUI release (prior to 7.14) to remove these type deps.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@spalger I think so. As I can see, we already started separating compilation targets in the packages migrated to Bazel.

ts_config(
name = "tsconfig",
src = "tsconfig.json",
deps = [
"//:tsconfig.base.json",
],
)
ts_config(
name = "tsconfig_browser",
src = "tsconfig.browser.json",
deps = [
"//:tsconfig.base.json",
"//:tsconfig.browser.json",
],
)

@mistic Coul you confirm it's how we are going to compile sources in the new build toolchain? I can approve the PR, providing we are going to fix the problem later.

]

DEPS = SRC_DEPS + TYPES_DEPS
Expand Down
1 change: 1 addition & 0 deletions packages/kbn-telemetry-tools/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ TYPES_DEPS = [
"@npm//@types/node",
"@npm//@types/normalize-path",
"@npm//@types/testing-library__jest-dom",
"@npm//resize-observer-polyfill"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a server-side package. It shouldn't depend on resize-observer-polyfill.

]

DEPS = SRC_DEPS + TYPES_DEPS
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading