Skip to content
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

chore(*): hide DP nodes list entry #222

Merged
merged 1 commit into from
May 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/.reusable_e2e_tests_oss.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- consumers
- certificates
- ca-certificates
- data-plane-nodes
# - data-plane-nodes
- keys
- key-sets
- misc
Expand Down
12 changes: 6 additions & 6 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,12 @@ const sidebarItems = computed<Array<SidebarPrimaryItem>>(() => [
...(
isHybridMode.value
? [
{
name: 'Data Plane Nodes',
to: { name: 'data-plane-nodes' },
key: 'Data Plane Nodes',
active: route.meta?.entity === 'data-plane-node',
},
// {
// name: 'Data Plane Nodes',
// to: { name: 'data-plane-nodes' },
// key: 'Data Plane Nodes',
// active: route.meta?.entity === 'data-plane-node',
// },
]
: []
),
Expand Down
18 changes: 9 additions & 9 deletions src/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -387,15 +387,15 @@ const routes: Array<RouteRecordRaw> = [
},

// Data plane nodes pages
{
name: 'data-plane-nodes',
path: '/data-plane-nodes',
component: () => import('@/pages/data-plane-nodes/List.vue'),
meta: {
entity: 'data-plane-node',
title: 'Data Plane Nodes',
},
},
// {
// name: 'data-plane-nodes',
// path: '/data-plane-nodes',
// component: () => import('@/pages/data-plane-nodes/List.vue'),
// meta: {
// entity: 'data-plane-node',
// title: 'Data Plane Nodes',
// },
// },
]

type EntityNameDefinition = { key: string, keyPlural?: string, capitalizedName?: string, capitalizedNamePlural?: string }
Expand Down
2 changes: 1 addition & 1 deletion src/styles/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import '@kong-ui-public/app-layout/dist/style.css'
import '@kong-ui-public/entities-certificates/dist/style.css'
import '@kong-ui-public/entities-consumer-credentials/dist/style.css'
import '@kong-ui-public/entities-consumers/dist/style.css'
import '@kong-ui-public/entities-data-plane-nodes/dist/style.css'
// import '@kong-ui-public/entities-data-plane-nodes/dist/style.css'
import '@kong-ui-public/entities-gateway-services/dist/style.css'
import '@kong-ui-public/entities-key-sets/dist/style.css'
import '@kong-ui-public/entities-keys/dist/style.css'
Expand Down
Loading