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

1621 Commits

Author SHA1 Message Date
Jim Ehrismann
1bc4f64212
added details for making a patch release (#3885)
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-09-27 07:27:42 +03:00
Sebastian Malton
17e97f16c9
Fix title of service account dialog (#3883) 2021-09-23 22:27:03 -04:00
Sebastian Malton
3c77c06519
Add ability to search and activate entities via the command dialog (#3692) 2021-09-23 13:18:31 -04:00
Jari Kolehmainen
3c55cba40d
use ubuntu 18.04 for builds (#3877)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-09-23 15:14:24 +03:00
Jari Kolehmainen
06854b4cac
Disable log file writing on renderer (#3874)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-09-23 12:36:53 +03:00
Jari Kolehmainen
02c90c760d
fix missing query parameter (#3875)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-09-23 12:23:00 +03:00
Sebastian Malton
3fc5b83461
Add error message for no contexts in add cluster page (#3868) 2021-09-22 10:25:48 -04:00
dependabot[bot]
49e8b9cc0a
Bump npm from 6.14.13 to 6.14.15 (#3838)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-22 09:43:49 -04:00
dependabot[bot]
3a989bbb36
Bump tmpl from 1.0.4 to 1.0.5 (#3860)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-22 09:43:33 -04:00
dependabot[bot]
39e2fce473
Bump tmpl from 1.0.4 to 1.0.5 in /extensions/node-menu (#3864)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-22 09:43:27 -04:00
dependabot[bot]
e2a85031b6
Bump tmpl from 1.0.4 to 1.0.5 in /extensions/metrics-cluster-feature (#3863)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-22 09:43:20 -04:00
Roman
963d801cf7
[UX]: navigation to cluster overview from sidebar's top icon (#3867)
* UX: navigate to "/cluster" overview page from sidebar's top icon
* highlight hotbar-icon border on click
2021-09-22 16:42:16 +03:00
dependabot[bot]
e2a9d5213e
Bump tmpl from 1.0.4 to 1.0.5 in /extensions/pod-menu (#3862)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-22 08:50:38 -04:00
Alex Andreev
070fc1bb44
Fix long name layout in Cluster Settings (#3854)
* Fix long name layout in Cluster Settings

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

* Clean up

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-09-22 07:42:05 +03:00
Panu Horsmalahti
429418a1e2
Emit contextMenuOpen for WebLink CatalogEntity (#3842)
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
2021-09-20 10:09:51 -04:00
Sebastian Malton
dfa0a35695
Fix error due to async validators for <Input> (#3823)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-09-20 09:54:12 -04:00
Jari Kolehmainen
d448017f33
Fix node-fetch load on renderer (#3836)
* fix node-fetch load on renderer

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>
2021-09-20 15:15:26 +03:00
Sebastian Malton
e251194cb5
Fix reference error when opening cluster view (#3824)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-09-20 13:01:05 +03:00
dependabot[bot]
8b3d237f3b
Bump sass from 1.39.0 to 1.41.1 (#3825)
Bumps [sass](https://github.com/sass/dart-sass) from 1.39.0 to 1.41.1.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.39.0...1.41.1)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-20 11:41:10 +03:00
Lauri Nevala
53ce818589
Revert "Fix check for user exec command (#3664)" (#3827)
This reverts commit 056b818ceb.

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2021-09-17 11:13:04 +03:00
Sebastian Malton
e5c9c9a4b5
Fix test GH action to run on all branches (#3822) 2021-09-16 10:38:31 -04:00
Sebastian Malton
1ebb8eedf7
Upgrade all testing linux CI machines to Ubuntu-20.04 (#3799) 2021-09-16 09:02:43 -04:00
Sebastian Malton
be1a2ebe59
Fix shell connection readiness heuristic (#3795) 2021-09-15 17:40:36 -04:00
Sebastian Malton
056b818ceb
Fix check for user exec command (#3664) 2021-09-15 13:09:57 -04:00
Sebastian Malton
068c78d48d
Draggable region on macOS should be the same as the main header (#3800)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-09-15 12:28:06 -04:00
Sebastian Malton
b43086a386
Don't change permissions when deleting a cluster (#3798)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-09-15 12:27:48 -04:00
Sebastian Malton
f68cbabbc9
Fix cluster's accessibleNamespaces being reset on restarting Lens (#3817)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-09-15 12:19:15 -04:00
Lauri Nevala
07d8d567de
Fix fallback to bundled kubectl (#3812) 2021-09-15 09:36:19 -04:00
dependabot[bot]
e0a2cea27d
Bump mobx-react from 7.1.0 to 7.2.0 (#3727)
Bumps [mobx-react](https://github.com/mobxjs/mobx) from 7.1.0 to 7.2.0.
- [Release notes](https://github.com/mobxjs/mobx/releases)
- [Commits](https://github.com/mobxjs/mobx/compare/mobx-react@7.1.0...mobx-react@7.2.0)

---
updated-dependencies:
- dependency-name: mobx-react
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-15 16:02:41 +03:00
Juho Heikka
74f3826235
Second click on list item closes the details view (#3809)
Signed-off-by: Juho Heikka <juho.heikka@gmail.com>
2021-09-15 08:48:12 -04:00
chh
64fb590377
Fix sass warnings (#3783)
* Fix sass warnings

Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>

* Add a space

Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>

* Update src/renderer/components/input/input.scss

Co-authored-by: Jim Ehrismann <40840436+jim-docker@users.noreply.github.com>
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>

* Response to comments

Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>

Co-authored-by: Jim Ehrismann <40840436+jim-docker@users.noreply.github.com>
2021-09-14 10:09:09 +03:00
Alex Andreev
4fa0b8e329
Sidebar cluster avatar (#3765) 2021-09-13 11:33:30 -04:00
Panu Horsmalahti
8e9dd50828
Add catalogAddMenu filter to CatalogCategory (#3722) 2021-09-13 11:33:11 -04:00
Panu Horsmalahti
9d9f9c0072
Expose forRemoteCluster in the extension API. (#3786)
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
2021-09-13 16:59:41 +03:00
Panu Horsmalahti
936927af98
Add CatalogCategory filter to the extension API (#3718)
* Add CatalogCategory filter to the extension API.

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

* Fix test.

Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
2021-09-13 15:46:28 +03:00
chh
e2b096fae1
Stop Sentry from capturing console.error and logger.error (#3785)
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
2021-09-13 10:56:12 +03:00
Jim Ehrismann
8ba024c145
updating release guide with more details (#3704)
* updating release guide with more details

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

* added more details to release guide

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

Co-authored-by: Jim Ehrismann <jehrismann@miranits.com>
2021-09-13 10:14:59 +03:00
Jari Kolehmainen
3262b13926
Allow KubeApi connect directly to remote k8s (#3766)
* allow KubeApi to connect directly to remote k8s

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

* backward compat

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

* backward compat

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-09-13 10:14:05 +03:00
chh
7bd0fed997
createMuiTheme (deprecated) > createTheme (#3784)
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
2021-09-13 09:45:53 +03:00
dependabot[bot]
42d3d277d8
Bump immer from 8.0.1 to 8.0.4 (#3736)
Bumps [immer](https://github.com/immerjs/immer) from 8.0.1 to 8.0.4.
- [Release notes](https://github.com/immerjs/immer/releases)
- [Commits](https://github.com/immerjs/immer/compare/v8.0.1...v8.0.4)

---
updated-dependencies:
- dependency-name: immer
  dependency-type: direct:production
  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-09-09 13:26:27 +03:00
Jari Kolehmainen
2f94de56c7
Fix development on M1 (Apple Silicon) (#3759)
* m1 compatible package.json

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

* fix ts-node tsconfig

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

* switch from node-sass to sass

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-09-09 09:31:27 +03:00
Lauri Nevala
8651eb9594
Use PATCH verb to scale deployments and statefulsets (#3744)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2021-09-09 09:31:11 +03:00
Jari Kolehmainen
d6b2b0352c
Automatically check next pre-release channel (#3737)
* automatically check next pre-release channel

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

* automatically check next pre-release channel

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>
2021-09-09 09:30:41 +03:00
Jim Ehrismann
a06f0c1ab4
release v5.2.0 (#3755)
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-09-08 14:35:18 -04:00
Sebastian Malton
d72158cc63
Fix local cluster delete flow (#3473)
* Fix local cluster delete flow

- Now checks for the cluster being the current cluster and confirms the
  action

- <ConfirmDialog> is fixed to work with several confirmations happinging
  at once

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

* Custom delete cluster dialog

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

* Saving kubeconfig file refactoring

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

* Switching current-context from dialog

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

* Cleaning up css styles

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

* Show Delete menu item only for local cluster

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

* Make all dialogs rounded

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

* Releasing kubeconfig file after lock

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

* Adding delete cluster dialog tests

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

* Cleaning up

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

* Delete cluster dialog refactoring

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

* Fixing typo

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

* Removing temp file on error

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

* Updating tests

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

* Do not switch context if select is hidden

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

* Removing spread symbols

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

* Moving cluster delete event from catalog initializer to ipc

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

* Refactor warning messages

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

* Getting spread (...) back to fix Select render

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

* Using async form without promises

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

* Do not show context switcher if no contexts left

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

* Updating the tests

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

* don't allow delete of the active cluster before setting to new active cluster (#3749)

* don't allow user to delete the active cluster before setting to new active cluster

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

* fix lint issues

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

* Show delete button if no more contexts available

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

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

Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com>
Co-authored-by: Jim Ehrismann <40840436+jim-docker@users.noreply.github.com>
2021-09-08 15:06:14 +03:00
Jari Kolehmainen
b9aec3ad9f
don't add active entity automatically to a hotbar (#3753)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-09-08 12:06:53 +02:00
Alex Andreev
ffdf4a03cd
Use entity name as cluster name in sidebar (#3751)
* Using entity name as cluster name in sidebar

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

* Use entity name if preferences name is empty

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

* simplify

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

Co-authored-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-09-08 12:44:23 +03:00
K.C.Ashish Kumar
9ae84182a1
Add namespace to the message. (#3732)
Signed-off-by: K.C.Ashish Kumar <ashish-kumar.kothapally-chandrakanth@broadcom.com>
2021-09-07 18:00:25 +03:00
Alex Andreev
16c4656a7d
TopBar home icon (#3740)
* Adding home button

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

* Highlight catalog entity on route match

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

* Wait for general entites to load

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

* Adding WelcomePage catalog entity

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

* Highlight general entities in hotbar if their route matches

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

* Fixing tests

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

* Moving active entities sync to helper function

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

* Fix welcome page test

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-09-07 15:18:46 +03:00
chh
995cdac328
Slow down the carousel (default is 4000 ms (#3742) 2021-09-06 16:25:21 +03:00