Skip to content

[9.2] [Search] fix v2 solution nav search icons (#240475)#240820

Merged
TattdCodeMonkey merged 1 commit intoelastic:9.2from
TattdCodeMonkey:backport/9.2/pr-240475
Oct 28, 2025
Merged

[9.2] [Search] fix v2 solution nav search icons (#240475)#240820
TattdCodeMonkey merged 1 commit intoelastic:9.2from
TattdCodeMonkey:backport/9.2/pr-240475

Conversation

@TattdCodeMonkey
Copy link
Contributor

Backport

This will backport the following commits from main to 9.2:

Questions ?

Please refer to the Backport tool documentation

@TattdCodeMonkey TattdCodeMonkey added the backport This PR is a backport of another PR label Oct 27, 2025
@TattdCodeMonkey TattdCodeMonkey enabled auto-merge (squash) October 27, 2025 13:55
Copy link
Contributor

@Samiul-TheSoccerFan Samiul-TheSoccerFan left a comment

Choose a reason for hiding this comment

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

LGTM

## Summary

Moved the agents and playground icons for the v2 solution navigation to
lazy loaded components while also resolving an issue where they were not
rendered correctly in dark mode.

Before:
<img width="94" height="478" alt="image"
src="https://github.com/user-attachments/assets/3331cea7-5fe7-4bf6-9de5-2674132ba12c"
/>

After:
<img width="115" height="488" alt="image"
src="https://github.com/user-attachments/assets/d3352a9b-3c73-4461-b5cd-fb5383ed8ddf"
/>

### Checklist

- [ ] ~Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)~
- [ ]
~[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials~
- [ ] ~[Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios~
- [ ] ~If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)~
- [ ] ~This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.~
- [ ] ~[Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed~
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
- [x] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.

## Release note

Fixes Agents & Playground icons in the solution side navigation to
render correctly when using dark mode

(cherry picked from commit d31b0db)

# Conflicts:
#	packages/kbn-optimizer/limits.yml
@TattdCodeMonkey TattdCodeMonkey merged commit fd6f103 into elastic:9.2 Oct 28, 2025
12 checks passed
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
searchHomepage 256 258 +2
searchIndices 339 341 +2
searchPlayground 422 424 +2
total +6

Public APIs missing comments

Total count of every public API that lacks a comment. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats comments for more detailed information.

id before after diff
@kbn/search-shared-ui 10 14 +4

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
enterpriseSearch 951.7KB 958.0KB +6.3KB
searchHomepage 148.9KB 148.9KB +8.0B
searchIndices 203.0KB 203.0KB +8.0B
serverlessSearch 169.5KB 177.8KB +8.2KB
total +14.5KB

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
serverlessSearch 29.9KB 27.9KB -2.0KB
Unknown metric groups

API count

id before after diff
@kbn/search-shared-ui 10 14 +4

async chunk count

id before after diff
enterpriseSearch 9 11 +2
serverlessSearch 5 7 +2
total +4

History

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

3 participants