1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
lens/src/renderer
Jari Kolehmainen 035dd470ef
Refactor watches to use native k8s api (#2095)
* fix lint

Signed-off-by: Roman <ixrock@gmail.com>

* fixes & refactoring

Signed-off-by: Roman <ixrock@gmail.com>

* fix lint, micro-refactoring

Signed-off-by: Roman <ixrock@gmail.com>

* more refactoring, clean up, responding to comments

Signed-off-by: Roman <ixrock@gmail.com>

* fix: remove extra check for cluster.allowedApi from processing buffered watch-api events

Signed-off-by: Roman <ixrock@gmail.com>

* refactoring, detaching NamespaceStore from KubeObjectStore

Signed-off-by: Roman <ixrock@gmail.com>

* fix: wait for contextReady in NamespaceStore

Signed-off-by: Roman <ixrock@gmail.com>

* refactoring & fixes

Signed-off-by: Roman <ixrock@gmail.com>

* fix lint

Signed-off-by: Roman <ixrock@gmail.com>

* fixes: reloading context stores on NamespaceSelect-change

Signed-off-by: Roman <ixrock@gmail.com>

* optimize loading all resources when "all namespaces" selected -> single request per resource (when have rights)

Signed-off-by: Roman <ixrock@gmail.com>

* use native k8s api watches

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* retry watch when it makes sense

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* workaround for browser connection limits

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* cleanup

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* cleanup

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* use always random subdomain for getResponse

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* resubscribe stores on contextNamespace change

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* fix

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* modify watch event before calling callback

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

Co-authored-by: Roman <ixrock@gmail.com>
2021-02-09 15:31:15 +02:00
..
api Refactor watches to use native k8s api (#2095) 2021-02-09 15:31:15 +02:00
components Refactor watches to use native k8s api (#2095) 2021-02-09 15:31:15 +02:00
fonts Extension support page (#1112) 2020-10-24 09:24:54 +03:00
hooks enfore unix line endings and always ending files with line endings (#1997) 2021-01-21 08:09:41 -05:00
navigation enfore unix line endings and always ending files with line endings (#1997) 2021-01-21 08:09:41 -05:00
themes Fixing log tab layout colors (#1995) 2021-01-21 10:38:49 +03:00
utils enfore unix line endings and always ending files with line endings (#1997) 2021-01-21 08:09:41 -05:00
bootstrap.tsx Share react-router and react-router-dom libraries to extensions (#1879) 2020-12-30 09:13:18 +02:00
item.store.ts Refactor watches to use native k8s api (#2095) 2021-02-09 15:31:15 +02:00
kube-object.store.ts Refactor watches to use native k8s api (#2095) 2021-02-09 15:31:15 +02:00
lens-app.tsx Initial command palette feature (#1957) 2021-02-02 12:34:13 +02:00
template.html Migrating Vue components to React and stores refactoring (#585) 2020-08-20 08:53:07 +03:00
theme.store.ts Add eslint rule padding-line-between-statements (#1593) 2020-12-02 09:55:52 +02:00