-
Notifications
You must be signed in to change notification settings - Fork 8.6k
[App Menu Standardization] Integrate new app menu with discover #246156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
kowalczyk-krzysztof
merged 102 commits into
elastic:main
from
kowalczyk-krzysztof:feat/app-menu-discover
Jan 23, 2026
Merged
Changes from 95 commits
Commits
Show all changes
102 commits
Select commit
Hold shift + click to select a range
4c2e0d0
Integrate new app menu with discover
kowalczyk-krzysztof db6529a
Merge branch 'main' into feat/app-menu-discover
kowalczyk-krzysztof f670bb7
Merge branch 'main' into feat/app-menu-discover
kowalczyk-krzysztof b00efee
Merge branch 'main' into feat/app-menu-discover
kowalczyk-krzysztof 6d82cba
Merge branch 'main' into feat/app-menu-discover
kowalczyk-krzysztof fc51501
Initial implementation
kowalczyk-krzysztof fb45213
Merge branch 'main' into feat/app-menu-discover
kowalczyk-krzysztof 27259bb
Handle single tab mode
kowalczyk-krzysztof cc3fd5a
Changes from node scripts/lint_ts_projects --fix
kibanamachine 068b9c6
Changes from node scripts/regenerate_moon_projects.js --update
kibanamachine bddc6a5
Merge branch 'main' into feat/app-menu-discover
kowalczyk-krzysztof 57f7010
Merge branch 'main' into feat/app-menu-discover
kowalczyk-krzysztof 3e0c6f3
Map items
kowalczyk-krzysztof 491b744
Handle share and export
kowalczyk-krzysztof 821810e
Handle open
kowalczyk-krzysztof 556f3bc
Handle alerts
kowalczyk-krzysztof 09dd821
Cleanup
kowalczyk-krzysztof 79651e6
Remove context_awarness examples
kowalczyk-krzysztof a2116d4
Changes from node scripts/lint_ts_projects --fix
kibanamachine ead30f3
Changes from node scripts/generate codeowners
kibanamachine 2bb2253
Changes from node scripts/regenerate_moon_projects.js --update
kibanamachine 36b05b0
Fix types
kowalczyk-krzysztof 56dd091
Remove dead i18n
kowalczyk-krzysztof d76c396
Fix tests
kowalczyk-krzysztof 8274b6b
Even more test fixes
kowalczyk-krzysztof 92160d0
MOREEEE test fixes
kowalczyk-krzysztof e69c240
Merge branch 'main' into feat/app-menu-discover
kowalczyk-krzysztof 28be8f4
Remove single tab handling
kowalczyk-krzysztof c2c1287
Merge branch 'main' into feat/app-menu-discover
kowalczyk-krzysztof 8b5ed2e
Test changes
kowalczyk-krzysztof a779e92
Revert "Remove context_awarness examples"
kowalczyk-krzysztof d428f3d
Merge branch 'main' into feat/app-menu-discover
kowalczyk-krzysztof 3403cb4
Add collapse and triggerElement to app menu
kowalczyk-krzysztof a70e699
Context awarness fixes
kowalczyk-krzysztof 54a2355
Fix types
kowalczyk-krzysztof fb65e03
Add context
kowalczyk-krzysztof 85da556
Revert flyout changes
kowalczyk-krzysztof c49e5d5
Context awarness fixes
kowalczyk-krzysztof 55c62c8
Fix css
kowalczyk-krzysztof e4d02b9
Merge branch 'main' into feat/app-menu-discover
kowalczyk-krzysztof ffc204d
Fix tests
kowalczyk-krzysztof 1c27df2
Test fixes
kowalczyk-krzysztof 76c325a
Merge branch 'main' into feat/app-menu-discover
kowalczyk-krzysztof 1019d3e
Merge branch 'main' into feat/app-menu-discover
kowalczyk-krzysztof 6330c6c
Improve types and fix a11y tests
kowalczyk-krzysztof 0c1051b
Chores
kowalczyk-krzysztof f4d502a
Test fixes
kowalczyk-krzysztof 876fd2a
Merge branch 'main' into feat/app-menu-discover
kowalczyk-krzysztof 1ff3391
Changes from node scripts/lint_ts_projects --fix
kibanamachine 938d5ae
Changes from node scripts/regenerate_moon_projects.js --update
kibanamachine e1c4bcf
o11y serverless fixes
kowalczyk-krzysztof df77f85
Attempt at flaky test
kowalczyk-krzysztof 02d2700
Test fix
kowalczyk-krzysztof e254e0c
Merge branch 'main' into feat/app-menu-discover
kowalczyk-krzysztof 2d4fb0d
Increase browser size for _new_tab test suite
kowalczyk-krzysztof 363b168
Fix sorting for popover items
kowalczyk-krzysztof 5dfdb48
Make ESQL button secondary button
kowalczyk-krzysztof 3296c71
Fix popover width within overflow button
kowalczyk-krzysztof 5404460
Make process items accept object
kowalczyk-krzysztof 9008415
Fix test
kowalczyk-krzysztof 1792268
Move switch to classic button to tab menu
kowalczyk-krzysztof 351fff9
Fix tests
kowalczyk-krzysztof 658b747
Change button color
kowalczyk-krzysztof 96eaa50
Remove dead translation
kowalczyk-krzysztof ac2c286
Fix tests
kowalczyk-krzysztof a06ed9d
Merge branch 'main' into feat/app-menu-discover
kowalczyk-krzysztof 6b61f0b
Merge branch 'main' into feat/app-menu-discover
kowalczyk-krzysztof 9edeb24
Reduce flakiness
kowalczyk-krzysztof fbb772e
Reduce a11y test flakiness
kowalczyk-krzysztof 42fa70f
Flakiness fix
kowalczyk-krzysztof c0c4c80
Merge branch 'main' into feat/app-menu-discover
kowalczyk-krzysztof 20d363b
Merge branch 'main' into feat/app-menu-discover
kowalczyk-krzysztof 7347575
Flakiness fix
kowalczyk-krzysztof 99bf416
Merge branch 'main' into feat/app-menu-discover
kowalczyk-krzysztof f5e4766
CR changes
kowalczyk-krzysztof f67b9a8
Merge branch 'main' into feat/app-menu-discover
kowalczyk-krzysztof 2211152
CR changes
kowalczyk-krzysztof 17e8000
Revert type change
kowalczyk-krzysztof 84a2202
Rework onNewSearch
kowalczyk-krzysztof ba9dc22
Merge branch 'main' into feat/app-menu-discover
kowalczyk-krzysztof 84316ec
Handle single tab view
kowalczyk-krzysztof df28c21
Improve types
kowalczyk-krzysztof 0849402
Fix type casting
kowalczyk-krzysztof 81351c9
Improve getting export items
kowalczyk-krzysztof 7a7f3d4
Change selectDataViewMode to use active tab
kowalczyk-krzysztof 89f3f01
Modify discover_topnav.test to use capabilities
kowalczyk-krzysztof 737bd61
Add splitbutton tests
kowalczyk-krzysztof 4dbce7d
Changes from node scripts/eslint_all_files --no-cache --fix
kibanamachine 996033e
Fix new button
kowalczyk-krzysztof cd4b62c
Fix embedded conflick resolution gone wrong
kowalczyk-krzysztof 4b963df
Add missing icon
kowalczyk-krzysztof 8679fd2
Fix onClick behavior in app menu
kowalczyk-krzysztof de2d49e
Merge branch 'main' into feat/app-menu-discover
kowalczyk-krzysztof 43c56c4
Test fixes
kowalczyk-krzysztof 07cd156
Merge branch 'main' into feat/app-menu-discover
kowalczyk-krzysztof dadbe1a
Make sure the app menu renders when it should
davismcphee bb75ed8
Only show switch to classic for the current tab
davismcphee 1dc3842
Put the embedded editor cancel button into the split button menu
davismcphee 599e81f
Continue passing topNavBadges through DiscoverTopNavMenu to prevent U…
davismcphee be3f984
Merge pull request #15 from davismcphee/davis-app-menu-touchups
kowalczyk-krzysztof 0e1f756
Fix example customization tests
kowalczyk-krzysztof 5b6c922
Merge branch 'main' into feat/app-menu-discover
kowalczyk-krzysztof File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -18,5 +18,6 @@ | |
| "kbn_references": [ | ||
| "@kbn/split-button", | ||
| "@kbn/i18n", | ||
| "@kbn/router-utils" | ||
| ] | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -15,6 +15,6 @@ | |
| ], | ||
| "kbn_references": [ | ||
| "@kbn/i18n", | ||
| "@kbn/navigation-plugin", | ||
| "@kbn/core-chrome-browser", | ||
| ] | ||
| } | ||
8 changes: 0 additions & 8 deletions
8
src/platform/packages/private/kbn-unsaved-changes-badge/README.md
This file was deleted.
Oops, something went wrong.
18 changes: 0 additions & 18 deletions
18
src/platform/packages/private/kbn-unsaved-changes-badge/index.ts
This file was deleted.
Oops, something went wrong.
14 changes: 0 additions & 14 deletions
14
src/platform/packages/private/kbn-unsaved-changes-badge/jest.config.js
This file was deleted.
Oops, something went wrong.
9 changes: 0 additions & 9 deletions
9
src/platform/packages/private/kbn-unsaved-changes-badge/kibana.jsonc
This file was deleted.
Oops, something went wrong.
48 changes: 0 additions & 48 deletions
48
src/platform/packages/private/kbn-unsaved-changes-badge/moon.yml
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
src/platform/packages/private/kbn-unsaved-changes-badge/package.json
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This typing is confusing, you specify
href,targetas required, but then you say it's only used whenitemsis not provided, butitemsis typed as never, I see the same thing also happen withAppMenuItemWithPopover, lets aggregate this into a discriminating union type on either onAppMenuItemBaseor a simpler one that only focuses onrun,target, andhreffor use inAppMenuLinkItemandAppMenuButtonItemsinceAppMenuItemWithPopoverdoesn't need these properties.