mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Revert "chore: Move around Custom Resource and Custom Resource Definition files to simplify names"
This reverts commit e0e2194b11.
This commit is contained in:
1 parent
8960142342
commit
5f4cdbc519
33 files changed
+219
-105
No files matched your search
@@ -5,8 +5,8 @@
|
||||
|
||||
import type { RenderResult } from "@testing-library/react";
|
||||
import { CustomResourceDefinition } from "../../extensions/common-api/k8s-api";
|
||||
import type { CustomResourceDefinitionStore } from "../../renderer/components/custom-resource-definitions/store";
|
||||
import customResourceDefinitionStoreInjectable from "../../renderer/components/custom-resource-definitions/store.injectable";
|
||||
import type { CustomResourceDefinitionStore } from "../../renderer/components/custom-resources/definition.store";
|
||||
import customResourceDefinitionStoreInjectable from "../../renderer/components/custom-resources/definition.store.injectable";
|
||||
import type { ApplicationBuilder } from "../../renderer/components/test-utils/get-application-builder";
|
||||
import { getApplicationBuilder } from "../../renderer/components/test-utils/get-application-builder";
|
||||
|
||||
|
||||
+117
-9
@@ -77,7 +77,7 @@ exports[`Viewing Custom Resources with extra columns renders 1`] = `
|
||||
>
|
||||
<a
|
||||
class="navItem"
|
||||
data-testid="link-for-sidebar-item-workloads"
|
||||
data-testid="sidebar-item-link-for-workloads"
|
||||
href="/"
|
||||
>
|
||||
<i
|
||||
@@ -92,7 +92,6 @@ exports[`Viewing Custom Resources with extra columns renders 1`] = `
|
||||
</span>
|
||||
<i
|
||||
class="Icon expandIcon material focusable"
|
||||
data-testid="expand-icon-for-sidebar-item-workloads"
|
||||
>
|
||||
<span
|
||||
class="icon"
|
||||
@@ -103,6 +102,31 @@ exports[`Viewing Custom Resources with extra columns renders 1`] = `
|
||||
</i>
|
||||
</a>
|
||||
</div>
|
||||
<div
|
||||
class="SidebarItem"
|
||||
data-is-active-test="false"
|
||||
data-testid="sidebar-item-config"
|
||||
>
|
||||
<a
|
||||
class="navItem"
|
||||
data-testid="sidebar-item-link-for-config"
|
||||
href="/"
|
||||
>
|
||||
<i
|
||||
class="Icon material focusable"
|
||||
>
|
||||
<span
|
||||
class="icon"
|
||||
data-icon-name="list"
|
||||
>
|
||||
list
|
||||
</span>
|
||||
</i>
|
||||
<span>
|
||||
Config
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
<div
|
||||
class="SidebarItem"
|
||||
data-is-active-test="false"
|
||||
@@ -110,7 +134,7 @@ exports[`Viewing Custom Resources with extra columns renders 1`] = `
|
||||
>
|
||||
<a
|
||||
class="navItem"
|
||||
data-testid="link-for-sidebar-item-network"
|
||||
data-testid="sidebar-item-link-for-network"
|
||||
href="/"
|
||||
>
|
||||
<i
|
||||
@@ -128,7 +152,6 @@ exports[`Viewing Custom Resources with extra columns renders 1`] = `
|
||||
</span>
|
||||
<i
|
||||
class="Icon expandIcon material focusable"
|
||||
data-testid="expand-icon-for-sidebar-item-network"
|
||||
>
|
||||
<span
|
||||
class="icon"
|
||||
@@ -139,6 +162,31 @@ exports[`Viewing Custom Resources with extra columns renders 1`] = `
|
||||
</i>
|
||||
</a>
|
||||
</div>
|
||||
<div
|
||||
class="SidebarItem"
|
||||
data-is-active-test="false"
|
||||
data-testid="sidebar-item-storage"
|
||||
>
|
||||
<a
|
||||
class="navItem"
|
||||
data-testid="sidebar-item-link-for-storage"
|
||||
href="/"
|
||||
>
|
||||
<i
|
||||
class="Icon material focusable"
|
||||
>
|
||||
<span
|
||||
class="icon"
|
||||
data-icon-name="storage"
|
||||
>
|
||||
storage
|
||||
</span>
|
||||
</i>
|
||||
<span>
|
||||
Storage
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
<div
|
||||
class="SidebarItem"
|
||||
data-is-active-test="false"
|
||||
@@ -146,7 +194,7 @@ exports[`Viewing Custom Resources with extra columns renders 1`] = `
|
||||
>
|
||||
<a
|
||||
class="navItem"
|
||||
data-testid="link-for-sidebar-item-helm"
|
||||
data-testid="sidebar-item-link-for-helm"
|
||||
href="/"
|
||||
>
|
||||
<i
|
||||
@@ -161,7 +209,67 @@ exports[`Viewing Custom Resources with extra columns renders 1`] = `
|
||||
</span>
|
||||
<i
|
||||
class="Icon expandIcon material focusable"
|
||||
data-testid="expand-icon-for-sidebar-item-helm"
|
||||
>
|
||||
<span
|
||||
class="icon"
|
||||
data-icon-name="keyboard_arrow_down"
|
||||
>
|
||||
keyboard_arrow_down
|
||||
</span>
|
||||
</i>
|
||||
</a>
|
||||
</div>
|
||||
<div
|
||||
class="SidebarItem"
|
||||
data-is-active-test="false"
|
||||
data-testid="sidebar-item-user-management"
|
||||
>
|
||||
<a
|
||||
class="navItem"
|
||||
data-testid="sidebar-item-link-for-user-management"
|
||||
href="/"
|
||||
>
|
||||
<i
|
||||
class="Icon material focusable"
|
||||
>
|
||||
<span
|
||||
class="icon"
|
||||
data-icon-name="security"
|
||||
>
|
||||
security
|
||||
</span>
|
||||
</i>
|
||||
<span>
|
||||
Access Control
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
<div
|
||||
class="SidebarItem"
|
||||
data-is-active-test="true"
|
||||
data-testid="sidebar-item-custom-resources"
|
||||
>
|
||||
<a
|
||||
aria-current="page"
|
||||
class="navItem active"
|
||||
data-testid="sidebar-item-link-for-custom-resources"
|
||||
href="/"
|
||||
>
|
||||
<i
|
||||
class="Icon material focusable"
|
||||
>
|
||||
<span
|
||||
class="icon"
|
||||
data-icon-name="extension"
|
||||
>
|
||||
extension
|
||||
</span>
|
||||
</i>
|
||||
<span>
|
||||
Custom Resources
|
||||
</span>
|
||||
<i
|
||||
class="Icon expandIcon material focusable"
|
||||
>
|
||||
<span
|
||||
class="icon"
|
||||
@@ -189,7 +297,7 @@ exports[`Viewing Custom Resources with extra columns renders 1`] = `
|
||||
class=""
|
||||
>
|
||||
<div
|
||||
class="ItemListLayout flex column KubeObjectListLayout CustomResources"
|
||||
class="ItemListLayout flex column KubeObjectListLayout CrdResources"
|
||||
>
|
||||
<div
|
||||
class="header flex gaps align-center"
|
||||
@@ -237,7 +345,7 @@ exports[`Viewing Custom Resources with extra columns renders 1`] = `
|
||||
class="items box grow flex column"
|
||||
>
|
||||
<div
|
||||
class="Table flex column KubeObjectListLayout CustomResources box grow dark selectable scrollable sortable autoSize virtual"
|
||||
class="Table flex column KubeObjectListLayout CrdResources box grow dark selectable scrollable sortable autoSize virtual"
|
||||
>
|
||||
<div
|
||||
class="TableHead sticky nowrap topLine"
|
||||
@@ -339,7 +447,7 @@ exports[`Viewing Custom Resources with extra columns renders 1`] = `
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
class="VirtualList KubeObjectListLayout CustomResources box grow dark"
|
||||
class="VirtualList KubeObjectListLayout CrdResources box grow dark"
|
||||
>
|
||||
<div>
|
||||
<div
|
||||
|
||||
@@ -9,8 +9,8 @@ import type { RenderResult } from "@testing-library/react";
|
||||
import navigateToCustomResourcesInjectable from "../../common/front-end-routing/routes/cluster/custom-resources/navigate-to-custom-resources.injectable";
|
||||
import apiManagerInjectable from "../../common/k8s-api/api-manager/manager.injectable";
|
||||
import type { CustomResourceStore } from "../../common/k8s-api/api-manager/resource.store";
|
||||
import type { CustomResourceDefinitionStore } from "../../renderer/components/custom-resource-definitions/store";
|
||||
import customResourceDefinitionStoreInjectable from "../../renderer/components/custom-resource-definitions/store.injectable";
|
||||
import type { CustomResourceDefinitionStore } from "../../renderer/components/custom-resources/definition.store";
|
||||
import customResourceDefinitionStoreInjectable from "../../renderer/components/custom-resources/definition.store.injectable";
|
||||
import type { ApplicationBuilder } from "../../renderer/components/test-utils/get-application-builder";
|
||||
import { getApplicationBuilder } from "../../renderer/components/test-utils/get-application-builder";
|
||||
|
||||
|
||||
Reference in new issue
Block a user