1
0
mirror of https://github.com/lensapp/lens.git synced 2024-09-20 13:57:23 +03:00
Commit Graph

711 Commits

Author SHA1 Message Date
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
dependabot[bot]
9be17582f7
Bump circular-dependency-plugin from 5.2.0 to 5.2.2 (#1656)
Bumps [circular-dependency-plugin](https://github.com/aackerman/circular-dependency-plugin) from 5.2.0 to 5.2.2.
- [Release notes](https://github.com/aackerman/circular-dependency-plugin/releases)
- [Changelog](https://github.com/aackerman/circular-dependency-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aackerman/circular-dependency-plugin/commits)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-07 14:13:59 -05: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
dependabot[bot]
8c70e055ee
Bump node-notifier from 8.0.0 to 8.0.1 in /extensions/node-menu (#1835)
Bumps [node-notifier](https://github.com/mikaelbr/node-notifier) from 8.0.0 to 8.0.1.
- [Release notes](https://github.com/mikaelbr/node-notifier/releases)
- [Changelog](https://github.com/mikaelbr/node-notifier/blob/v8.0.1/CHANGELOG.md)
- [Commits](https://github.com/mikaelbr/node-notifier/compare/v8.0.0...v8.0.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-30 16:54:57 +02:00
dependabot[bot]
30d86236b4
Bump node-notifier from 8.0.0 to 8.0.1 in /extensions/telemetry (#1836)
Bumps [node-notifier](https://github.com/mikaelbr/node-notifier) from 8.0.0 to 8.0.1.
- [Release notes](https://github.com/mikaelbr/node-notifier/releases)
- [Changelog](https://github.com/mikaelbr/node-notifier/blob/v8.0.1/CHANGELOG.md)
- [Commits](https://github.com/mikaelbr/node-notifier/compare/v8.0.0...v8.0.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-30 16:54:39 +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
dependabot[bot]
6b9295267e
Bump node-notifier from 8.0.0 to 8.0.1 in /extensions/license-menu-item (#1837)
Bumps [node-notifier](https://github.com/mikaelbr/node-notifier) from 8.0.0 to 8.0.1.
- [Release notes](https://github.com/mikaelbr/node-notifier/releases)
- [Changelog](https://github.com/mikaelbr/node-notifier/blob/v8.0.1/CHANGELOG.md)
- [Commits](https://github.com/mikaelbr/node-notifier/compare/v8.0.0...v8.0.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-30 09:21:41 +02:00
dependabot[bot]
2f825407fa
Bump node-notifier from 8.0.0 to 8.0.1 in /extensions/example-extension (#1838)
Bumps [node-notifier](https://github.com/mikaelbr/node-notifier) from 8.0.0 to 8.0.1.
- [Release notes](https://github.com/mikaelbr/node-notifier/releases)
- [Changelog](https://github.com/mikaelbr/node-notifier/blob/v8.0.1/CHANGELOG.md)
- [Commits](https://github.com/mikaelbr/node-notifier/compare/v8.0.0...v8.0.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-30 09:21:14 +02:00
dependabot[bot]
5d0308bdbc
Bump node-notifier from 8.0.0 to 8.0.1 in /extensions/pod-menu (#1839)
Bumps [node-notifier](https://github.com/mikaelbr/node-notifier) from 8.0.0 to 8.0.1.
- [Release notes](https://github.com/mikaelbr/node-notifier/releases)
- [Changelog](https://github.com/mikaelbr/node-notifier/blob/v8.0.1/CHANGELOG.md)
- [Commits](https://github.com/mikaelbr/node-notifier/compare/v8.0.0...v8.0.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-30 09:20:56 +02:00
dependabot[bot]
da260ed879
Bump node-notifier in /extensions/metrics-cluster-feature (#1840)
Bumps [node-notifier](https://github.com/mikaelbr/node-notifier) from 8.0.0 to 8.0.1.
- [Release notes](https://github.com/mikaelbr/node-notifier/releases)
- [Changelog](https://github.com/mikaelbr/node-notifier/blob/v8.0.1/CHANGELOG.md)
- [Commits](https://github.com/mikaelbr/node-notifier/compare/v8.0.0...v8.0.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-30 09:20:38 +02: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
Jari Kolehmainen
fa94773bf3
Electron 9.4.0 (#1799)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-29 17:42:01 +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
Jari Kolehmainen
b7d97e6b5b
Helm 3.4.2 (#1801)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-29 17:16:15 +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
2b78794000
Prometheus v2.19.3 (#1868)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-29 17:10:57 +02:00
Jari Kolehmainen
e2653295d9
Metrics-cluster-feature: scrape only lens-metrics namespace (#1867)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-29 17:10:37 +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
pashevskii
a325ffd610
Clear Add Namespace and Add secret form data on close (#1771)
Signed-off-by: Pavel Ashevskii <pashevskii@mirantis.com>
2020-12-28 12:20:33 +03:00
Mario Sarcher
00c2c2c3c9
Catch HTTP Errors in case pod metrics resources do not exist or access is forbidden (#1755)
Signed-off-by: Mario Sarcher <msarcher@mirantis.com>

Add proper error message when catching a error during loadKubeMetrics()

Co-authored-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Mario Sarcher <msarcher@mirantis.com>

Co-authored-by: Mario Sarcher <msarcher@mirantis.com>
Co-authored-by: Sebastian Malton <sebastian@malton.name>
2020-12-28 11:06:16 +02:00
pashevskii
21e6616cc0
Export wizard components (#1784)
Signed-off-by: Pavel Ashevskii <pashevskii@mirantis.com>
2020-12-28 11:01:56 +02:00
Lauri Nevala
2643f9939b
Unify Age column output with kubectl (#1822)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-12-28 09:32:20 +02:00
Lauri Nevala
ffa48b32d1
Check is persistent volume claims resource to allowed for user (#1850)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-12-28 08:08:11 +02:00
Lauri Nevala
e8dc4d2465
Fix k0s distribution detection (#1849)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-12-28 08:07:45 +02:00
Alex Andreev
eb5a775a2d
Preserving line breaks when copiyng logs (#1851)
* Adding line break after log each log line

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

* Adding comment for line break

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-12-23 15:20:57 +03:00
Jari Kolehmainen
206c040ae9
Fix alibaba distro detect (#1818)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

Co-authored-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-12-23 13:13:42 +02:00
Jari Kolehmainen
09fc7c5f39
Fix tencent distribution detect (#1816)
* fix tencent distribution detect

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

* Change method orders to avoid conflicts

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

Co-authored-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-12-23 13:12:44 +02:00
Jari Kolehmainen
206c88ea52
Fix vmware distro detect (#1817)
* fix vmware distro detect

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

* Change method orders to avoid conflicts

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

Co-authored-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-12-23 13:12:25 +02:00
Jari Kolehmainen
bfa4970389
Workloads overview: don't block on store load (#1829)
* workloads overview: don't block on store load

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

* subscribe after loadAll

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-23 13:12:05 +02:00
Lauri Nevala
5b5dd335e7
Fix Kubectl 1.18 version in version map (#1846)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-12-23 11:58:32 +02:00
Jari Kolehmainen
99c8025cb7
Disable oh-my-zsh auto-update prompt when resolving shell environment (#1848)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-23 11:58:15 +02:00
Jari Kolehmainen
75c70a1141
Fix extension loader race conditions (#1815)
* fix extension loader race conditions

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

* cleanup

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

* fix tests

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

* fix remove

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

* ensure symlinked (dev) extensions are installed on boot

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-23 11:56:11 +02:00
Alex Andreev
507c485113
Fixing logs scrolling state (#1847)
* Passing raw logs to PodLogs child components

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

* Avoid autoscrolling while user is scrolling

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

* Removing status panel from log controls

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-12-23 11:51:43 +03:00
Jari Kolehmainen
90da642b8a
Add kubectl v1.20 to version map (#1809)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-23 08:51:47 +02:00
Jari Kolehmainen
f834c7a61b
Fix huawei distro detect (#1819)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-23 08:30:48 +02:00
Miska Kaipiainen
e5967c0700
Update intro video links (#1842)
* update intro video links

* update video link on docs
2020-12-22 19:58:57 +02:00
Jari Kolehmainen
24b5d2dff9
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:09:52 +02:00
Roman
be4e1aa15c
Navigation refactoring, handling extension page params (#1651)
* decentralizing page url-params management -- PoC / tsc 4.1 random fixes

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

* fixes, tweak example-extension for demo

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

* lint fixes, revert tests

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

* removed occasional changes related to typescript 4.1

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

* updated example with 2 menu-items targeting same page with different params

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

* fix: merge page url chunks with native URL()-api, simplified default page-params registration

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

* fix: make lint happy

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

* fix: unit-tests

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

* renaming by jim's request: UrlParam => PageParam (type), createUrlParam => createPageParam (helper)

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

* fix: reverting NamespaceStore public-api breaking changes

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

* lint fix

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

* fine-tuning

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

* yes, lint always unhappy

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

* fix build

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

* small fixes

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

* fix merge-conflicts

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

* removed `isSystem` page-param's init field exposed to extensions-api

Signed-off-by: Roman <ixrock@gmail.com>
2020-12-22 15:29:25 +02:00
Lauri Nevala
11c611dabe
Display node column in pods list (#1832)
* Display node column in pods list

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

* Adding flat option to <Badge />

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

* Removing <Span /> component

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

* Using badge with tooltips in pods list

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

Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-12-22 15:45:30 +03:00