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

1006 Commits

Author SHA1 Message Date
Jari Kolehmainen
b1274cbb33
Extensible welcome page (#2637)
* welcome/landing page

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

* fix integration tests

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-27 11:24:39 +03:00
Sebastian Malton
1f854d0a0f
Cherry-pick from 4.2.3 (#2628)
* Fix: logs data disapearing causing crashes (#2566)

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

* Refactor helm-chart.api and improve kube validation and error handling (#2265)

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

* Fix: HPA's not sortable by age (#2565)

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

* Conditionally render status icon for kube meta (#2298)

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

* Fix custom resource loading spinner appears above extensions' cluster menus (#2344)

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

* Lens should point to the release docs (#2268)

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

* Refactor the Extensions settings page (#2221)

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

* try and get jest to not core dump

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-04-27 08:11:50 +03:00
Jari Kolehmainen
7fde8125eb
Helm 3.5.4 (#2619)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-26 17:01:39 +03:00
Jari Kolehmainen
0ae5e948c5
Release v5.0.0-alpha.3 (#2623)
* v5.0.0-alpha.3

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

* fix

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-26 16:42:59 +03:00
Jari Kolehmainen
e0c0e40b02
Disable webpack minimize (#2618)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-26 14:35:38 +03:00
Sebastian Malton
bcdc0243f4
Support non-ascii characters in entity names (#2610)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-04-26 08:58:51 +03:00
Sebastian Malton
339502cf4f
Switch CatalogEntity and CatalogCategory abstract classes (#2612) 2021-04-23 16:08:21 -04:00
Sebastian Malton
4d10e07087
Fix: don't assign to priority in getItemsForKind (#2611) 2021-04-23 12:26:26 -04:00
Jari Kolehmainen
476235b861
Add tooltip to hotbar index (#2604)
* add tooltip to hotbar index

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

* fix

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

* cleanup

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-23 18:39:40 +03:00
Jari Kolehmainen
f4211d1be7
Use generated background color for hotbar icons (#2608)
* use generated background color for hotbar icons

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

* style fixes

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-23 17:25:04 +03:00
Jari Kolehmainen
f6f81438f1
Remove downloads from release drafter template (#2581)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-23 16:18:37 +03:00
dependabot[bot]
2b6f926b38
Bump type-fest from 0.18.0 to 1.0.2 (#2541)
Bumps [type-fest](https://github.com/sindresorhus/type-fest) from 0.18.0 to 1.0.2.
- [Release notes](https://github.com/sindresorhus/type-fest/releases)
- [Commits](https://github.com/sindresorhus/type-fest/compare/v0.18.0...v1.0.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-23 08:45:20 -04:00
Jari Kolehmainen
fd36830865
Allow to define entity setting priority (#2596)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-23 15:27:42 +03:00
Jari Kolehmainen
cb373befaf
Enable search on catalog (#2600)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-23 15:27:24 +03:00
Sebastian Malton
bdb538555d
Makefile should use in-tree npm binary (#2578)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-04-23 15:26:58 +03:00
dependabot[bot]
790df3e6e6
Bump react-beautiful-dnd from 13.0.0 to 13.1.0 (#2599)
Bumps [react-beautiful-dnd](https://github.com/atlassian/react-beautiful-dnd) from 13.0.0 to 13.1.0.
- [Release notes](https://github.com/atlassian/react-beautiful-dnd/releases)
- [Changelog](https://github.com/atlassian/react-beautiful-dnd/blob/master/CHANGELOG.md)
- [Commits](https://github.com/atlassian/react-beautiful-dnd/compare/v13.0.0...v13.1.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-23 15:04:28 +03:00
Jari Kolehmainen
b77317c243
Add icon to catalog category (#2606)
* add icon to catalog category

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

* fix styles

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-23 13:58:05 +03:00
Sebastian Malton
b20bedfbae
Initialize HelmRepoManager on demand (#2591) 2021-04-22 15:34:17 -04:00
Sebastian Malton
7132bf3834
fix cleanup in createStorage racing the creation of ClusterStore (#2595)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-04-22 12:01:16 -04:00
Sebastian Malton
9191533634
refactor AddRemoveButtons's renderButtons method to be just a filter map (#2210)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-04-22 15:14:10 +03:00
Sebastian Malton
21585d882d
add doc describing ItemStore.sortItems (#2257)
* add doc describing ItemStore.sortItems

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

* fix wording

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

* fix spelling

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-04-22 15:13:26 +03:00
Jari Kolehmainen
f543fc3ba1
Allow nodemon restart via rs<enter> (#2588)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-22 15:12:01 +03:00
dependabot[bot]
8d375b2d24
Bump @types/http-proxy from 1.17.4 to 1.17.5 (#2579)
Bumps [@types/http-proxy](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/http-proxy) from 1.17.4 to 1.17.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/http-proxy)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-22 08:08:48 -04:00
Jari Kolehmainen
cf6a0b41db
Release v5.0.0-alpha.2 (#2544)
* v5.0.0-alpha.2

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

* update release notes

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

* Makefile fix

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-22 15:00:51 +03:00
Jari Kolehmainen
9392b321b8
Fix HotbarStore merge conflict (#2589)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-22 10:45:34 +03:00
Jari Kolehmainen
da8cc889c4
Hotbar command palette + switching (#2552)
* fix initial hotbar not showing

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

* hotbar command palette + switching

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

* lint fix

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

* add clickable index to switcher

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

* fixes

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>

* refactor

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

* fix typo

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

* fixes

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

* remote notifications

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

* fix add to hotbar

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

* don't show remove-from-hotbar on catalog context menu

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

* fix bad merge

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

* fix bad merge

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

* fix bad merge

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-22 10:07:14 +03:00
Sebastian Malton
b63fdfaff3
Improve documentation of Singleton functions, change to createInstance (#2585)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-04-22 10:05:29 +03:00
Jari Kolehmainen
33ca6c9c17
Reserve cluster proxy port just in time (#2554)
* reserve cluster proxy port just in time

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

* fix

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

* refactor

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-22 07:18:53 +03:00
Jari Kolehmainen
d0712b3c32
Use productName from package.json (#2580)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-22 07:13:29 +03:00
Marc Bachmann
013057dc23
Fix chart upgrade screen by coercing the chart version to semver (#2584)
Signed-off-by: Marc Bachmann <marc.brookman@gmail.com>
2021-04-21 15:13:22 -04:00
Sebastian Malton
9563ead2e6
Fixing Singleton typing to correctly return child class (#1914)
- Add distinction between `getInstance` and `getInstanceOrCreate` since
  it is not always possible to create an instance (since you might not
  know the correct arguments)

- Remove all the `export const *Store = *Store.getInstance<*Store>();`
  calls as it defeats the purpose of `Singleton`. Plus with the typing
  changes the appropriate `*Store.getInstance()` is "short enough".

- Special case the two extension export facades to not need to use
  `getInstanceOrCreate`. Plus since they are just facades it is always
  possible to create them.

- Move some other types to be also `Singleton`'s: ExtensionLoader,
  ExtensionDiscovery, ThemeStore, LocalizationStore, ...

- Fixed dev-run always using the same port with electron inspect

- Update Store documentation with new recommendations about creating
  instances of singletons

- Fix all unit tests to create their dependent singletons

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-04-21 09:59:59 -04:00
Jari Kolehmainen
b2a570ce28
Revert "Increase npm version to 7.9 (#2466)" (#2583)
This reverts commit 7970b11fe7.
2021-04-21 16:29:18 +03:00
Jari Kolehmainen
57a1612545
Show openlens on splash (#2582)
* show openlens on splash

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

* make it center

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-21 15:45:10 +03:00
Sebastian Malton
9ed395ea80
Display a pod as terminating even if it isn't running (#2575)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-04-21 08:26:42 +03:00
osddeitf
04d3cd5b14
Add support for viewing 'User-supplied values' of helm release (#1862)
Co-authored-by: Sebastian Malton <sebastian@malton.name>
2021-04-20 11:47:38 -04:00
Sebastian Malton
a2be178191
Refactor helm-release.api to use free functions instead of an object (#2264)
- Rename functions to be more descriptive

- Change all functions to be Promise based

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-04-20 10:51:45 -04:00
dependabot[bot]
f17ce17fe9
Bump ssri from 6.0.1 to 6.0.2 in /extensions/kube-object-event-status (#2559)
Bumps [ssri](https://github.com/npm/ssri) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/npm/ssri/releases)
- [Changelog](https://github.com/npm/ssri/blob/v6.0.2/CHANGELOG.md)
- [Commits](https://github.com/npm/ssri/compare/v6.0.1...v6.0.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-20 09:57:36 -04:00
dependabot[bot]
1a4612f1bc
Bump ssri from 6.0.1 to 6.0.2 in /extensions/metrics-cluster-feature (#2560)
Bumps [ssri](https://github.com/npm/ssri) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/npm/ssri/releases)
- [Changelog](https://github.com/npm/ssri/blob/v6.0.2/CHANGELOG.md)
- [Commits](https://github.com/npm/ssri/compare/v6.0.1...v6.0.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-20 09:57:29 -04:00
dependabot[bot]
ca60ed148d
Bump ssri from 6.0.1 to 6.0.2 in /extensions/pod-menu (#2557)
Bumps [ssri](https://github.com/npm/ssri) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/npm/ssri/releases)
- [Changelog](https://github.com/npm/ssri/blob/v6.0.2/CHANGELOG.md)
- [Commits](https://github.com/npm/ssri/compare/v6.0.1...v6.0.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-20 09:57:23 -04:00
Jari Kolehmainen
05a3494acb
Don't bundle extension with eula on default build (#2542) 2021-04-20 09:35:37 -04:00
Sebastian Malton
7970b11fe7
Increase npm version to 7.9 (#2466)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-04-20 09:27:46 -04:00
Arthur Knoepflin
52ebcc4fdb
Add ability to configure the locale timezone (#2523) 2021-04-20 09:26:52 -04:00
Jari Kolehmainen
8d42d40433
fix initial hotbar not showing (#2551)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-20 09:09:13 +03:00
Jari Kolehmainen
8dde4a1ecb
Refactor cluster settings to catalog entity settings (#2525)
* fix cluster settings page layout

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

* cleanup

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

* refactor cluster settings to pluggable entity settings

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

* fix

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

* fix

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

* fix gh actions network timeout on yarn install

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

* review changes

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-20 07:05:44 +03:00
Jim Ehrismann
adec401acd
Fix how integration tests activate adding a cluster via SpeedDial (#2569)
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-04-20 06:55:00 +03:00
steve richards
e560baa2d0 Pre-Validate kubeconfig before making available in Lens (#1078) 2021-04-19 11:46:07 -04:00
Sebastian Malton
23c9255b9a Refactor StorageHelper to be clearer in its constructor (#2417) 2021-04-19 11:46:07 -04:00
Sebastian Malton
c79b6c0015 Fix releases not reloading when selecting namespaces (#2515) 2021-04-19 11:46:07 -04:00
MinJeong Kim
92139d26ed fix: proper sorting resources by age column (#2182 followup) (#2414)
Co-authored-by: Jim Ehrismann <40840436+jim-docker@users.noreply.github.com>
2021-04-19 11:46:07 -04:00
Sebastian Malton
5a72f7a022 Fix CRD versions not being provided (#2500) 2021-04-19 11:46:07 -04:00