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

[theme] default to v8 theme #94370

Merged
merged 5 commits into from
Mar 17, 2021
Merged

Conversation

spalger
Copy link
Contributor

@spalger spalger commented Mar 10, 2021

Switch the default theme from v7 to v8 in both the optimizer and the uiSettings. See #66673 for information about how to continue building v7 themes for local testing if needed.

@spalger spalger added Team:Operations Team label for Operations Team v8.0.0 release_note:skip Skip the PR/issue when compiling release notes backport:skip This commit does not require backporting labels Mar 10, 2021
@spalger
Copy link
Contributor Author

spalger commented Mar 10, 2021

@cchaos I assume there is another PR that represents the "8.0 theme" which should carry the release notes right? Or should we switch to the release_note:feature? I assume this will be a major part of the release notes for 8.0 but I don't think we need to consider that in this PR.

@cchaos
Copy link
Contributor

cchaos commented Mar 10, 2021

Yeah this won't be released yet, just turning it on for active development. Most likely a 7.14 release. So we'll put the release notes in that final PR.

@spalger
Copy link
Contributor Author

spalger commented Mar 10, 2021

Okay, I assume that means we'll backport this PR to 7.x once we decide which 7.x version to release this in?

@cchaos
Copy link
Contributor

cchaos commented Mar 10, 2021

Yep! Looks like you've already added that skip label too. 😄

@spalger spalger force-pushed the implement/default-v8-theme branch from 3375f21 to 08da6d3 Compare March 16, 2021 03:19
@spalger
Copy link
Contributor Author

spalger commented Mar 16, 2021

Reaching out to the @elastic/kibana-app team for help with this failing functional test.

@spalger spalger marked this pull request as ready for review March 16, 2021 20:40
@spalger spalger requested review from a team as code owners March 16, 2021 20:40
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-operations (Team:Operations)

@@ -605,7 +605,7 @@ export function VisualBuilderPageProvider({ getService, getPageObjects }: FtrPro
await comboBox.setElement(groupBy, 'Terms', { clickWithMouse: true });
await PageObjects.common.sleep(1000);
const byField = await testSubjects.find('groupByField');
await comboBox.setElement(byField, field, { clickWithMouse: true });
await comboBox.setElement(byField, field);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Chatted with @stratoula about this fix

Copy link
Contributor

@walterra walterra left a comment

Choose a reason for hiding this comment

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

ML changes LGTM.

Copy link
Contributor

@pgayvallet pgayvallet left a comment

Choose a reason for hiding this comment

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

LGTM

src/core/server/ui_settings/settings/theme.ts Outdated Show resolved Hide resolved
Copy link
Contributor

@cchaos cchaos left a comment

Choose a reason for hiding this comment

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

I tested this locally. It does in fact default to the K8 theme, with all the correct imports. The Sass mixin still works appropriately and the euiThemeVars utility. Checked all other the themes too. 🎉

🙇 Thank you so much for your help with this one!

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

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

Copy link
Contributor

@crob611 crob611 left a comment

Choose a reason for hiding this comment

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

Presentation changes lgtm 👍

@spalger spalger merged commit 37ff43b into elastic:master Mar 17, 2021
@cchaos
Copy link
Contributor

cchaos commented Jul 12, 2021

@spalger Since we actually do want this to be default for 7.14 do we need to create the backport to the 7.14 branch now?

@spalger
Copy link
Contributor Author

spalger commented Jul 12, 2021

@cchaos yep, on it

@cchaos
Copy link
Contributor

cchaos commented Jul 12, 2021

💯 Thank you!

spalger pushed a commit to spalger/kibana that referenced this pull request Jul 12, 2021
Co-authored-by: spalger <[email protected]>
# Conflicts:
#	packages/kbn-optimizer/src/integration_tests/basic_optimization.test.ts
#	test/functional/page_objects/visual_builder_page.ts
#	test/functional/screenshots/baseline/area_chart.png
#	test/functional/screenshots/baseline/tsvb_dashboard.png
#	test/interpreter_functional/screenshots/baseline/metric_multi_metric_data.png
#	x-pack/test/functional/apps/ml/data_frame_analytics/outlier_detection_creation.ts
spalger pushed a commit to spalger/kibana that referenced this pull request Jul 12, 2021
Co-authored-by: spalger <[email protected]>
# Conflicts:
#	packages/kbn-optimizer/src/integration_tests/basic_optimization.test.ts
#	test/functional/page_objects/visual_builder_page.ts
#	test/functional/screenshots/baseline/area_chart.png
#	test/functional/screenshots/baseline/tsvb_dashboard.png
#	test/interpreter_functional/screenshots/baseline/metric_multi_metric_data.png
#	x-pack/test/functional/apps/ml/data_frame_analytics/outlier_detection_creation.ts
spalger added a commit that referenced this pull request Jul 12, 2021
spalger added a commit that referenced this pull request Jul 12, 2021
@spalger
Copy link
Contributor Author

spalger commented Jul 12, 2021

Backported to 7.x and 7.14

wayneseymour added a commit that referenced this pull request Nov 19, 2024
## Summary

Assign test fixtures, etc to ops team

Contributes to: #192979

Assigned `x-pack/test/plugin_functional/screenshots` per
#94370
CAWilson94 pushed a commit to CAWilson94/kibana that referenced this pull request Dec 12, 2024
## Summary

Assign test fixtures, etc to ops team

Contributes to: elastic#192979

Assigned `x-pack/test/plugin_functional/screenshots` per
elastic#94370
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:skip Skip the PR/issue when compiling release notes Team:Operations Team label for Operations Team v7.14.0 v7.15.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants