Skip to content

Commit

Permalink
Restructure the navigation menu
Browse files Browse the repository at this point in the history
  • Loading branch information
karthik4 committed Feb 10, 2020
1 parent 61168ce commit ac714d5
Showing 1 changed file with 18 additions and 17 deletions.
35 changes: 18 additions & 17 deletions frontend/packages/dev-console/src/plugin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,22 @@ const plugin: Plugin<ConsumedExtensions> = [
{
type: 'NavItem/Href',
properties: {
section: 'More',
perspective: 'dev',
componentProps: {
name: 'Helm Releases',
name: 'Search',
href: '/search',
testID: 'more-search-header',
},
},
},
{
type: 'NavItem/Href',
properties: {
section: 'More',
perspective: 'dev',
componentProps: {
name: 'Helm',
href: '/helm-releases',
testID: 'helm-releases-header',
},
Expand All @@ -169,12 +182,12 @@ const plugin: Plugin<ConsumedExtensions> = [
{
type: 'NavItem/ResourceCluster',
properties: {
section: 'Advanced',
section: 'More',
perspective: 'dev',
componentProps: {
name: 'Project Details',
resource: 'projects',
testID: 'advanced-project-header',
testID: 'more-project-header',
},
},
flags: {
Expand All @@ -184,24 +197,12 @@ const plugin: Plugin<ConsumedExtensions> = [
{
type: 'NavItem/Href',
properties: {
section: 'Advanced',
section: 'More',
perspective: 'dev',
componentProps: {
name: 'Project Access',
href: '/project-access',
testID: 'advanced-project-access-header',
},
},
},
{
type: 'NavItem/Href',
properties: {
section: 'Advanced',
perspective: 'dev',
componentProps: {
name: 'Search',
href: '/search',
testID: 'advanced-search-header',
testID: 'more-project-access-header',
},
},
},
Expand Down

0 comments on commit ac714d5

Please sign in to comment.