1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
lens/src/renderer/components/+preferences
Janne Savolainen 1393cc303d
Stop using HelmCli from Renderer (#4861)
* Introduce way for execute file

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Make typing of HelmRepo shared

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Introduce way to get Helm environment values

Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Introduce function to read YAML file

Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Introduce competition for listing active helm repositories in preferences

Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Make sense in name of injectable

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Introduce helper for opening and selecting values of select

Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Introduce competition for activating, deactivating public helm repositories in preferences

Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Introduce competition for deactivating helm repository from list of active repositories

Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Add missing global overrides

Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Make some tests more deterministic by mocking tooltips

Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Introduce competition for activating custom helm repository in preferences

Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Update snapshots

Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Remove old implementation made redundant with competition for preferences of helm repositories

Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Add success notification for activating custom helm repository

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Introduce way to get single active helm repository

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Extract responsibilities from god-class and switch to getting helm repositories using competition instead of another god class

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Remove dead code

Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Add TODO

Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Tweak position of spinner

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Start handling errors when accessing helm repositories

Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Handle error about no helm repositories when updating repositories

Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Remove unwarranted function configuration

Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Add missing global overrides

Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Remove duplication how to acquire binary path for helm

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Remove redundant comment

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Consolidate naming to match Helm's internal

Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Relocate file closer to it's relatives

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-06-13 11:42:53 +03:00
..
app-preferences Enable consistent-type-imports eslint rule (#5205) 2022-04-06 10:34:16 -04:00
kubernetes/helm-charts Stop using HelmCli from Renderer (#4861) 2022-06-13 11:42:53 +03:00
preferences-navigation Enable consistent-type-imports eslint rule (#5205) 2022-04-06 10:34:16 -04:00
app-preferences-route-component.injectable.ts Technical requirements for behavioural unit tests (#5084) 2022-03-31 16:57:05 +03:00
application.tsx Introduce way to install update directly from tray. Make application updater unit testable... (#5433) 2022-06-03 11:21:36 +03:00
close-preferences.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
default-shell.injectable.ts Technical requirements for behavioural unit tests (#5084) 2022-03-31 16:57:05 +03:00
editor-preferences-route-component.injectable.ts Technical requirements for behavioural unit tests (#5084) 2022-03-31 16:57:05 +03:00
editor.tsx 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
extension-preference-item-registrator.injectable.ts Make starting of application modular and unit testable (#5324) 2022-05-18 16:18:02 +03:00
extension-preference-items.injectable.ts Technical requirements for behavioural unit tests (#5084) 2022-03-31 16:57:05 +03:00
extension-preferences-route-component.injectable.ts Technical requirements for behavioural unit tests (#5084) 2022-03-31 16:57:05 +03:00
extension-settings.tsx 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
extension-telemetry-preference-item-registrator.injectable.ts Make starting of application modular and unit testable (#5324) 2022-05-18 16:18:02 +03:00
extensions.tsx Technical requirements for behavioural unit tests (#5084) 2022-03-31 16:57:05 +03:00
index.tsx Shorten license header to reduce amount of clutter in top of the files (#4709) 2022-01-18 10:18:10 +02:00
kubeconfig-syncs.tsx Technical requirements for behavioural unit tests (#5084) 2022-03-31 16:57:05 +03:00
kubectl-binaries.tsx 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
kubernetes-preferences-route-component.injectable.ts Technical requirements for behavioural unit tests (#5084) 2022-03-31 16:57:05 +03:00
kubernetes.tsx Stop using HelmCli from Renderer (#4861) 2022-06-13 11:42:53 +03:00
preferences.scss Shorten license header to reduce amount of clutter in top of the files (#4709) 2022-01-18 10:18:10 +02:00
preferences.tsx Technical requirements for behavioural unit tests (#5084) 2022-03-31 16:57:05 +03:00
proxy-preferences-route-component.injectable.ts Technical requirements for behavioural unit tests (#5084) 2022-03-31 16:57:05 +03:00
proxy.tsx 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
removable-item.module.scss using both sass + modules + tailwind (optional) (#4604) 2021-12-23 12:29:36 +02:00
removable-item.tsx Stop using HelmCli from Renderer (#4861) 2022-06-13 11:42:53 +03:00
sentry-dns-url.injectable.ts Technical requirements for behavioural unit tests (#5084) 2022-03-31 16:57:05 +03:00
telemetry-preference-items.injectable.ts Technical requirements for behavioural unit tests (#5084) 2022-03-31 16:57:05 +03:00
telemetry-preferences-route-component.injectable.ts Technical requirements for behavioural unit tests (#5084) 2022-03-31 16:57:05 +03:00
telemetry.tsx 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
terminal-preferences-route-component.injectable.ts Technical requirements for behavioural unit tests (#5084) 2022-03-31 16:57:05 +03:00
terminal.tsx Custom terminal fonts support (#5414) 2022-06-06 18:03:12 +03:00