1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
Commit Graph

3274 Commits

Author SHA1 Message Date
Sebastian Malton
177d364d3f Fix type error in legacy ipc registration
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:01 -05:00
Sebastian Malton
a81873fe52 Fix pick paths import type error and simplify signature
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:01 -05:00
Sebastian Malton
bae2aa0884 Remove unused code
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:01 -05:00
Sebastian Malton
0578093d15 Fix sidebar and tab tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:01 -05:00
Sebastian Malton
8d88f4d3a0 Fix kubeconfig sync tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:01 -05:00
Sebastian Malton
62cc4efae0 Fix user store tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:01 -05:00
Sebastian Malton
808af583cd Fix cluster-role-dialog tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:01 -05:00
Sebastian Malton
c2f6aed717 Fix extension-discovery tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:01 -05:00
Sebastian Malton
551172b1c2 Fix extension-loader tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:01 -05:00
Sebastian Malton
c23d3e349b Fix cluster store tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:01 -05:00
Sebastian Malton
e414fbace5 Fix hotbar store tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:01 -05:00
Sebastian Malton
6c061165de Fix tests by overriding things that are no longer overriden by default
- NOTE: They are overridden when using ApplicationBuilder

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:01 -05:00
Sebastian Malton
cecc8b951d Update snapshots
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:01 -05:00
Sebastian Malton
6e7655ba03 Fix import
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:01 -05:00
Sebastian Malton
e4adc3f1e3 Remove props from dnd mock to make snapshot diffs smaller
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:01 -05:00
Sebastian Malton
8de3e75191 Fix sidebar-and-tab-navigation-tests
- Move enabling extensions in tests to a proper location
- Fix flushing promises

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:01 -05:00
Sebastian Malton
ee33cc96d9 Update listing-active-helm-repositories-in-preferences snapshots
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:01 -05:00
Sebastian Malton
ca49e585e7 Fix HotbarStore.load being called twice is being buggy
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:01 -05:00
Sebastian Malton
618d0d83b5 Update and fix WriteJson(Sync) to fix error in tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:01 -05:00
Sebastian Malton
c6c2bb920a Fix react-beautiful-dnd mocks
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:01 -05:00
Sebastian Malton
c68a1bfd04 Convert all renderer runnables to late-inject style
- To help fix issues around injection time

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:00 -05:00
Sebastian Malton
83bb5c37d9 Fix ordering of runnable and order of injection
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:00 -05:00
Sebastian Malton
7c221112a0 Fix injecting before app paths are set up
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:00 -05:00
Sebastian Malton
8ad761b045 Fix injecting before app paths are set up
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:00 -05:00
Sebastian Malton
26af59ad64 Fix override file name
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:00 -05:00
Sebastian Malton
ff54c042b6 Complete cherry-pick of current cluster injcetablization
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:00 -05:00
Sebastian Malton
41a9957ede Fix incorrectly fully cherry picking new runnable
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:00 -05:00
Sebastian Malton
5d39fe5539 Fix duplicate mock warning
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:00 -05:00
Sebastian Malton
9877f99c3a Fully cherry pick injectablizing custom monaco themes
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:00 -05:00
Sebastian Malton
866a69ef67 Remove dead code
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:00 -05:00
Sebastian Malton
6f4ddf72e8 Remove unnecessart awaits
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:00 -05:00
Sebastian Malton
76931f8aa8 Fix old imports
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:00 -05:00
Sebastian Malton
8b9a9ab25f Manually split out terminal color names and fully type LensTheme
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:00 -05:00
Sebastian Malton
621ca72f13 Cleanup old code from missed from previous commit
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:00 -05:00
Sebastian Malton
963651ef4b Make LensTheme fully injectable and runnable
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:00 -05:00
Sebastian Malton
56c78c8c8b Move init hotbar store into runnables
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:00 -05:00
Sebastian Malton
f7b5ae7b57 Make cluster state sync fully injectable
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:00 -05:00
Sebastian Malton
659b63d0cf Convert navigateForExtension init to runnable
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:00 -05:00
Sebastian Malton
d585b0957c Convert contextMenuOpen initializers into runnables
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:00 -05:00
Sebastian Malton
0cad3e7bae Move initializing CatalogCategories to runnable in bootstrap
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:00 -05:00
Sebastian Malton
9e1d182459 Consolidate more bootstrapping into startFrame
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:00 -05:00
Sebastian Malton
01d3914b5a Fully injectable-ize BaseStore so that ApplicationBuilder tests work
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:00 -05:00
Sebastian Malton
cf0ca414ea Fix test failures due to incomplete overrides
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:00 -05:00
Sebastian Malton
4875f24af3 Remove dead code
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:00 -05:00
Sebastian Malton
36063d86af Add stat to fake FS
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:00 -05:00
Sebastian Malton
69cfe9a25e Add createReadStream to fake FS
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:00 -05:00
Sebastian Malton
e10be8a4f0 Use pathExistsSync instead of fsInjectable
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:00 -05:00
Sebastian Malton
06f4802748 Fix type error
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:18:59 -05:00
Sebastian Malton
8409d56fdf Add ensureDir/Sync support to fake FS
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:18:59 -05:00
Sebastian Malton
af48b7de5f Handle copy as part of fake FS
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:18:59 -05:00