Skip to content

[8.18] [Discover] [Embeddable] Fix Discover session embeddable drilldown (#211678)#212147

Merged
davismcphee merged 1 commit intoelastic:8.18from
davismcphee:backport/8.18/pr-211678
Feb 21, 2025
Merged

[8.18] [Discover] [Embeddable] Fix Discover session embeddable drilldown (#211678)#212147
davismcphee merged 1 commit intoelastic:8.18from
davismcphee:backport/8.18/pr-211678

Conversation

@davismcphee
Copy link
Copy Markdown
Contributor

Backport

This will backport the following commits from main to 8.18:

Questions ?

Please refer to the Backport tool documentation

…astic#211678)

## Summary

This PR re-adds drilldown support to the Discover session embeddable
after it was accidentally removed during the refactoring in elastic#180536
(related PR where drilldowns / dynamic actions were refactored:
elastic#178896). A new functional test has also been added to prevent future
regressions.

Fixes elastic#211677.

### 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
- [ ] 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)

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
(cherry picked from commit 257971d)

# Conflicts:
#	src/platform/plugins/shared/discover/public/types.ts
#	src/platform/plugins/shared/discover/tsconfig.json
@davismcphee davismcphee added the backport This PR is a backport of another PR label Feb 21, 2025
@davismcphee davismcphee enabled auto-merge (squash) February 21, 2025 19:31
@davismcphee davismcphee self-assigned this Feb 21, 2025
@davismcphee davismcphee added the Team:DataDiscovery Discover, search (data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. t// label Feb 21, 2025
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/kibana-data-discovery (Team:DataDiscovery)

@davismcphee davismcphee merged commit 375cc49 into elastic:8.18 Feb 21, 2025
@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

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

id before after diff
discover 795.6KB 796.1KB +431.0B

Page load bundle

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

id before after diff
discover 45.7KB 45.8KB +103.0B

cc @davismcphee

@davismcphee davismcphee deleted the backport/8.18/pr-211678 branch February 21, 2025 21:26
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 Team:DataDiscovery Discover, search (data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. t//

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants