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

[Visual Refresh] Add Borealis theme #8386

Merged
merged 96 commits into from
Mar 5, 2025
Merged

[Visual Refresh] Add Borealis theme #8386

merged 96 commits into from
Mar 5, 2025

Conversation

mgadewoll
Copy link
Contributor

@mgadewoll mgadewoll commented Mar 3, 2025

Summary

Important

The changes in this PR have already been reviewed as standalone PRs.
This PR merges all changes combined to main

Included PRs

Additional changes

  • updates VRT reference images based on latest changes introduced in main (commit)
  • fixes a missing dependency issue (introduced in this PR) that resulted in EUI+ not being built (failing build) (commit)
  • adds changelog [#8386]

QA

ℹ️ Most code changes have already been reviewed separately in the respective PRs mentioned above.
Review only the additional changes.

  • ci passes
  • smoke test the EUI docs if anything looks broken or off
  • review the changelog if the entries make sense or if anything is missing (since the changelog was composed manually from relevant changes = meaning actual impacting changes going to main)

mgadewoll and others added 30 commits December 17, 2024 14:13
@mgadewoll mgadewoll self-assigned this Mar 3, 2025
@mgadewoll mgadewoll marked this pull request as ready for review March 3, 2025 17:40
@mgadewoll mgadewoll requested a review from a team as a code owner March 3, 2025 17:40
Copy link
Member

@tkajtoch tkajtoch left a comment

Choose a reason for hiding this comment

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

The changes look and work as expected. Code changes not reviewed in earlier PRs look good. LGTM 🚢

@mgadewoll
Copy link
Contributor Author

mgadewoll commented Mar 4, 2025

ℹ️ I added an additional commit that fixes an issue with missing sass styles in the EUI docs on colorMode toggle when no theme localStorage item was set.

Edit: ⛔ Somehow it's still not working as expected for the PR deployment on reload 🤔 It works fine building it locally, but in the PR staging the theme value is a different one (somehow it looks like an old version)
✅ The issue is caused by something overriding the theme localStorage item, but it's not entirely clear what's overriding it. We opted to change the item key instead, which solves the issue.

before
Screenshot 2025-03-04 at 09 42 11

@mgadewoll mgadewoll force-pushed the eui-theme/borealis branch from 2a0a776 to 315f705 Compare March 4, 2025 12:11
@mgadewoll mgadewoll force-pushed the eui-theme/borealis branch from 315f705 to f8afd4d Compare March 4, 2025 13:11
@kibanamachine
Copy link

Preview staging links for this PR:

@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

History

cc @mgadewoll

Copy link

github-actions bot commented Mar 4, 2025

This PR contains breaking changes. The opener of this pull request is asked to perform the following due diligence steps below, to assist EUI in our next Kibana upgrade:

  • If this PR contains prop/API changes:
    • Search through Kibana for <EuiComponent usages (example search)
    • In the PR description or in a PR comment, include a count or list with the number of component usages in Kibana that will need to be updated (if that amount is "none", include that information as well)
  • If this PR contains CSS changes:
    • Search through Kibana for the changed EUI selectors, e.g. .euiComponent (example search)
    • In the PR description or in a PR comment, include a count or list with the number of custom CSS overrides in Kibana that will need to be updated (if that amount is "none", include that information as well)
  • 🔍 Tip: When searching through Kibana, consider excluding **/target, **/*.snap, **/*.storyshot files to reduce noise and only look at source code usages
  • ⚠️ For extremely risky changes, the EUI team should potentially consider the following precautions:
    • Using a pre-release release candidate to test Kibana CI ahead of time
    • Using kibana-a-la-carte for manual QA, and to give other Kibana teams a staging server to quickly test against

@mgadewoll
Copy link
Contributor Author

mgadewoll commented Mar 4, 2025

This PR contains breaking changes. The opener of this pull request is asked to perform the following due diligence steps below, to assist EUI in our next Kibana upgrade:

  • If this PR contains prop/API changes:

    • Search through Kibana for <EuiComponent usages (example search)
    • In the PR description or in a PR comment, include a count or list with the number of component usages in Kibana that will need to be updated (if that amount is "none", include that information as well)
  • If this PR contains CSS changes:

    • Search through Kibana for the changed EUI selectors, e.g. .euiComponent (example search)
    • In the PR description or in a PR comment, include a count or list with the number of custom CSS overrides in Kibana that will need to be updated (if that amount is "none", include that information as well)
  • 🔍 Tip: When searching through Kibana, consider excluding **/target, **/*.snap, **/*.storyshot files to reduce noise and only look at source code usages

  • ⚠️ For extremely risky changes, the EUI team should potentially consider the following precautions:

    • Using a pre-release release candidate to test Kibana CI ahead of time
    • Using kibana-a-la-carte for manual QA, and to give other Kibana teams a staging server to quickly test against

Log | Bot Usage

ℹ️ The breaking changes have already been handled on internal consumer side, as they have already been released in previous -borealis specific versions.

  • renaming of JSON token files
  • removing of isDefaultTheme (there were no usages)

@mgadewoll mgadewoll merged commit 11ed9f6 into main Mar 5, 2025
7 checks passed
@mgadewoll mgadewoll deleted the eui-theme/borealis branch March 5, 2025 08:16
weronikaolejniczak pushed a commit to weronikaolejniczak/eui that referenced this pull request Mar 5, 2025
Co-authored-by: Tomasz Kajtoch <[email protected]>
Co-authored-by: Ryan Keairns <[email protected]>
Co-authored-by: Arturo Castillo Delgado <[email protected]>
Co-authored-by: ek-so <[email protected]>
Co-authored-by: Kate Sosedova <[email protected]>
Co-authored-by: Tomasz Kajtoch <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants