1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
lens/src/renderer/components
Sebastian Malton bb7bdf2264
Remove kludge from KubeApi (#6867)
* Add support for concating iterators

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Make clear the seperation of extenal and internal stores and apis

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Remove old kludge

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Add kludge to extension api to maintain functionality

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Fix imports

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Fix KubeApi tests

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Add failing test to maintain behaviour

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Fix tests for KubeApi

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Fix build

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Fix reactively-hide-kube-object-detail-item tests

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Update snapshots

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Update snapshots

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Add some technical tests

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* More clear apiBase initialization

Signed-off-by: Sebastian Malton <sebastian@malton.name>

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-01-11 10:50:16 -05:00
..
__tests__ Fix allowed resources checks on GKE (#6657) 2022-12-20 17:20:27 +02:00
+add-cluster Remove a lot of usages of legacy globals (#6825) 2023-01-09 16:15:37 -05:00
+catalog Remove a lot of usages of legacy globals (#6825) 2023-01-09 16:15:37 -05:00
+cluster Remove kludge from KubeApi (#6867) 2023-01-11 10:50:16 -05:00
+config Enable consistent-type-imports eslint rule (#5205) 2022-04-06 10:34:16 -04:00
+config-autoscalers Remove kludge from KubeApi (#6867) 2023-01-11 10:50:16 -05:00
+config-leases Remove kludge from KubeApi (#6867) 2023-01-11 10:50:16 -05:00
+config-limit-ranges Remove kludge from KubeApi (#6867) 2023-01-11 10:50:16 -05:00
+config-maps Remove kludge from KubeApi (#6867) 2023-01-11 10:50:16 -05:00
+config-pod-disruption-budgets Remove kludge from KubeApi (#6867) 2023-01-11 10:50:16 -05:00
+config-priority-classes Remove kludge from KubeApi (#6867) 2023-01-11 10:50:16 -05:00
+config-resource-quotas Remove kludge from KubeApi (#6867) 2023-01-11 10:50:16 -05:00
+config-runtime-classes Remove kludge from KubeApi (#6867) 2023-01-11 10:50:16 -05:00
+config-secrets Remove kludge from KubeApi (#6867) 2023-01-11 10:50:16 -05:00
+custom-resources Remove kludge from KubeApi (#6867) 2023-01-11 10:50:16 -05:00
+entity-settings Fix back navigation in entity settings (#6670) 2022-11-30 04:30:55 -08:00
+events Remove kludge from KubeApi (#6867) 2023-01-11 10:50:16 -05:00
+extensions Remove a lot of usages of legacy globals (#6825) 2023-01-09 16:15:37 -05:00
+helm Enable consistent-type-imports eslint rule (#5205) 2022-04-06 10:34:16 -04:00
+helm-charts Fix helm chart readme load app crash (#6781) 2022-12-19 08:14:49 -05:00
+helm-releases Remove a lot of usages of legacy globals (#6825) 2023-01-09 16:15:37 -05:00
+namespaces Remove kludge from KubeApi (#6867) 2023-01-11 10:50:16 -05:00
+network Enable consistent-type-imports eslint rule (#5205) 2022-04-06 10:34:16 -04:00
+network-endpoints Remove kludge from KubeApi (#6867) 2023-01-11 10:50:16 -05:00
+network-ingresses Remove kludge from KubeApi (#6867) 2023-01-11 10:50:16 -05:00
+network-policies Remove kludge from KubeApi (#6867) 2023-01-11 10:50:16 -05:00
+network-port-forwards Remove a lot of usages of legacy globals (#6825) 2023-01-09 16:15:37 -05:00
+network-services Remove kludge from KubeApi (#6867) 2023-01-11 10:50:16 -05:00
+nodes Remove kludge from KubeApi (#6867) 2023-01-11 10:50:16 -05:00
+pod-security-policies Remove kludge from KubeApi (#6867) 2023-01-11 10:50:16 -05:00
+storage Enable consistent-type-imports eslint rule (#5205) 2022-04-06 10:34:16 -04:00
+storage-classes Remove kludge from KubeApi (#6867) 2023-01-11 10:50:16 -05:00
+storage-volume-claims Remove kludge from KubeApi (#6867) 2023-01-11 10:50:16 -05:00
+storage-volumes Remove kludge from KubeApi (#6867) 2023-01-11 10:50:16 -05:00
+user-management Remove kludge from KubeApi (#6867) 2023-01-11 10:50:16 -05:00
+welcome Remove a lot of usages of legacy globals (#6825) 2023-01-09 16:15:37 -05:00
+workloads Enable consistent-type-imports eslint rule (#5205) 2022-04-06 10:34:16 -04:00
+workloads-cronjobs Remove kludge from KubeApi (#6867) 2023-01-11 10:50:16 -05:00
+workloads-daemonsets Remove kludge from KubeApi (#6867) 2023-01-11 10:50:16 -05:00
+workloads-deployments Remove kludge from KubeApi (#6867) 2023-01-11 10:50:16 -05:00
+workloads-jobs Remove kludge from KubeApi (#6867) 2023-01-11 10:50:16 -05:00
+workloads-overview Fix shouldShowResource when not a cluster admin (#6900) 2023-01-11 09:02:10 -05:00
+workloads-pods Remove kludge from KubeApi (#6867) 2023-01-11 10:50:16 -05:00
+workloads-replicasets Remove kludge from KubeApi (#6867) 2023-01-11 10:50:16 -05:00
+workloads-statefulsets Remove kludge from KubeApi (#6867) 2023-01-11 10:50:16 -05:00
activate-entity-command Turn on strict mode in tsconfig.json, some helpful lints, and required cleanup where strictness necessitates it (#5195) 2022-05-16 07:17:57 -04:00
add-remove-buttons Revert #6733 to avoid breaking changes for extensions (#6821) 2022-12-22 07:21:44 -05:00
animate Making apiBase injectable (#6022) 2022-10-05 08:10:36 -04:00
avatar Block renderering non http(s):// links via <Icon> (#6588) 2022-11-17 11:10:54 -05:00
badge Fix badge not expanding on click when appropriate (#6029) 2022-08-25 09:19:35 -04:00
button Add data-warning prop on button for better snapshot testing (#6040) 2022-08-30 08:28:20 -04:00
catalog-entities Make base store non Singleton (#6690) 2022-12-15 17:07:19 +02:00
chart Make base store non Singleton (#6690) 2022-12-15 17:07:19 +02:00
checkbox Turn on strict mode in tsconfig.json, some helpful lints, and required cleanup where strictness necessitates it (#5195) 2022-05-16 07:17:57 -04:00
cluster-manager Revert #6733 to avoid breaking changes for extensions (#6821) 2022-12-22 07:21:44 -05:00
cluster-settings Fix allowed resources checks on GKE (#6657) 2022-12-20 17:20:27 +02:00
command-palette Make request-api-resources flatter in implementation (#6802) 2022-12-21 16:31:31 +02:00
confirm-dialog Remove a lot of usages of legacy globals (#6825) 2023-01-09 16:15:37 -05:00
countdown Remove a lot of usages of legacy globals (#6825) 2023-01-09 16:15:37 -05:00
delete-cluster-dialog Remove a lot of usages of legacy globals (#6825) 2023-01-09 16:15:37 -05:00
dialog Remove a lot of usages of legacy globals (#6825) 2023-01-09 16:15:37 -05:00
dock Remove a lot of usages of legacy globals (#6825) 2023-01-09 16:15:37 -05:00
drawer Revert #6733 to avoid breaking changes for extensions (#6821) 2022-12-22 07:21:44 -05:00
dropdown Add option to download all logs from the container (#5970) 2022-08-30 16:00:11 +03:00
duration Fix ReactiveDuration to update as frequently as necessary (#6375) 2022-10-11 10:58:46 -04:00
editable-list Revert #6733 to avoid breaking changes for extensions (#6821) 2022-12-22 07:21:44 -05:00
error-boundary Remove a lot of usages of legacy globals (#6825) 2023-01-09 16:15:37 -05:00
file-picker Bump typescript from 4.6.4 to 4.7.3 (#5571) 2022-06-13 14:30:24 -04:00
gutter Refactor and transform "Application update", "Preferences" and "Application menu" into Features (#6437) 2022-10-26 11:16:23 -04:00
horizontal-line Refactor and transform "Application update", "Preferences" and "Application menu" into Features (#6437) 2022-10-26 11:16:23 -04:00
hotbar Remove a lot of usages of legacy globals (#6825) 2023-01-09 16:15:37 -05:00
icon Replace CatalogEntityDetailRegistry with an injectable solution (#6605) 2022-12-02 10:31:27 -05:00
input Remove a lot of usages of legacy globals (#6825) 2023-01-09 16:15:37 -05:00
item-object-list Remove a lot of usages of legacy globals (#6825) 2023-01-09 16:15:37 -05:00
kube-detail-params Remove a lot of usages of legacy globals (#6825) 2023-01-09 16:15:37 -05:00
kube-object Turn on strict mode in tsconfig.json, some helpful lints, and required cleanup where strictness necessitates it (#5195) 2022-05-16 07:17:57 -04:00
kube-object-details Remove a lot of usages of legacy globals (#6825) 2023-01-09 16:15:37 -05:00
kube-object-list-layout Remove a lot of usages of legacy globals (#6825) 2023-01-09 16:15:37 -05:00
kube-object-menu Add Restart Button to StatefulSet Menu (#6868) 2023-01-04 08:14:56 -05:00
kube-object-meta Remove a lot of usages of legacy globals (#6825) 2023-01-09 16:15:37 -05:00
kube-object-status-icon Resolve kube object status texts again on re-render to make it look like it's reactive (#5875) 2022-07-27 09:21:38 +03:00
kubeconfig-dialog Remove a lot of usages of legacy globals (#6825) 2023-01-09 16:15:37 -05:00
layout Remove a lot of usages of legacy globals (#6825) 2023-01-09 16:15:37 -05:00
line-progress Turn on strict mode in tsconfig.json, some helpful lints, and required cleanup where strictness necessitates it (#5195) 2022-05-16 07:17:57 -04:00
list Turn on strict mode in tsconfig.json, some helpful lints, and required cleanup where strictness necessitates it (#5195) 2022-05-16 07:17:57 -04:00
locale-date Make base store non Singleton (#6690) 2022-12-15 17:07:19 +02:00
map Refactor and transform "Application update", "Preferences" and "Application menu" into Features (#6437) 2022-10-26 11:16:23 -04:00
markdown-viewer Revert #6733 to avoid breaking changes for extensions (#6821) 2022-12-22 07:21:44 -05:00
menu Revert #6733 to avoid breaking changes for extensions (#6821) 2022-12-22 07:21:44 -05:00
monaco-editor Fix app crash when sometimes using MonacoEditor (#6893) 2023-01-09 10:52:06 -05:00
no-items Enable consistent-type-imports eslint rule (#5205) 2022-04-06 10:34:16 -04:00
notifications Remove a lot of usages of legacy globals (#6825) 2023-01-09 16:15:37 -05:00
path-picker Make base store non Singleton (#6690) 2022-12-15 17:07:19 +02:00
radio Fix not being able to switch metrics if none are available (#5430) 2022-08-02 10:05:15 -04:00
render-delay Remove a lot of usages of legacy globals (#6825) 2023-01-09 16:15:37 -05:00
resizing-anchor Revert #6733 to avoid breaking changes for extensions (#6821) 2022-12-22 07:21:44 -05:00
resource-metrics Refactor kube detail components and add KubeEvents automatically to all custom resources (#6468) 2022-12-15 10:14:00 -05:00
scroll-spy Block renderering non http(s):// links via <Icon> (#6588) 2022-11-17 11:10:54 -05:00
select Remove a lot of usages of legacy globals (#6825) 2023-01-09 16:15:37 -05:00
slider Turn on strict mode in tsconfig.json, some helpful lints, and required cleanup where strictness necessitates it (#5195) 2022-05-16 07:17:57 -04:00
spinner Shorten license header to reduce amount of clutter in top of the files (#4709) 2022-01-18 10:18:10 +02:00
status-bar Add data-origin to status bar items for better observability (#6400) 2022-10-14 09:27:10 +03:00
status-brick Turn on strict mode in tsconfig.json, some helpful lints, and required cleanup where strictness necessitates it (#5195) 2022-05-16 07:17:57 -04:00
stepper Shorten license header to reduce amount of clutter in top of the files (#4709) 2022-01-18 10:18:10 +02:00
switch Replace deprecated <FormSwitcher/> in metrics-cluster-feature extension (#6060) 2022-08-25 16:18:58 +03:00
table Remove a lot of usages of legacy globals (#6825) 2023-01-09 16:15:37 -05:00
tabs Make EntitySettingRegistry fully injectable (#6604) 2022-11-28 12:13:15 -05:00
test-utils Remove a lot of usages of legacy globals (#6825) 2023-01-09 16:15:37 -05:00
tooltip Revert #6733 to avoid breaking changes for extensions (#6821) 2022-12-22 07:21:44 -05:00
tree-view Turn on strict mode in tsconfig.json, some helpful lints, and required cleanup where strictness necessitates it (#5195) 2022-05-16 07:17:57 -04:00
virtual-list Fix ingress list line heights (#5949) 2022-08-02 15:24:53 +03:00
wizard Stop using HelmCli from Renderer (#4861) 2022-06-13 11:42:53 +03:00
app.scss Revert #6733 to avoid breaking changes for extensions (#6821) 2022-12-22 07:21:44 -05:00
colors.scss Shorten license header to reduce amount of clutter in top of the files (#4709) 2022-01-18 10:18:10 +02:00
flexbox.scss Fix scss compilation warning by removing flex.box dependency (#6411) 2022-10-14 09:56:54 -04:00
fonts.scss Custom terminal fonts support (#5414) 2022-06-06 18:03:12 +03:00
media.scss Shorten license header to reduce amount of clutter in top of the files (#4709) 2022-01-18 10:18:10 +02:00
mixins.scss Custom terminal fonts support (#5414) 2022-06-06 18:03:12 +03:00
vars.scss Revert #6733 to avoid breaking changes for extensions (#6821) 2022-12-22 07:21:44 -05:00