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

33 Commits

Author SHA1 Message Date
Roman
e0e1b78840 clean up / make kubeWatchApi.init() as setter
Signed-off-by: Roman <ixrock@gmail.com>
2021-01-29 14:41:18 +02:00
Roman
219852dce1 Merge branch 'fix-1898/watch-api-streaming' into fix/store.loadAll
# Conflicts:
#	src/renderer/api/kube-watch-api.ts
2021-01-28 19:20:33 +02:00
Roman
fbfe5673a7 clean up
Signed-off-by: Roman <ixrock@gmail.com>
2021-01-28 19:18:08 +02:00
Roman
5ef42f603e clean up
Signed-off-by: Roman <ixrock@gmail.com>
2021-01-28 19:05:28 +02:00
Roman
386aebf98a refactoring, clean up
Signed-off-by: Roman <ixrock@gmail.com>
2021-01-28 18:54:22 +02:00
Roman
4de50d6083 Merge branch 'fix-1898/watch-api-streaming' into fix/store.loadAll
# Conflicts:
#	src/renderer/api/kube-watch-api.ts
2021-01-28 17:47:26 +02:00
Roman
bbf9b7af32 kubeWatchApi refactoring / fine-tuning
Signed-off-by: Roman <ixrock@gmail.com>
2021-01-28 17:45:48 +02:00
Roman
70daac0074 detach namespace-store from kube-watch-api.ts, preload all namespaces by default with store.loadAll
Signed-off-by: Roman <ixrock@gmail.com>
2021-01-27 18:48:38 +02:00
Roman
03794e6c38 refactoring / clean up
Signed-off-by: Roman <ixrock@gmail.com>
2021-01-26 14:51:35 +02:00
Roman
8f80c0ca45 split concurrent watch-api requests by 10 at a time + 150ms delay before next call
Signed-off-by: Roman <ixrock@gmail.com>
2021-01-25 18:33:43 +02:00
Roman
acd8940e0d check connection every 5m
Signed-off-by: Roman <ixrock@gmail.com>
2021-01-25 15:08:04 +02:00
Roman
14a0c9cdca auto-reconnect on online/offline status change, interval connection check
Signed-off-by: Roman <ixrock@gmail.com>
2021-01-25 14:52:22 +02:00
Roman
632e77b263 store subscribing refactoring -- part 4
Signed-off-by: Roman <ixrock@gmail.com>
2021-01-25 13:34:57 +02:00
Roman
b690a27ebe store subscribing refactoring -- part 3
Signed-off-by: Roman <ixrock@gmail.com>
2021-01-23 20:31:11 +02:00
Roman
1f4599ee50 store subscribing refactoring -- part 2
Signed-off-by: Roman <ixrock@gmail.com>
2021-01-22 14:08:42 +02:00
Roman
3e005fc611 store subscribing refactoring -- part 1
Signed-off-by: Roman <ixrock@gmail.com>
2021-01-21 18:48:17 +02:00
Roman
9b031b7c68 fix: parse json stream chunks at client-side (might be partial, depends on network speed)
Signed-off-by: Roman <ixrock@gmail.com>
2021-01-19 17:29:03 +02:00
Roman
3a3bd26fbe fine-tuning
Signed-off-by: Roman <ixrock@gmail.com>
2021-01-18 17:25:22 +02:00
Roman
1a3a215118 fix: mobx issue with accessing empty observable array by index (removes warning), use common logger
Signed-off-by: Roman <ixrock@gmail.com>
2021-01-18 16:25:57 +02:00
Roman
de4226a24a fix: parse multiple kube-events from stream's chunk
Signed-off-by: Roman <ixrock@gmail.com>
2021-01-18 15:15:04 +02:00
Roman
6dcb48da1a Watch api does not work for non-admins with lots of namespaces #1898 -- part 1
Signed-off-by: Roman <ixrock@gmail.com>
2021-01-12 19:44:48 +02:00
Roman
ddf45c2025 fixes
Signed-off-by: Roman <ixrock@gmail.com>
2021-01-08 14:31:31 +02:00
Roman
51bdfc131b loading k8s resources into stores per selected namespaces -- part 3
Signed-off-by: Roman <ixrock@gmail.com>
2021-01-08 13:54:34 +02:00
Roman
f71829ff14 loading k8s resources into stores per selected namespaces -- part 2
- fix: generating helm chart id

Signed-off-by: Roman <ixrock@gmail.com>
2021-01-07 22:37:23 +02:00
Roman
47bea52160 loading k8s resources into stores per selected namespaces -- part 1
Signed-off-by: Roman <ixrock@gmail.com>
2021-01-07 17:34:10 +02:00
Jari Kolehmainen
6fe5bfae5c
Generate metadata.selfLink if response does not have it (#1804)
* generate metadata.selfLink if response does not have it

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

* fix watches

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

* cleanup

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

* fix

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-18 15:03:04 +02:00
Panu Horsmalahti
dcf253e7d5
Add eslint rule padding-line-between-statements (#1593)
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
2020-12-02 09:55:52 +02:00
Panu Horsmalahti
335778aeef
Enforce template strings in eslint (#1574)
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
2020-11-30 15:35:16 +02:00
Sebastian Malton
7451869c25
add no-unused and react/recommended to eslint (#1523)
* add no-unused-vars and no-unused-imports

* added quotes: double, and remove ignore pattern

* move itif and describeif into utils

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2020-11-27 08:48:38 -05:00
Panu Horsmalahti
1477bb8274 Enforce semicolons in eslint
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
2020-11-19 16:35:04 +02:00
Jari Kolehmainen
c7f77a01f9
Fix UI staleness after network issues (#1192)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-11-02 14:51:04 +02:00
Roman
5670312c47
Migrating Vue components to React and stores refactoring (#585)
Signed-off-by: Roman <ixrock@gmail.com>

Co-authored-by: Sebastian Malton <sebastian@malton.name>
Co-authored-by: Sebastian Malton <smalton@mirantis.com>
Co-authored-by: Lauri Nevala <lauri.nevala@gmail.com>
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-08-20 08:53:07 +03:00
Roman
b7974827d2
Lens restructure (#540)
Signed-off-by: Roman <ixrock@gmail.com>
2020-06-30 14:35:16 +03:00