1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
lens/src/main
Sebastian Malton 4c49134dbc
Fix crash on clean startup (#6276)
* Convert ReleaseChannel into an InitializableState

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

* Fix init timing for DefaultUpdateChannel

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

* Make UserStore loading seperate from creation to fix initialization timing errors

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

* Fix overrides of UserStore

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

* Fix UserStore tests

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

* Move userStoreFileMigration call to the init runnable

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

* Add global override for userStoreFileMigratiom

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

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-09-20 08:19:09 +02:00
..
__test__ Replace jest.mock's with overriding dependencies (#6014) 2022-08-23 13:04:00 +03:00
app-paths Clean up versioning and packageJson uses (#6196) 2022-09-15 17:20:58 -04:00
application-update Fix crash on clean startup (#6276) 2022-09-20 08:19:09 +02:00
build-version Clean up versioning and packageJson uses (#6196) 2022-09-15 17:20:58 -04:00
catalog Make starting of application modular and unit testable (#5324) 2022-05-18 16:18:02 +03:00
catalog-sources Upgrade to electron@^19 (#5369) 2022-08-12 05:17:06 -07:00
catalog-sync-to-renderer Stop trying to restart catalog sync and updating of application when reloading window (#5735) 2022-06-29 08:22:08 -04:00
child-process 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-detectors Fix distribution detector erroneously depending on previous metadata (#6023) 2022-08-12 09:37:00 +03:00
context-handler Reset Prometheus metrics provider on disconnect (#6158) 2022-09-02 08:46:35 -04:00
create-cluster Replace jest.mock's with overriding dependencies (#6014) 2022-08-23 13:04:00 +03:00
electron-app Clean up versioning and packageJson uses (#6196) 2022-09-15 17:20:58 -04:00
extension-loader Make starting of application modular and unit testable (#5324) 2022-05-18 16:18:02 +03:00
helm Make opening of release details work properly when release has resources without namespace (#6088) 2022-09-08 13:57:11 -04:00
ipc Make starting of application modular and unit testable (#5324) 2022-05-18 16:18:02 +03:00
kube-auth-proxy Replace jest.mock's with overriding dependencies (#6014) 2022-08-23 13:04:00 +03:00
kubeconfig-manager Make starting of application modular and unit testable (#5324) 2022-05-18 16:18:02 +03:00
kubectl Clean up versioning and packageJson uses (#6196) 2022-09-15 17:20:58 -04:00
lens-proxy Clean up versioning and packageJson uses (#6196) 2022-09-15 17:20:58 -04:00
menu Clean up versioning and packageJson uses (#6196) 2022-09-15 17:20:58 -04:00
navigate-to-route Make starting of application modular and unit testable (#5324) 2022-05-18 16:18:02 +03:00
navigate-to-url Make starting of application modular and unit testable (#5324) 2022-05-18 16:18:02 +03:00
prometheus Add Prometheus Helm 14.x metrics provider (#6157) 2022-09-02 08:47:42 -04:00
protocol-handler Replace jest.mock's with overriding dependencies (#6014) 2022-08-23 13:04:00 +03:00
router Introduce a centralised way to emit telemetry from calls of injectable functions (#6164) 2022-09-02 09:33:22 -04:00
routes Clean up versioning and packageJson uses (#6196) 2022-09-15 17:20:58 -04:00
shell-session Remove all manual uses of v8 serialization (#5548) 2022-06-06 07:34:03 -04:00
start-main-application Clean up versioning and packageJson uses (#6196) 2022-09-15 17:20:58 -04:00
stores Fix crash on clean startup (#6276) 2022-09-20 08:19:09 +02:00
theme Make starting of application modular and unit testable (#5324) 2022-05-18 16:18:02 +03:00
tray Clean up versioning and packageJson uses (#6196) 2022-09-15 17:20:58 -04:00
utils Introduce a centralised way to emit telemetry from calls of injectable functions (#6164) 2022-09-02 09:33:22 -04:00
vars Fix crash on clean startup (#6276) 2022-09-20 08:19:09 +02:00
catalog-pusher.ts Fix catalog syncer long delay (#4911) 2022-02-23 06:52:43 +02:00
cluster-manager.injectable.ts Make starting of application modular and unit testable (#5324) 2022-05-18 16:18:02 +03:00
cluster-manager.ts Make starting of application modular and unit testable (#5324) 2022-05-18 16:18:02 +03:00
get-metrics.injectable.ts Make starting of application modular and unit testable (#5324) 2022-05-18 16:18:02 +03:00
getDi.ts Introduce a centralised way to emit telemetry from calls of injectable functions (#6164) 2022-09-02 09:33:22 -04:00
getDiForUnitTesting.ts Fix crash on clean startup (#6276) 2022-09-20 08:19:09 +02:00
index.ts Replace static application window with ability to create many (#5979) 2022-08-16 15:55:42 +03:00
k8s-request.injectable.ts Make starting of application modular and unit testable (#5324) 2022-05-18 16:18:02 +03:00
logger.ts Shorten license header to reduce amount of clutter in top of the files (#4709) 2022-01-18 10:18:10 +02:00
resource-applier.ts 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
stop-services-and-exit-app.injectable.ts Make starting of application modular and unit testable (#5324) 2022-05-18 16:18:02 +03:00
stores-apis-can-be-created.injectable.ts 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