Commit 1271edb
# Backport
This will backport the following commits from `main` to `9.2`:
- [[SideNav] Warnings and slight initial render improvement
(#239721)](#239721)
<!--- Backport version: 9.6.6 -->
### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)
<!--BACKPORT [{"author":{"name":"Anton
Dosov","email":"anton.dosov@elastic.co"},"sourceCommit":{"committedDate":"2025-10-22T14:34:47Z","message":"[SideNav]
Warnings and slight initial render improvement (#239721)\n\n##
Summary\n\n- warnings fixes:\n - warn about duplicate ids in nav mapper
\n - fix duplicate icons warning when icon is not a string\n - do not
warn in prod\n- performance fixes: \n - mapper:\n- prevent unnecessary
renders by separate navlinks update. we're not\nusing them directly, so
removed\n- add debounceTime(0) to prevent unnecessary re-render where
one\nobservable emits sync after another\n - ~nav (see videos before
after)~\n - ~reduce re-renders when resizing~ \n- ~reduce height
remeasures when items height isn't expected to change.\n**helps with
initial render in security**~\n - moving to a separate pr\n\n\n~I think
with this we can close\nhttps://github.com//issues/239331,
because now tour in\nsecurity opens reliably and I don't see initial
flash
anymore~","sha":"1d87f15bbe1624b2c6cc1825d089f49e4dd8092d","branchLabelMapping":{"^v9.3.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:SharedUX","backport:version","v9.2.0","v9.3.0"],"title":"[SideNav]
Warnings and slight initial render
improvement","number":239721,"url":"https://github.com/elastic/kibana/pull/239721","mergeCommit":{"message":"[SideNav]
Warnings and slight initial render improvement (#239721)\n\n##
Summary\n\n- warnings fixes:\n - warn about duplicate ids in nav mapper
\n - fix duplicate icons warning when icon is not a string\n - do not
warn in prod\n- performance fixes: \n - mapper:\n- prevent unnecessary
renders by separate navlinks update. we're not\nusing them directly, so
removed\n- add debounceTime(0) to prevent unnecessary re-render where
one\nobservable emits sync after another\n - ~nav (see videos before
after)~\n - ~reduce re-renders when resizing~ \n- ~reduce height
remeasures when items height isn't expected to change.\n**helps with
initial render in security**~\n - moving to a separate pr\n\n\n~I think
with this we can close\nhttps://github.com//issues/239331,
because now tour in\nsecurity opens reliably and I don't see initial
flash
anymore~","sha":"1d87f15bbe1624b2c6cc1825d089f49e4dd8092d"}},"sourceBranch":"main","suggestedTargetBranches":["9.2"],"targetPullRequestStates":[{"branch":"9.2","label":"v9.2.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.3.0","branchLabelMappingKey":"^v9.3.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/239721","number":239721,"mergeCommit":{"message":"[SideNav]
Warnings and slight initial render improvement (#239721)\n\n##
Summary\n\n- warnings fixes:\n - warn about duplicate ids in nav mapper
\n - fix duplicate icons warning when icon is not a string\n - do not
warn in prod\n- performance fixes: \n - mapper:\n- prevent unnecessary
renders by separate navlinks update. we're not\nusing them directly, so
removed\n- add debounceTime(0) to prevent unnecessary re-render where
one\nobservable emits sync after another\n - ~nav (see videos before
after)~\n - ~reduce re-renders when resizing~ \n- ~reduce height
remeasures when items height isn't expected to change.\n**helps with
initial render in security**~\n - moving to a separate pr\n\n\n~I think
with this we can close\nhttps://github.com//issues/239331,
because now tour in\nsecurity opens reliably and I don't see initial
flash anymore~","sha":"1d87f15bbe1624b2c6cc1825d089f49e4dd8092d"}}]}]
BACKPORT-->
Co-authored-by: Anton Dosov <anton.dosov@elastic.co>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
1 parent 59af2d5 commit 1271edb
4 files changed
Lines changed: 87 additions & 30 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2949 | 2949 | | |
2950 | 2950 | | |
2951 | 2951 | | |
| 2952 | + | |
2952 | 2953 | | |
2953 | 2954 | | |
2954 | 2955 | | |
| |||
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
100 | | - | |
| 99 | + | |
| 100 | + | |
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
110 | | - | |
| 109 | + | |
| 110 | + | |
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| |||
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
| 99 | + | |
| 100 | + | |
100 | 101 | | |
101 | 102 | | |
102 | 103 | | |
| |||
Lines changed: 79 additions & 24 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
| |||
28 | 27 | | |
29 | 28 | | |
30 | 29 | | |
| 30 | + | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
59 | 60 | | |
60 | 61 | | |
61 | 62 | | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | 63 | | |
66 | 64 | | |
67 | 65 | | |
| |||
322 | 320 | | |
323 | 321 | | |
324 | 322 | | |
325 | | - | |
326 | | - | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
327 | 327 | | |
328 | 328 | | |
329 | 329 | | |
| |||
376 | 376 | | |
377 | 377 | | |
378 | 378 | | |
| 379 | + | |
379 | 380 | | |
380 | 381 | | |
381 | 382 | | |
| |||
429 | 430 | | |
430 | 431 | | |
431 | 432 | | |
432 | | - | |
433 | | - | |
434 | | - | |
435 | | - | |
436 | | - | |
437 | | - | |
438 | | - | |
439 | | - | |
440 | | - | |
441 | | - | |
442 | | - | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
443 | 445 | | |
444 | 446 | | |
445 | | - | |
446 | | - | |
447 | | - | |
448 | | - | |
449 | | - | |
450 | | - | |
451 | | - | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
452 | 450 | | |
453 | 451 | | |
454 | 452 | | |
455 | 453 | | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
456 | 511 | | |
457 | 512 | | |
458 | 513 | | |
| |||
0 commit comments