removed unnecessary breadcrumbs in profiling (#211081)

## Summary

Fixes #208079
Both the flamegraph & functions pages had an extra, intermediate
breadcrumb.

## Before-Fix
<img width="488" alt="Screenshot 2025-02-13 at 11 05 02"
src="https://github.com/user-attachments/assets/b4ca4333-f026-4fcd-8e44-1e1ad1d4800d"
/>
<img width="504" alt="Screenshot 2025-02-13 at 11 05 08"
src="https://github.com/user-attachments/assets/3bc520a9-cdbe-4850-aca2-a4441e1ee951"
/>
<img width="545" alt="Screenshot 2025-02-13 at 11 05 21"
src="https://github.com/user-attachments/assets/015b5aa4-eb47-4d83-800c-4be9fecb2c1c"
/>
<img width="510" alt="Screenshot 2025-02-13 at 11 05 15"
src="https://github.com/user-attachments/assets/2d92cf64-608d-460b-9d24-d6ce3186d382"
/>

## After-Fix
<img width="500" alt="Screenshot 2025-02-13 at 10 59 51"
src="https://github.com/user-attachments/assets/3689d2b1-e312-415c-92b4-0f90385682ec"
/>
<img width="478" alt="Screenshot 2025-02-13 at 10 59 45"
src="https://github.com/user-attachments/assets/c7a71236-bdf5-4970-9e45-1baa3e465eb0"
/>
<img width="513" alt="Screenshot 2025-02-13 at 10 59 58"
src="https://github.com/user-attachments/assets/a9d83434-831f-45ba-a96e-bec34c9831a8"
/>
<img width="524" alt="Screenshot 2025-02-13 at 11 00 16"
src="https://github.com/user-attachments/assets/ade9a211-cafd-45b2-886d-87693bd9f723"
/>



### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

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

---------

Co-authored-by: jennypavlova <dzheni.pavlova@elastic.co>
This commit is contained in:
Bryce Buchanan 2025-02-20 11:21:49 -08:00 committed by GitHub
parent 46812bc00a
commit 33fd527148
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 8 additions and 28 deletions

View file

@ -31987,8 +31987,6 @@
"xpack.profiling.breadcrumb.differentialFlamegraph": "Flame-graph différentiel",
"xpack.profiling.breadcrumb.differentialFunctions": "Différentiel N premiers",
"xpack.profiling.breadcrumb.flamegraph": "Flame-graph",
"xpack.profiling.breadcrumb.flamegraphs": "Flame-graphs",
"xpack.profiling.breadcrumb.functions": "Fonctions",
"xpack.profiling.breadcrumb.profiling": "Universal Profiling",
"xpack.profiling.breadcrumb.settings": "Paramètres",
"xpack.profiling.breadcrumb.storageExplorer": "Explorateur de stockage",

View file

@ -31851,8 +31851,6 @@
"xpack.profiling.breadcrumb.differentialFlamegraph": "差分flamegraph",
"xpack.profiling.breadcrumb.differentialFunctions": "差分上位N",
"xpack.profiling.breadcrumb.flamegraph": "Flamegraph",
"xpack.profiling.breadcrumb.flamegraphs": "Flamegraph",
"xpack.profiling.breadcrumb.functions": "関数",
"xpack.profiling.breadcrumb.profiling": "ユニバーサルプロファイリング",
"xpack.profiling.breadcrumb.settings": "設定",
"xpack.profiling.breadcrumb.storageExplorer": "ストレージエクスプローラー",

View file

@ -31394,8 +31394,6 @@
"xpack.profiling.breadcrumb.differentialFlamegraph": "差异火焰图",
"xpack.profiling.breadcrumb.differentialFunctions": "差异排名前 N",
"xpack.profiling.breadcrumb.flamegraph": "火焰图",
"xpack.profiling.breadcrumb.flamegraphs": "火焰图",
"xpack.profiling.breadcrumb.functions": "函数",
"xpack.profiling.breadcrumb.profiling": "Universal Profiling",
"xpack.profiling.breadcrumb.settings": "设置",
"xpack.profiling.breadcrumb.storageExplorer": "Storage Explorer",

View file

@ -128,16 +128,9 @@ const routes = {
},
'/flamegraphs': {
element: (
<RouteBreadcrumb
title={i18n.translate('xpack.profiling.breadcrumb.flamegraphs', {
defaultMessage: 'Flamegraphs',
})}
href="/flamegraphs/flamegraph"
>
<FlameGraphsView>
<Outlet />
</FlameGraphsView>
</RouteBreadcrumb>
<FlameGraphsView>
<Outlet />
</FlameGraphsView>
),
children: {
'/flamegraphs/flamegraph': {
@ -204,16 +197,9 @@ const routes = {
},
'/functions': {
element: (
<RouteBreadcrumb
title={i18n.translate('xpack.profiling.breadcrumb.functions', {
defaultMessage: 'Functions',
})}
href="/functions/topn"
>
<FunctionsView>
<Outlet />
</FunctionsView>
</RouteBreadcrumb>
<FunctionsView>
<Outlet />
</FunctionsView>
),
params: t.type({
query: t.type({
@ -232,7 +218,7 @@ const routes = {
element: (
<RouteBreadcrumb
title={i18n.translate('xpack.profiling.breadcrumb.topnFunctions', {
defaultMessage: 'Top N',
defaultMessage: 'TopN functions',
})}
href="/functions/topn"
>
@ -247,7 +233,7 @@ const routes = {
element: (
<RouteBreadcrumb
title={i18n.translate('xpack.profiling.breadcrumb.differentialFunctions', {
defaultMessage: 'Differential Top N',
defaultMessage: 'Differential topN functions',
})}
href="/functions/differential"
>