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

824 Commits

Author SHA1 Message Date
Steven Martin
d6561f4fba Fix Heading spelling (#2202)
Repositories was misspelled in Managing Helm Repositories

Signed-off-by: stevenGravy <steven@gravitational.com>
2021-02-24 16:33:56 +02:00
Sebastian Malton
d3ff3c9cc1 Fix auto update on quit with newer version (#2128)
- Fix auto update on quit with newer version

- If the user specifies that Lens should auto update on quit to a specific version, and before they quit the auto-updater finds a newer version. Then disregard the previous request to update

- reset broadcast-ed version if failed to broadcast

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-02-24 16:33:07 +02:00
Roman
6135406709 fix: allow scrolling in main-layout's content area (#2201)
Signed-off-by: Roman <ixrock@gmail.com>
2021-02-24 16:32:44 +02:00
Sebastian Malton
73cf2893aa fix RoleBindings Namespace and Bindings field not displaying the correct data (#2203)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-02-24 16:32:22 +02:00
Roman
136dac4a8f - fix: don't reset selected "all namespaces" on page reload (#2185)
- fix: don't reload namespaces on every page visit / NamespaceSelect.render()

Signed-off-by: Roman <ixrock@gmail.com>
2021-02-24 16:31:54 +02:00
Jari Kolehmainen
4ea04c1ffd
Merge pull request #2186 from lensapp/release/v4.1.2
Release v4.1.2
2021-02-18 21:04:54 +02:00
Jari Kolehmainen
79a65b1df2 v4.1.2
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-02-18 19:22:41 +02:00
Jari Kolehmainen
d2ae2a5c32 Fix duplicate cluster iframes (#2190)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-02-18 19:22:41 +02:00
Jari Kolehmainen
2d1183ff7b Wait for cluster to be ready before loading iframe (#2183)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-02-18 15:26:16 +02:00
Jari Kolehmainen
5bd8f452b3 Trigger quitAndInstall after update-downloaded event (#2181)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-02-18 15:26:06 +02:00
Jari Kolehmainen
32e0fee9c0
Merge pull request #2175 from lensapp/release/v4.1.1
Release v4.1.1
2021-02-18 11:23:00 +02:00
Jari Kolehmainen
a8701d6ec7 v4.1.1
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-02-18 08:44:52 +02:00
dependabot[bot]
a5fb28c29e Bump xterm from 4.6.0 to 4.10.0 (#2072)
Bumps [xterm](https://github.com/xtermjs/xterm.js) from 4.6.0 to 4.10.0.
- [Release notes](https://github.com/xtermjs/xterm.js/releases)
- [Commits](https://github.com/xtermjs/xterm.js/compare/4.6.0...4.10.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-18 08:37:12 +02:00
Jari Kolehmainen
88b4561112 Windows: use SHELL for terminal if set (#2168)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-02-18 08:08:27 +02:00
Jari Kolehmainen
5696ba3386 Fix isLoadingAll within KubeObjectStore.loadItems (#2174)
* fix isLoadingAll within KubeObjectStore.loadItems

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

* fix isLoadingAll within KubeObjectStore.loadItems

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-02-18 08:08:17 +02:00
Roman
cd049b74ae fix: keep last selected row during navigation in the details panel (#2165)
Signed-off-by: Roman <ixrock@gmail.com>
2021-02-18 08:08:06 +02:00
Sebastian Malton
cda8c6b062 return undefined instead of localhost from getClusterIdFromHost (#2143)
* return undefined instead of localhost from getClusterIdFromHost

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-02-18 08:07:04 +02:00
Jari Kolehmainen
8692bdefa2
Release v4.1.0 (#2162)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-02-16 19:25:38 +02:00
Alex Andreev
2c196ec3ad
Fix: load releases for all namespaces at once (#2139)
* Load releases for all namespaces at once

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

* Check for accessibleNamespaces length

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

* Replacing loadAll() to loadFromContextNamespaces()

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-02-16 16:53:11 +02:00
Sebastian Malton
436bb7683d
Listen for before-quit-for-update to allow will-quit to use default flow (#2147)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-02-16 16:50:11 +02:00
Alex Andreev
d3cedb49aa
Adding paddings to auto-update notification elements (#2163)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-02-16 16:49:27 +02:00
Lauri Nevala
3f2d912816
Register existing store with new apiBase when re-registering Kube API (#2157)
* Update store key after api's apiBase change

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

* Re-register existing store when registering API

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

* Revert kube-api changes

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2021-02-16 14:49:51 +02:00
Jari Kolehmainen
1e5d682b9b
Release v4.1.0-rc.2 (#2154)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-02-15 11:29:04 +02:00
Sebastian Malton
8d74f1c759
Fix tailCount renderering in removeItemsDialog (#2148)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-02-15 07:25:34 +02:00
Jari Kolehmainen
f4a3074926
Fix events list default sort column (#2149)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-02-13 09:33:04 +02:00
Lauri Nevala
ebf9177098
Activate survey extension only on main renderer (#2145)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2021-02-12 19:04:12 +02:00
Sebastian Malton
4513a08b1f
don't use list all optimization when operating in accessible namespaces mode (#2142)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-02-12 10:59:58 -05:00
Jari Kolehmainen
557d96d484
Handle suspend/resume error from watch stream read (#2136)
* handle suspend/resume error from stream read

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

* add missing types

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-02-12 16:37:41 +02:00
Jari Kolehmainen
4bc4fe3a24
Fix accessible namespaces reset on cluster disconnect (#2140)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-02-12 16:24:02 +02:00
Jari Kolehmainen
317c4cf072
Fix accessible namespaces functionality under restrictive RBAC (#2138)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-02-12 14:25:17 +02:00
Alex Andreev
d40bd0c7d0
Making error boundary layout responsive (#2124)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-02-12 10:19:52 +03:00
Jari Kolehmainen
f7f2d445a1
Release v4.1.0-rc.1 (#2129)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-02-12 07:35:12 +02:00
Jari Kolehmainen
f14f3b3287
Cleanup iframe when cluster is disconnected (#2120)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-02-11 17:36:47 +02:00
Jari Kolehmainen
d7d4be7375
Improve kube watch error handling (#2112)
* improve kube watch error handling

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

* cleanup

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

* review fixes

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

* no more object.assign

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

* keep only items from non-loaded namespaces

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

* cleanup

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

* fix sleep/resume

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

* fallback retry only on error

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-02-11 17:34:14 +02:00
Roman
b873ba76bd
Fix: compact-mode for Workloads overview -> Events (#2113)
fix: proper event-type column + default sorting by warning events

Signed-off-by: Roman <ixrock@gmail.com>
2021-02-11 13:56:20 +02:00
Jari Kolehmainen
22176219f0
Don't show warning badge if cluster is offline (#2121)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-02-11 12:23:33 +02:00
Alex Andreev
c0ef006cb8
Fix: preventing namespace filter jumping scroll (#2104)
* fix lint

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

* fixes & refactoring

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

* fix lint, micro-refactoring

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

* more refactoring, clean up, responding to comments

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

* fix: remove extra check for cluster.allowedApi from processing buffered watch-api events

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

* refactoring, detaching NamespaceStore from KubeObjectStore

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

* fix: wait for contextReady in NamespaceStore

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

* refactoring & fixes

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

* fix lint

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

* fixes: reloading context stores on NamespaceSelect-change

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

* optimize loading all resources when "all namespaces" selected -> single request per resource (when have rights)

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

* use native k8s api watches

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

* retry watch when it makes sense

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

* workaround for browser connection limits

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

* cleanup

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

* cleanup

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

* use always random subdomain for getResponse

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

* resubscribe stores on contextNamespace change

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

* fix

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

* modify watch event before calling callback

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

* Replace placeholder component in NamespaceSelectFilter

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

Co-authored-by: Roman <ixrock@gmail.com>
Co-authored-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-02-11 10:32:57 +03:00
Jari Kolehmainen
b144eb916b
Remove unnecessary subscribeStores from cluster overview (#2108)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-02-10 14:27:48 +02:00
Jari Kolehmainen
e3e0b272bc
Release v4.1.0-beta.2 (#2106)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-02-09 19:52:21 +02:00
Alex Andreev
2b22ec0aa3
Fix: saving apiManager store keys with string type (#2091)
* Saving apiManager store keys with string type

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

* Replacing stores key from "kind" to "apiBase"

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-02-09 17:52:33 +02:00
Sebastian Malton
a61425124f
Add auto-update notifications and confirmation (#1941)
* add auto-update notifications and confirmation

* Show single update notification (#1985)

* Moving notification icons to top (#1987)

* Switch to EventEmitter (producer&consumer) model

* Add `onCorrect` and `onceCorrect` to ipc module for typechecking ipc  messages

* move type enforced ipc methods to seperate file, add unit tests

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-02-09 10:47:24 -05:00
Roman
741973dd29
Fix: export Dialog to extensions-api (#2105)
Signed-off-by: Roman <ixrock@gmail.com>
2021-02-09 17:33:27 +02:00
Jari Kolehmainen
035dd470ef
Refactor watches to use native k8s api (#2095)
* fix lint

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

* fixes & refactoring

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

* fix lint, micro-refactoring

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

* more refactoring, clean up, responding to comments

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

* fix: remove extra check for cluster.allowedApi from processing buffered watch-api events

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

* refactoring, detaching NamespaceStore from KubeObjectStore

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

* fix: wait for contextReady in NamespaceStore

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

* refactoring & fixes

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

* fix lint

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

* fixes: reloading context stores on NamespaceSelect-change

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

* optimize loading all resources when "all namespaces" selected -> single request per resource (when have rights)

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

* use native k8s api watches

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

* retry watch when it makes sense

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

* workaround for browser connection limits

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

* cleanup

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

* cleanup

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

* use always random subdomain for getResponse

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

* resubscribe stores on contextNamespace change

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

* fix

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

* modify watch event before calling callback

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

Co-authored-by: Roman <ixrock@gmail.com>
2021-02-09 15:31:15 +02:00
Jari Kolehmainen
6ded5e73fa
Release v4.1.0-beta.1 (#2101)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-02-09 13:09:50 +02:00
Alex Andreev
06b61c3392
Make macOs app icon a bit smaller (#2094)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-02-08 20:02:05 +02:00
Violetta
b36d9ff418
Helm rollback window with more details (#2085)
Signed-off-by: vshakirova <vshakirova@mirantis.com>
2021-02-05 12:23:15 -05:00
Sebastian Malton
19c0e73760
add custom configuration for dependabot (#1973)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-02-04 13:16:06 -05:00
Lauri Nevala
e6c90c28cc
Return no metrics immediately if chartData.datasets are missing (#2082)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2021-02-04 19:44:28 +02:00
Roman
b514e5c833
proper select-all option for NamespaceSelect (#2084)
Signed-off-by: Roman <ixrock@gmail.com>
2021-02-04 19:24:39 +02:00
Lauri Nevala
ad6de71826
Add more log entries on start up (#1955)
* Add more log entries on start up

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

* And log entry about shell sync

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

* Refactoring

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

* Add new line

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

* Apply suggestions from code review

Co-authored-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>

Co-authored-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
Co-authored-by: Sebastian Malton <sebastian@malton.name>
2021-02-04 19:19:11 +02:00