1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
lens/src/renderer/components/layout
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
..
__test__ enfore unix line endings and always ending files with line endings (#1997) 2021-01-21 08:09:41 -05:00
login-layout.scss Lens restructure (#540) 2020-06-30 14:35:16 +03:00
login-layout.tsx enfore unix line endings and always ending files with line endings (#1997) 2021-01-21 08:09:41 -05:00
main-layout-header.tsx Remove lingui (#1874) 2020-12-29 14:53:34 +02:00
main-layout.scss Adding cluster settings icon into dashboard (#1672) 2020-12-08 10:31:58 +03:00
main-layout.tsx Adding cluster settings icon into dashboard (#1672) 2020-12-08 10:31:58 +03:00
page-layout.scss Set scrollbar colors as global styles (#1484) 2020-11-25 10:25:37 +03:00
page-layout.tsx Add eslint rule padding-line-between-statements (#1593) 2020-12-02 09:55:52 +02:00
sidebar-context.ts enfore unix line endings and always ending files with line endings (#1997) 2021-01-21 08:09:41 -05:00
sidebar-nav-item.scss Fix long list cropping in sidebar (#1877) 2020-12-30 09:14:01 +02:00
sidebar-nav-item.tsx Fix: expand/collapse state for CRD sidebar items (#1751) 2020-12-18 15:42:10 +02:00
sidebar.scss Fix: expand/collapse state for CRD sidebar items (#1751) 2020-12-18 15:42:10 +02:00
sidebar.tsx Refactor watches to use native k8s api (#2095) 2021-02-09 15:31:15 +02:00
sub-header.scss Lens restructure (#540) 2020-06-30 14:35:16 +03:00
sub-header.tsx Add eslint rule padding-line-between-statements (#1593) 2020-12-02 09:55:52 +02:00
sub-title.scss Lens restructure (#540) 2020-06-30 14:35:16 +03:00
sub-title.tsx Add eslint rule padding-line-between-statements (#1593) 2020-12-02 09:55:52 +02:00
tab-layout.scss Set scrollbar colors as global styles (#1484) 2020-11-25 10:25:37 +03:00
tab-layout.tsx Add eslint rule padding-line-between-statements (#1593) 2020-12-02 09:55:52 +02:00
wizard-layout.scss Set scrollbar colors as global styles (#1484) 2020-11-25 10:25:37 +03:00
wizard-layout.tsx Add eslint rule padding-line-between-statements (#1593) 2020-12-02 09:55:52 +02:00