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

1912 Commits

Author SHA1 Message Date
Sebastian Malton
318d7fbe2b Fix loading
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 17:40:43 -05:00
Sebastian Malton
3eabad4362 Update snapshots
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 17:40:37 -05:00
Sebastian Malton
f95ed19a7d Fix test flakiness by removing side effects from userStore preferences
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 17:14:30 -05:00
Sebastian Malton
a6d1b7a3a4 Fix more type errors
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:51:48 -05:00
Sebastian Malton
1a4c1d8a68 Fix catalog tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:23:33 -05:00
Sebastian Malton
d724c4bf2a Fix usage in light of changed prop names
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:01 -05:00
Sebastian Malton
b87960659b Replace use of legacy global PathPicker.Pick
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:01 -05:00
Sebastian Malton
a33b3cde73 Remove another use of legacy requestOpenPathPicker
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-06 09:19:01 -05:00
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
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
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