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

663 Commits

Author SHA1 Message Date
Jari Kolehmainen
3f518ef452 Fix huawei distro detect (#1819)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-23 12:03:25 +02:00
Jari Kolehmainen
dfffb27f68 Optimise Cluster.getAllowedResources() (#1830)
* optimise Cluster.getAllowedResources()

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

* make it faster (max 5 concurrent requests)

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-22 16:23:13 +02:00
Roman
bd1ed27619 Fix: missing dependent types for Select and Slider components (#1828)
* Types for Select and Slider components are not fully exported, fix #1824

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

* remove unused @types/material-ui package

Signed-off-by: Roman <ixrock@gmail.com>
2020-12-22 16:23:02 +02:00
Jari Kolehmainen
0c4c98e206 Fix namespace store subscribe (#1826)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-22 14:16:04 +02:00
Lauri Nevala
75bf5b6dd6 Parse jsonPath expressions (#1793)
* Fix jsonPath calls by removing \ characters and using $..[] notation

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

* Parse jsonPath properly

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

* Cleanup

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

* More cleanup

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

* Improve parsing

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

* Finetuning

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

* Stringify children only if value is object or array

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

* Test other escaped characters do not cause issues

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-12-22 14:15:57 +02:00
Jari Kolehmainen
c7371d4cf1 Render node list before metrics are available (#1827)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-22 14:15:49 +02:00
Jari Kolehmainen
d682c3b91f Fix proxy retry counter cleanup on success (#1825)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-22 14:15:37 +02:00
Jari Kolehmainen
404ad80242 Kube state metrics 1.9.7 (#1821)
* kube-state-metrics v1.9.7

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

* bump metrics-cluster-feature version

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-22 14:15:26 +02:00
Alex Andreev
fa5fe9e617 Fix: expand/collapse state for CRD sidebar items (#1751)
* Moving SidebarNavItem component to its own file

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

* Using id prop to preserve expanding state

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-12-22 14:15:15 +02:00
Jari Kolehmainen
48188be37b
Merge pull request #1808 from lensapp/release/v4.0.4
Release v4.0.4
2020-12-18 16:25:45 +02:00
Jari Kolehmainen
55b1fa6e8e v4.0.4
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-18 15:07:23 +02:00
Jari Kolehmainen
73e344f05e 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:04:00 +02:00
Jari Kolehmainen
b827a6470f Bundle kubectl v1.17.15 (#1800)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-18 14:34:36 +02:00
Jari Kolehmainen
b352fe7c0c Fix MacOS error on shutdown (#1798)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-18 14:34:28 +02:00
Lauri Nevala
9d28c229db Fix Azure distribution detection (#1795)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-12-18 14:34:18 +02:00
Jari Kolehmainen
1482e9741f Fix Openshift distribution detector (#1792)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-18 14:34:10 +02:00
nyako
78b9c9b365 fix "not valid as a React child" error while display crds with column which type is object (#1772)
Signed-off-by: liuhongyu <lhy990409@gmail.com>
2020-12-18 14:33:57 +02:00
Sebastian Malton
ea860fe5af use remote.app if app is not defined (#1785)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2020-12-18 14:33:39 +02:00
Jari Kolehmainen
3313579d38
Merge pull request #1778 from lensapp/release/v4.0.3
Release v4.0.3
2020-12-15 17:22:27 +02:00
Jari Kolehmainen
28e69c0ed1 v4.0.3
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-15 14:18:59 +02:00
Jari Kolehmainen
40b7cf81d4 Install in-tree extensions before others (#1782)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-15 14:15:54 +02:00
Jari Kolehmainen
6940d7face Metrics-cluster-feature: bundle semver package (#1781)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-15 14:15:46 +02:00
pauljwil
402c28d25a Reworked Extension Guides (#1727)
Edited and reworked content in the Extension Guides Overview and the Generator and Main Extension guides.

Signed-off-by: Paul Williams <pawilliams@mirantis.com>

Update docs/extensions/guides/main-extension.md

Co-authored-by: Panu Horsmalahti <panu.horsmalahti@iki.fi>

Update docs/extensions/guides/generator.md

Co-authored-by: chh <1474479+chenhunghan@users.noreply.github.com>
Signed-off-by: Paul Williams <pawilliams@mirantis.com>

Co-authored-by: Paul Williams <pawilliams@mirantis.com>
Co-authored-by: chh <1474479+chenhunghan@users.noreply.github.com>
2020-12-15 08:48:31 +02:00
Panu Horsmalahti
2512598c79 Display error dialog if extensions couldn't be loaded (#1752)
* Display error dialog if extensions couldn't be loaded
* Reject npm install on failure using the process exit code

Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
2020-12-15 08:47:26 +02:00
Jari Kolehmainen
0c85918642 Ensure only one app instance (#1742)
* force only one app instance

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

* fix

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-15 08:46:55 +02:00
Jari Kolehmainen
9494933e4a
Merge pull request #1754 from lensapp/release/v4.0.2
Release v4.0.2
2020-12-11 18:30:21 +02:00
Jari Kolehmainen
0996c9a9ee v4.0.2
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-11 15:02:27 +02:00
Alex Andreev
1317a62650 ClusterOverview page refactorings (#1696)
* ClusterOverview page refactorings

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

* Minor test fix for MainLayoutHeader

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

* Replacing class name in tests

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

* Remove unnecessary parenthesis

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-12-11 14:29:53 +02:00
Lauri Nevala
0388c68f4f Ensure telemetry report is sent on extensions start (#1753)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-12-11 14:12:25 +02:00
Jari Kolehmainen
69e5edd6f2 Use correct apiversion for HPA details (#1745)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-11 14:11:26 +02:00
Jari Kolehmainen
eb7703f389 Fix buggy node metrics/chart (#1748)
* fix buggy node metrics/chart

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

* fix linter error

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-11 14:11:15 +02:00
Alex Andreev
d620aa6722 Replace cronjob api version to batch/v1beta1 (#1747)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-12-11 14:10:58 +02:00
Violetta
1f624147ca Fix Deployment Scale Button "minus" (#1728)
Signed-off-by: vshakirova <vshakirova@mirantis.com>
2020-12-11 14:08:22 +02:00
Panu Horsmalahti
d128219328 Remove symlink on extension install and manual runtime uninstall (#1718)
* Remove broken symlink on extension install

Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>

* Remove broken symlink on manual uninstall during runtime

Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
2020-12-11 14:07:51 +02:00
Alex Andreev
c113a6030e Fixing logs autoscroll behavior (#1720)
* Fixing autoscroll behavior

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

* Making statement simpler to read

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-12-11 13:22:09 +02:00
Jari Kolehmainen
c76f6a79e8
Merge pull request #1715 from lensapp/release/v4.0.1
Release v4.0.1
2020-12-09 12:22:26 +02:00
Jari Kolehmainen
fc5c42c807 v4.0.1
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-09 09:42:39 +02:00
Jari Kolehmainen
f5e331e706 Do not call initMainWindow if windowManager is not ready (#1714)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-09 09:38:49 +02:00
Panu Horsmalahti
25deade770 Remove broken symlink from node_modules on uninstall (#1695)
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
2020-12-09 09:38:49 +02:00
Panu Horsmalahti
eed539d8d8 Add check to extension file watch (#1677)
* Add check to extension file watch

Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>

* Fix tests

Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>

* Fix tests on Windows.

Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>

* Add logging for Windows test debugging purposes.

Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>

* Try to fix tests on Windows again.

Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
2020-12-09 09:38:49 +02:00
pashevskii
da41370486 Fix status brick in pod-menu-extension (#1698)
Signed-off-by: Pavel Ashevskii <pashevskii@mirantis.com>
2020-12-09 09:38:49 +02:00
Jari Kolehmainen
36031d222f Query all objects using single api call if admin and namespace list is not overridden (#1692)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-09 09:38:49 +02:00
Jari Kolehmainen
2c25e1ee13 Register cluster page component properly to a route (#1688)
* remove observer from app class

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

* proper fix

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-09 09:38:49 +02:00
Jim Ehrismann
0bfdb97ea0 extension store guide (#1663)
* extension store guide

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

* improve docs as per reviews and rereading

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

* more doc tweaks

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2020-12-09 09:38:49 +02:00
Jari Kolehmainen
33c0e2e74e
Release v4.0.0 (#1671)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-07 16:13:05 +02:00
Jari Kolehmainen
01af4b7590
Write up on some ways to publish extensions (#1660) (#1674)
* write up on some ways to publish extensions

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

* tweak text

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

Co-authored-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

Co-authored-by: Sebastian Malton <sebastian@malton.name>
2020-12-07 14:57:03 +02:00
Jari Kolehmainen
b10f3fa4a1
Merge pull request #1673 from lensapp/release/v4.0-doc-update
[Release/v4.0] cherry-pick doc updates
2020-12-07 14:12:25 +02:00
Jari Kolehmainen
2e2220cb60 Tag cluster & workspace as beta features in extension api (#1589)
* mark cluster & workspace as beta

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

* back to public

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-07 13:40:41 +02:00
Lauri Nevala
a5b3106946 Add initial KubeObjectListLayout sample (#1662)
* Add initial KubeObjectListLayout sample

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

* Fine tuning

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

* Fix typos

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-12-07 13:40:31 +02:00
Lauri Nevala
9c5fdb4506 Initial FAQ docs (#1667)
* Initial FAQ docs

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

* Fix typos

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-12-07 13:40:22 +02:00