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

2083 Commits

Author SHA1 Message Date
Sebastian Malton
2ab9aeb83c
Correctly handle promises and rejections around cluster connection (#4216) 2021-11-30 09:05:34 -05:00
dependabot[bot]
bb30bdc750
Bump @types/uuid from 8.3.1 to 8.3.3 (#4445)
Bumps [@types/uuid](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/uuid) from 8.3.1 to 8.3.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/uuid)

---
updated-dependencies:
- dependency-name: "@types/uuid"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-30 14:48:31 +03:00
Sebastian Malton
0286faf387
Fix detail views not watching child components (#4345)
* Fix detail views not watching child components

- Add subscribeStores calls to all relavent details

- Add support for tracking overlapping subscribes as an optimization

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

* Resolve PR comments

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

* Detect the adding of a namespace when selected namespaces change

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

* Update debug log

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-11-29 17:25:35 -05:00
Alex Andreev
8ff7c03993
Fix hotbar items drag-n-drop bugs (#4433) 2021-11-29 12:45:32 -05:00
Jim Ehrismann
0673c98f4e
Add a query param for filtering port forwards by clusterId (#4441)
* Add a query param for filtering port forwards by clusterId

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

* pass clusterId query as param

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

* pass queries as params for other apiBase calls, for consistency

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-11-29 12:21:45 -05:00
Sebastian Malton
406f595011
Fix lint (#4438) 2021-11-26 11:25:54 -05:00
Marc Bachmann
b3723de3ec
Add more file system metrics to the pod and container graphs (#3961) 2021-11-26 10:03:12 -05:00
dependabot[bot]
2148dbda7c
Bump esbuild from 0.13.8 to 0.13.15 (#4426)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-26 08:55:54 -05:00
dependabot[bot]
495e80cd45
Bump @kubernetes/client-node from 0.15.1 to 0.16.1 (#4427)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-26 08:55:23 -05:00
Sebastian Malton
aab48a784c
Cleanup OverviewWorkloadStatus, remove findDOMNode (#4392) 2021-11-26 08:42:17 -05:00
Sebastian Malton
0e7704ea3f
Change KubernetesCluster's settings menuItem's icon to a cog (#4425) 2021-11-26 08:41:08 -05:00
Janne Savolainen
f6a51d1ae7
Merge pull request #4338 from jansav/feature/injectable
Introduce a way to use injectables
2021-11-26 11:50:01 +02:00
Janne Savolainen
7b6a7059bf Move types of injectable and injectable-react to the library
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2021-11-26 07:44:35 +02:00
Janne Savolainen
c9503c1d14 Allow asynchronous instances in injectable typing
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2021-11-26 07:44:30 +02:00
Janne Savolainen
0c0dfe5966 Make overriding injectable with a mock supported
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2021-11-26 07:44:30 +02:00
Janne Savolainen
d07d9f9fd2 Update version of injectable library
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2021-11-26 07:44:30 +02:00
Mikko Aspiala
2e5e549957 Update version of injectable for disambiguous typing
Signed-off-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>
2021-11-26 07:44:27 +02:00
Janne Savolainen
0af1d08299 Fix linting in type definition
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2021-11-26 07:44:20 +02:00
Mikko Aspiala
3bc01dc50f Make Inject-component usable in both LensApp and "App"
Note: this will need some rehaul, as current design with "bootstrap" and iframe make single root for injectables somewhat challenging.

Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2021-11-26 07:44:20 +02:00
Janne Savolainen
c4c4bc5845 Introduce a way to use injectables for UI
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2021-11-26 07:44:17 +02:00
dependabot[bot]
ae97e16e9d
Bump color from 3.1.3 to 3.2.1 (#4283)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-25 16:10:35 -05:00
dependabot[bot]
e5c1eba9cb
Bump ansi_up from 5.0.1 to 5.1.0 (#4304)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-25 16:10:26 -05:00
dependabot[bot]
ae9b9e82e7
Bump @sentry/integrations from 6.13.3 to 6.15.0 (#4363)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-25 14:10:41 -05:00
dependabot[bot]
a6763391ee
Bump @types/react-dom from 17.0.9 to 17.0.11 (#4245)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-25 13:47:57 -05:00
Roman
448fdd1ef2
Mobx package upgrade (#4357) 2021-11-25 12:02:59 -05:00
Roman
4f33dfdfd5
Allow to navigate to created resource details from notification (#4422)
navigate to created resource details from notification
2021-11-25 18:04:41 +02:00
Sebastian Malton
44f1f38a75
Fix: display of entity name while connecting (#4415) 2021-11-25 10:00:25 -05:00
Jari Kolehmainen
93a60caf40
Release v5.3.0 (#4419) 2021-11-25 09:52:47 -05:00
Roman
47b9496e1d
upgrade typescript to 4.5 (#4421)
Signed-off-by: Roman <ixrock@gmail.com>
2021-11-25 15:12:54 +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