Skip to content

[8.19] [Lens] Fix the button text for going back to the aggregation based visualization (#222823)#223215

Merged
andrimal merged 1 commit intoelastic:8.19from
andrimal:backport/8.19/pr-222823
Jun 10, 2025
Merged

[8.19] [Lens] Fix the button text for going back to the aggregation based visualization (#222823)#223215
andrimal merged 1 commit intoelastic:8.19from
andrimal:backport/8.19/pr-222823

Conversation

@andrimal
Copy link
Copy Markdown
Contributor

Backport

This will backport the following commits from main to 8.19:

Questions ?

Please refer to the Backport tool documentation

…sualization (elastic#222823)

## Summary

Fix elastic#203977

When the user clicked 'Edit visualization in Lens' from an aggregation
visualization, the button to return to the aggregation based
visualization editor showed the wrong app to return to (Dashboard). This
PR fixes the button text to return to the aggregation based
visualization.

Before:
![Kapture 2025-06-05 at 16 42
22](https://github.com/user-attachments/assets/6bca154a-b550-41f6-ac59-08f36fe27545)

After:
![Kapture 2025-06-05 at 16 33
39](https://github.com/user-attachments/assets/d272e9c2-794e-487f-a322-17571b7b13d5)

### Checklist

Check the PR satisfies following conditions.

Reviewers should verify this PR satisfies this list as well.

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

(cherry picked from commit 95f74be)

# Conflicts:
#	x-pack/platform/plugins/shared/lens/public/plugin.ts
@andrimal andrimal requested a review from kibanamachine as a code owner June 10, 2025 11:24
@andrimal andrimal added the backport This PR is a backport of another PR label Jun 10, 2025
@andrimal andrimal enabled auto-merge (squash) June 10, 2025 11:24
@elasticmachine
Copy link
Copy Markdown
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #58 / APM API tests service_maps/service_maps.spec.ts trial apm_8.0.0 Service Map with data /internal/apm/service-map with data with ML data with the default apm user returns the correct anomaly stats

Metrics [docs]

Page load bundle

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

id before after diff
lens 60.0KB 60.0KB -6.0B

@andrimal andrimal merged commit 458662a into elastic:8.19 Jun 10, 2025
11 checks passed
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants