1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
lens/packages/core/src/features/cluster
Sebastian Malton 49f0a1af9c
Remove BaseStore<T> and replace with composition of dependencies (#7002)
* Rename ExtensionStore -> BaseExtensionStore
- The name was too close to ExtensionsStore

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

* Move ExtensionsStore to new format

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

* Move ClusterStore to new format

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

* Move UserStore to new format

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

* Cleanup types to remove multiple cast locations

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

* Move HotbarStore to new format

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

* Move WeblinkStore to new format

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

* Move FileSystemProvisionerStore to new format

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

* Update snapshots

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

* Clean up impl and rename to better describe intent

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

* Fix remaining type errors

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

* Fully split apart the enabled extensions storage

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

* Fully split apart the clusters storage

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

* Fully split apart the hotbar storage

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

* Fully split apart the weblinks storage

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

* Fully split apart the user preferences storage

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

* Fix crashing

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

* Fix tests and snapshots

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

* Fix integration test failures

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

* Improve typing to prevent errors in the future.

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

* Cleanup @k8slens/messaging and friends

- To fix type errors

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

* Fix lint issue

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

* Fix type errors

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

* Fix global override not being complete enough causing tests to fail

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

* Bump memory for unit tests on CI

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

* Attempt to fix memory issue on CI again

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

* Fixup test because of new injectables

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

* Upgrade Jest

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

* Fix unit tests falling over

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

* Back out jest config change

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

* Remove console log

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

* Update snapshot

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

* Fix tests by matching equality instead of snapshots

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

* Fix tests by forcing specific snapshot style

- Ubuntu CI seems to format arrays in snapshots differently than macOS locally

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

---------

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-03-28 17:54:25 +03:00
..
__snapshots__ Add support for specifying orderNumber for ClusterPageMenus (#7166) 2023-02-17 03:55:17 -08:00
activation Remove BaseStore<T> and replace with composition of dependencies (#7002) 2023-03-28 17:54:25 +03:00
delete-dialog Remove BaseStore<T> and replace with composition of dependencies (#7002) 2023-03-28 17:54:25 +03:00
extension-api Restructure to monorepo (#6907) 2023-01-24 10:46:26 -08:00
kube-object-details/extension-api Keep up-to-date resource in the details view (Drawer) (#7224) 2023-03-13 10:45:16 -04:00
kube-object-menu/extension-api Change typing for after/before window/application start (#7342) 2023-03-13 15:35:33 +02:00
kube-object-status-icon Change typing for after/before window/application start (#7342) 2023-03-13 15:35:33 +02:00
namespaces Change typing for after/before window/application start (#7342) 2023-03-13 15:35:33 +02:00
showing-kube-resources/common Remove BaseStore<T> and replace with composition of dependencies (#7002) 2023-03-28 17:54:25 +03:00
state-sync Remove BaseStore<T> and replace with composition of dependencies (#7002) 2023-03-28 17:54:25 +03:00
storage Remove BaseStore<T> and replace with composition of dependencies (#7002) 2023-03-28 17:54:25 +03:00
workloads/overview/extension-api Change typing for after/before window/application start (#7342) 2023-03-13 15:35:33 +02:00
legacy-extension-adding-cluster-frame-components.test.tsx Restructure to monorepo (#6907) 2023-01-24 10:46:26 -08:00
order-of-sidebar-items.test.tsx Change typing for after/before window/application start (#7342) 2023-03-13 15:35:33 +02:00
refresh-accessibility-technical.test.ts Remove BaseStore<T> and replace with composition of dependencies (#7002) 2023-03-28 17:54:25 +03:00
sidebar-and-tab-navigation-for-core.test.tsx Change typing for after/before window/application start (#7342) 2023-03-13 15:35:33 +02:00
sidebar-and-tab-navigation-for-extensions.test.tsx Change typing for after/before window/application start (#7342) 2023-03-13 15:35:33 +02:00
visibility-of-sidebar-items.test.tsx Remove BaseStore<T> and replace with composition of dependencies (#7002) 2023-03-28 17:54:25 +03:00
workload-overview.test.tsx Cleanup 'Cluster' to remove environment specific details (#6951) 2023-03-10 09:37:39 +02:00