-
Notifications
You must be signed in to change notification settings - Fork 8.6k
[SideNav] Make solutions navigation respect 'visibleIn': ['sideNav'] #270634
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
base: main
Are you sure you want to change the base?
Changes from 8 commits
7917b2b
d8fc6fe
663745d
ca44db6
865006c
3b5a518
5678657
4176a67
299b748
ebde11e
3cc553e
ad06ada
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -130,6 +130,7 @@ export class DevToolsPlugin implements Plugin<DevToolsSetup, void> { | |
| id: tool.id, | ||
| title: tool.title as string, | ||
| path: `#/${tool.id}`, | ||
| visibleIn: ['globalSearch', 'solutionSideNav'], | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Without this line these deep links default to Skipping |
||
| }; | ||
| if (!devtoolsDeeplinkIds.some((id) => id === deepLink.id)) { | ||
| throw new Error('Deeplink must be registered in package.'); | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -83,7 +83,7 @@ export class ManagementPlugin | |
| title: mgmtApp.title, | ||
| path: mgmtApp.basePath, | ||
| keywords: mgmtApp.keywords, | ||
| ...(mgmtApp.visibleIn ? { visibleIn: mgmtApp.visibleIn } : {}), | ||
| visibleIn: mgmtApp.visibleIn ?? ['globalSearch', 'solutionSideNav'], | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Default excludes 'classicSideNav' so management sub-apps do not surface as top-level entries in the classic nav. |
||
| })), | ||
| })); | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.