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

477 Commits

Author SHA1 Message Date
Roman
6b7678a7a1 Merge branch 'load_resources_per_namespaces' into fix-1898/watch-api-streaming 2021-01-19 17:45:53 +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
34d8fa4c69 Merge branch 'master' into fix-1898/watch-api-streaming 2021-01-18 14:22:36 +02:00
Roman
6cdf21e44b fixes & refactoring
Signed-off-by: Roman <ixrock@gmail.com>
2021-01-15 16:35:47 +02:00
Lauri Nevala
0117cecc33
Prevent initializing clusters multiple times (#1950)
* Prevent initializing clusters multiple times

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>

* Do not expose intializing to cluster state

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>

* Convert initializing to observable and ensure it is set to false after init

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2021-01-15 16:11:41 +02:00
Alex Andreev
83ed44f670
Adding logs tab bottom toolbar (#1951)
* Adding bottom toolbar to logs tab

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Making bottom toolbar responsive

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Using generic search input clear button

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Fixing log test selectors

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-01-15 11:34:11 +03:00
Roman
4086b8d603 Merge branch 'load_resources_per_namespaces' into fix-1898/watch-api-streaming 2021-01-14 20:52:18 +02:00
Roman
31f1ebca61 fix: loading namespaces optimizations
Signed-off-by: Roman <ixrock@gmail.com>
2021-01-14 20:43:17 +02:00
Roman
a93d6ee123 Merge branch 'load_resources_per_namespaces' into fix-1898/watch-api-streaming 2021-01-14 15:48:59 +02:00
Roman
cc8897e6e7 added new cluster method: cluster.isAllowedResource
Signed-off-by: Roman <ixrock@gmail.com>
2021-01-14 15:19:06 +02:00
Roman
da3aa618d7 reset store on loading error
Signed-off-by: Roman <ixrock@gmail.com>
2021-01-14 14:51:56 +02:00
Roman
76ee3656a2 Merge remote-tracking branch 'origin/master' into load_resources_per_namespaces
# Conflicts:
#	src/common/rbac.ts
2021-01-14 14:06:26 +02:00
Violetta
c48816ca5c
Add support for LimitRange (#1796)
Signed-off-by: vshakirova <vshakirova@mirantis.com>
2021-01-14 11:49:39 +03:00
Roman
195f911342 Merge branch 'load_resources_per_namespaces' into fix-1898/watch-api-streaming 2021-01-13 18:33:13 +02:00
Roman
0b1ceb9c0b make lint happy
Signed-off-by: Roman <ixrock@gmail.com>
2021-01-13 18:31:32 +02:00
Roman
ff89638787 Merge remote-tracking branch 'origin/master' into load_resources_per_namespaces
# Conflicts:
#	src/renderer/components/item-object-list/item-list-layout.tsx
2021-01-13 18:24:58 +02:00
Roman
5a76c2f331 fixes & refactoring
Signed-off-by: Roman <ixrock@gmail.com>
2021-01-13 18:23:15 +02:00
pashevskii
12c538b0eb
Column filters (#1532)
* Column filters

Signed-off-by: Pavel Ashevskii <pashevskii@mirantis.com>

* Add showWithColumn property

Signed-off-by: Pavel Ashevskii <pashevskii@mirantis.com>
2021-01-13 10:38:20 +03: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
4a8079debc chore / small fixes
Signed-off-by: Roman <ixrock@gmail.com>
2021-01-12 13:44:55 +02:00
Jari Kolehmainen
11595abc93
Fix fill the gaps logic in normalize metrics (#1940)
* fix fill the gaps logic in normalize metrics

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

* fix

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

* fix

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-01-12 12:01:06 +02:00
Alex Andreev
b1ab31831f
Fixing multiline logs wrapping (#1938)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-01-12 09:50:35 +03:00
Roman
62e0f575c7 fixes / responding to comments
Signed-off-by: Roman <ixrock@gmail.com>
2021-01-11 15:10:11 +02:00
Alex Andreev
131a6fb410
Getting api by kind when editing an object (#1936)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-01-11 15:43:13 +03:00
Roman
b547541ea8
fix: events pages renders incorrect tooltip as non-parsed template (#1919)
Signed-off-by: Roman <ixrock@gmail.com>
2021-01-08 17:01:23 +02:00
Jari Kolehmainen
da2cc70141
Fix windows tray icon click (#1908)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-01-08 16:44:33 +02:00
Sebastian Malton
3fc552a466
remove array desctructor of Object.values, which is brittle (#1854)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-01-08 09:41:30 -05: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
02bc210f56
Catch xtermjs fit error (#1907)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-01-07 13:06:23 +02:00
MIchael Bowen
2543e4aec7
Fix encoding typo in ClusterAccessibleNamespaces component title (#1901)
Signed-off-by: mbowen <mbowen@blackrock.com>
2021-01-07 09:00:32 +02:00
Hannes Wüthrich
c4eb9ba39a
Fix typo in prometheus ingress metrics (#1896)
Signed-off-by: Hannes Wüthrich <hannes.wuethrich@zebbra.ch>
2021-01-07 07:29:12 +02:00
Jari Kolehmainen
8823b1913f
Reset stores before loading them (#1897)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-01-07 07:25:00 +02:00
Lauri Nevala
8d2d1aecd5
Expose NamespaceSelect component to extensions (#1880)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2021-01-05 10:52:46 +02:00
Jari Kolehmainen
06d41acc26
Fix Electron 9.4 frame ipc bug (#1888)
* use pid+frameId

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

* use correct process id

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-01-04 14:16:35 +02:00
Sebastian Malton
981ca3ba3d
add version display to extensions (#1604)
* add version display to extensions

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

* use new format

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

* fix styling

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2020-12-30 10:47:22 +03:00
Alex Andreev
e9296286bd
Fix long list cropping in sidebar (#1877)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-12-30 09:14:01 +02:00
Lauri Nevala
4cb2943ef0
Share react-router and react-router-dom libraries to extensions (#1879)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-12-30 09:13:18 +02:00
Roman
b8752f7127
Don't open Lens at OS login by default, close #1697 (#1859)
Signed-off-by: Roman <ixrock@gmail.com>
2020-12-30 01:56:46 +02:00
Violetta
fd63f2f4e3
Add suspend/resume button for CronJobs (#1860)
Signed-off-by: vshakirova <vshakirova@mirantis.com>
2020-12-29 17:19:23 +02:00
Alex Andreev
819811e3e6
Disabling GPU acceleration by setting env variable (#1870)
* Disabling GPU by setting env variable

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Moving fuzzy bug description into docs FAQ

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Fix lint error

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-12-29 17:11:18 +02:00
Jari Kolehmainen
a03da3c572
Remove lingui (#1874)
* remove lingui

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

* babelless

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

* tweak ts-loader options

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

* tweak renderer webpack config

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-29 14:53:34 +02:00
Alex Andreev
050603a7b3
Applying dark colors to dock regardless of active theme (#1873)
* Appliying dark colors on dock contents

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Fix lint error

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-12-29 13:54:22 +03:00
Lauri Nevala
cfbe4219d5
Show toolitp for node name in the nodes list (#1841)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-12-29 09:22:44 +02:00
Alex Andreev
5d746cdff5
Dock tabs context menu (#1863)
* Adding context menu to dock tabs

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Allowing to open menu by contextmenu event

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Adding DockTab tests with fine-tuning jest config

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Adding disable state to menu items

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Removing empty lines

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Moving jest-canvas-mock to dev dependencies

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-12-28 15:18:03 +03:00