Skip to content

Commit

Permalink
Dashboard view
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Madigan <[email protected]>
  • Loading branch information
jasonmadigan committed Sep 16, 2024
1 parent 1523aa9 commit 256f357
Show file tree
Hide file tree
Showing 9 changed files with 434 additions and 198 deletions.
32 changes: 12 additions & 20 deletions console-extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,8 @@
"type": "console.page/route",
"properties": {
"exact": true,
"path": "/k8s/ns/:ns/kuadrant/dashboard",
"component": { "$codeRef": "KuadrantDashboardPage" }
}
},
{
"type": "console.page/route",
"properties": {
"exact": true,
"path": "/k8s/all-namespaces/kuadrant/dashboard",
"component": { "$codeRef": "KuadrantDashboardPage" }
"path": "/kuadrant/overview",
"component": { "$codeRef": "KuadrantOverviewPage" }
}
},
{
Expand Down Expand Up @@ -70,17 +62,17 @@
{
"type": "console.navigation/href",
"properties": {
"id": "rhcl-dashboard-admin",
"name": "%plugin__console-plugin-template~Dashboard%",
"href": "/k8s/all-namespaces/kuadrant/dashboard",
"id": "kuadrant-overview-admin",
"name": "%plugin__console-plugin-template~Overview%",
"href": "/kuadrant/overview",
"perspective": "admin",
"section": "kuadrant-section-admin"
}
},
{
"type": "console.navigation/href",
"properties": {
"id": "rhcl-policies-admin",
"id": "kuadrant-policies-admin",
"name": "%plugin__console-plugin-template~Policies%",
"href": "/kuadrant/all-namespaces/policies",
"perspective": "admin",
Expand All @@ -90,7 +82,7 @@
{
"type": "console.navigation/href",
"properties": {
"id": "rhcl-policy-topology-admin",
"id": "kuadrant-policy-topology-admin",
"name": "%plugin__console-plugin-template~Policy Topology%",
"href": "/kuadrant/policy-topology",
"perspective": "admin",
Expand All @@ -109,17 +101,17 @@
{
"type": "console.navigation/href",
"properties": {
"id": "rhcl-dashboard-dev",
"name": "%plugin__console-plugin-template~Dashboard%",
"href": "/k8s/all-namespaces/kuadrant/dashboard",
"id": "kuadrant-dashboard-dev",
"name": "%plugin__console-plugin-template~Overview%",
"href": "/kuadrant/overview",
"perspective": "dev",
"section": "kuadrant-section-dev"
}
},
{
"type": "console.navigation/href",
"properties": {
"id": "rhcl-policies-dev",
"id": "kuadrant-policies-dev",
"name": "%plugin__console-plugin-template~Policies%",
"href": "/kuadrant/all-namespaces/policies",
"perspective": "dev",
Expand All @@ -129,7 +121,7 @@
{
"type": "console.navigation/href",
"properties": {
"id": "rhcl-policy-topology-dev",
"id": "kuadrant-policy-topology-dev",
"name": "%plugin__console-plugin-template~Policy Topology%",
"href": "/kuadrant/policy-topology",
"perspective": "dev",
Expand Down
2 changes: 1 addition & 1 deletion locales/en/plugin__console-plugin-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"Namespace": "Namespace",
"Select a Namespace": "Select a Namespace",
"Address": "Address",
"Dashboard": "Dashboard",
"Overview": "Overview",
"Policies": "Policies",
"Policy Topology": "Policy Topology",
"TLS": "TLS",
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"@openshift-console/dynamic-plugin-sdk": "^1.6.0",
"@openshift-console/dynamic-plugin-sdk-webpack": "^1.2.0",
"@patternfly/react-core": "^5.3.3",
"@patternfly/react-icons": "^5.1.1",
"@patternfly/react-icons": "^5.4.0",
"@patternfly/react-styles": "^5.1.1",
"@types/node": "^18.0.0",
"@types/react": "^17.0.37",
Expand Down Expand Up @@ -74,7 +74,7 @@
"displayName": "OpenShift Console Plugin Template",
"description": "Template project for OpenShift Console plugins. Edit package.json to change this message and the plugin name.",
"exposedModules": {
"KuadrantDashboardPage": "./components/KuadrantDashboardPage",
"KuadrantOverviewPage": "./components/KuadrantOverviewPage",
"PolicyTopologyPage": "./components/PolicyTopologyPage",
"KuadrantPoliciesPage": "./components/KuadrantPoliciesPage",
"KuadrantDNSPolicyCreatePage": "./components/KuadrantDNSPolicyCreatePage",
Expand Down
129 changes: 0 additions & 129 deletions src/components/KuadrantDashboardPage.tsx

This file was deleted.

Loading

0 comments on commit 256f357

Please sign in to comment.