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

1970 Commits

Author SHA1 Message Date
Alex Andreev
f200005616 Convert CloseButton styles out from css modules (#4723)
* Convert CloseButton styles out from css modules

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

* Fix close button styling

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-01-19 16:50:00 -05:00
Sebastian Malton
4b71e02274 Fix crash for KubeObjectStore.loadAll() (#4675)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2022-01-19 11:30:56 -05:00
Sebastian Malton
745c9d2622 Fix CRD.getPreferedVersion() to work based on apiVersion (#4553)
* Fix CRD.getPreferedVersion() to work based on apiVersion

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

* Add tests

Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2022-01-19 11:30:56 -05:00
Lauri Nevala
35c8b76a95 Fix prometheus operator metrics work out of the box (#4617)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2022-01-19 11:30:56 -05:00
Alex Andreev
346f89d1f6 Fix close button overflow in Preferences (#4611)
* Adding basic colors to tailwind theme

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

* Using tailwind inline to style close button

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

* Make Select look similar to inputs

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

* Moving styles into separate module

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

* Convert tailwind commands to css

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2022-01-19 11:30:56 -05:00
Jari Kolehmainen
f1ec353a83 Less noisy metrics-not-available error logging (#4602)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2022-01-19 11:30:56 -05:00
Sebastian Malton
6ee62ba003 Replace all uses of promiseExec with promiseExecFile (#4514)
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2022-01-19 11:30:56 -05:00
Sebastian Malton
63dc363e32 Fix crash on NetworkPolicy when matchLabels is missing (#4500)
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2022-01-19 11:30:56 -05:00
Sebastian Malton
0fe446c0cc Fix extension engine range not working for some ^ ranges (#4554)
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2022-01-19 11:30:56 -05:00
Sebastian Malton
ab9a1a0ecc Fix not being able to clear set cluster icon (#4555)
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2022-01-19 11:30:56 -05:00
Sebastian Malton
c2f42aff0c Fix ERR_UNSAFE_PORT from LensProxy (#4558)
* Fix ERR_UNSAFE_PORT from LensProxy

- Use the current list of ports from chromium as it is much easier to
  just reject using one of those instead of trying to handle the
  ERR_UNSAFE_PORT laod error from a BrowserWindow.on("did-fail-load")

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

* Move all port handling into LensProxy

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

* don't use so many exceptions

Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2022-01-19 11:30:56 -05:00
Sebastian Malton
567d46991f Use electron.clipboard for all clipboard uses (#4535)
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2022-01-19 11:30:56 -05:00
Sebastian Malton
0a6bafc1be
Release/v5.3.3 (#4548)
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com>
Co-authored-by: Jim Ehrismann <40840436+jim-docker@users.noreply.github.com>
Co-authored-by: Mario Sarcher <mario@sarcher.de>
2021-12-14 15:44:04 -05:00
Sebastian Malton
e79e8eb76c
Release/v5.3.2 (#4479) 2021-12-02 09:01:29 -05:00
Sebastian Malton
63256dcaf9
Release/v5.3.1 (#4465)
Co-authored-by: Roman <ixrock@gmail.com>
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com>
Co-authored-by: Juho Heikka <juho.heikka@gmail.com>
Co-authored-by: Jan Jansen <farodin91@users.noreply.github.com>
2021-11-30 17:10:13 -05:00
Jari Kolehmainen
a007cbd9ce v5.3.0
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-11-25 09:10:06 +02:00
Jim Ehrismann
06a4979dbe
release v5.3.0-beta.4 (#4416)
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-11-25 09:08:01 +02:00
Jim Ehrismann
bc34045a4f
Revert "attempt to fix integration test inexplicably failing (2) (skip failing test)" (#4413)
This reverts commit 85f26d4660.

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-11-24 11:57:27 -05:00
Alex Andreev
0fe0b33c67
Fix cluster dropdown invisible overlay (#4411)
* Use setTimeout instead of unstable onTransitionEnd

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

* Remove clicking Disconnect after each test

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

* Fixing tests harder

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

* Clean up

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-11-24 18:52:35 +03:00
Panu Horsmalahti
0ca8448d33
Retry watch if timeout set, but request was not retried (#4388)
* Retry watch if timeout set, but request was not retried.

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

* Cancel current request if retried.

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

* Clarify retried variable/comment

Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
2021-11-24 15:56:01 +02:00
Jim Ehrismann
7d4a2a5735
Merge pull request #4407 from lensapp/release/v5.3.0-beta.3
release v5.3.0-beta.3
2021-11-24 08:32:53 -05:00
Jari Kolehmainen
820b2d1b7a
Revert "Broadcast cluster's disconnected state before stopping KubeAuthProxy (#4273)" (#4412)
This reverts commit 8081d35f9c.
2021-11-24 16:18:30 +03:00
Jim Ehrismann
09150216c8 release v5.3.0-beta.3
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-11-23 22:55:23 -05:00
Jim Ehrismann
85f26d4660 attempt to fix integration test inexplicably failing (2) (skip failing test)
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-11-23 22:55:23 -05:00
Sebastian Malton
5d172b89db
Cleanup Prometheus detection (#4316) 2021-11-23 14:34:45 -05:00
Sebastian Malton
8081d35f9c
Broadcast cluster's disconnected state before stopping KubeAuthProxy (#4273) 2021-11-23 14:34:37 -05:00
Sebastian Malton
8c9e3b2fdc
Fix cwd not being respected for local shells on windows (#4395) 2021-11-23 14:34:18 -05:00
Jari Kolehmainen
32dfc74aff
Add unit tests for BaseStore (#4404)
* fix possible race condition in BaseStore persistence

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

* cleanup variable names in tests

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

* remove async

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-11-23 19:41:16 +02:00
Sebastian Malton
7c5a0a9a6d
Improve local shell CWD setting (#4396) 2021-11-23 08:35:16 -05:00
Sebastian Malton
8f84f394fe
Fix all-or-nothing when initially loading extensions (#4384)
* Fix all-or-nothing when initially loading extensions

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

* Log error instead of displaying error box

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-11-22 20:30:47 -05:00
Sebastian Malton
78a4e2a126
Catch and display load errors for WorkloadsOverview (#4393) 2021-11-22 12:27:54 -05:00
Sebastian Malton
0e5fc65806
Fix race condition in LensViews.handleVisibleClusterChange (#4387) 2021-11-22 09:43:26 -05:00
Sebastian Malton
8a1faa3eb8
Fix windows AllUsers installs not updating correctly (#4390) 2021-11-19 14:35:55 -05:00
Jim Ehrismann
7f852c0b70
Fix kube rejecting lens-metrics installation (#4391)
Kube does not like 'B' suffix for resource requests values
2021-11-19 11:27:56 -05:00
Sebastian Malton
885af07d0b
Improve bootstrap logging for help with iframe debugging (#4020) 2021-11-18 16:54:43 -05:00
Jim Ehrismann
e779c7c317
release v5.3.0-beta.2 (#4381)
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-11-18 11:02:27 -05:00
Jari Kolehmainen
fe4a56ba59
Add keepalive option in JsonApi.getResponse (#4374)
* add keepalive option in JsonApi.getResponse

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

* cleanup

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-11-18 09:21:28 -05:00
Alex Andreev
4121672838
Fixing cluster dropdown focus state (#4377) 2021-11-18 09:09:31 -05:00
Alex Andreev
8bc936802b
Maximize window on topbar double click (#4379) 2021-11-18 09:08:53 -05:00
Roman
7b68c08dfe
update built-in extensions package-lock.json (#4368)
Signed-off-by: Roman <ixrock@gmail.com>
2021-11-18 15:04:44 +02:00
Alex Andreev
92e178a70d
Fix material icons flash on app load (#4378)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-11-18 15:48:12 +03:00
Sebastian Malton
994208b25a
Fix documentation around components examples (#4375) 2021-11-17 17:06:29 -05:00
Sebastian Malton
0f2801552f
Fix handling of PTYs when renderer is reloaded (#4346)
Co-authored-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-11-17 13:48:46 -05:00
Janne Savolainen
e146dff9da
Prefer ref over findDOMNode to make unit tests not flaky (#4372)
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
2021-11-17 11:38:42 -05:00
Jim Ehrismann
1fad7a18f9
Ensure Drawer copyTitle() copies everything after the first ':' (#4373)
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-11-17 11:34:45 -05:00
Jari Kolehmainen
2446b6cf9b
Add tests for KubeApi.watch timeout (#4367) 2021-11-17 09:34:05 -05:00
Jim Ehrismann
c9d4f37ead
Merge pull request #4366 from lensapp/release/v5.3.0-beta.1
Release v5.3.0-beta.1
2021-11-17 09:07:26 -05:00
Sebastian Malton
7ccac061d9
Use actions@stale/v4 instead of actions@stale/4 (#4343)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-11-17 08:02:06 -05:00
Sebastian Malton
2fc588aed5
Fix dropdowns not being searchable for ClusterRoleBindingDialog and RoleBindingDialog (#4272)
* Fix dropdowns not being searchable for ClusterRoleBindingDialog and RoleBindingDialog

- Added some tests

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

* Fix unit test

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-11-17 08:01:40 -05:00
Jari Kolehmainen
3f02a2356a v5.3.0-beta.1
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-11-17 11:39:18 +02:00