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

992 Commits

Author SHA1 Message Date
Jari Kolehmainen
56f5d2ede0
Merge branch 'master' into hotbar-commands-and-navigate 2021-04-21 17:04:43 +03: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
Jari Kolehmainen
a0210db10a don't show remove-from-hotbar on catalog context menu
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-21 07:08:59 +03:00
Jari Kolehmainen
412162fa71 fix add to hotbar
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-21 06:59:06 +03:00
Jari Kolehmainen
6ec54b6485 Merge branch 'master' into hotbar-commands-and-navigate
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-21 06:49:40 +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
241b726e37
Merge branch 'master' into hotbar-commands-and-navigate 2021-04-20 10:11:36 +03: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
Jari Kolehmainen
7f46e50669 remote notifications
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-20 06:48:45 +03:00
Jari Kolehmainen
786af2a96b fixes
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-20 06:48:14 +03:00
Jari Kolehmainen
437731b67f fix typo
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-19 21:18:12 +03:00
Jari Kolehmainen
11435e71ea refactor
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-19 21:14:59 +03:00
Jari Kolehmainen
f849a75c7c cleanup
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-19 21:06:37 +03:00
Jari Kolehmainen
b0e673e3b0 cleanup
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-19 21:00:51 +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
Sebastian Malton
49a01b7922 Fix Extension Docs (#2377)
Co-authored-by: Jim Ehrismann <40840436+jim-docker@users.noreply.github.com>
2021-04-19 11:46:07 -04:00
Sebastian Malton
05f5176419 Broadcast failure to list namespaces less frequently (#2501)
- Only of three successive (non-overlapping) list failures

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-04-19 11:46:07 -04:00
dependabot[bot]
a4986ee016
Bump ssri from 6.0.1 to 6.0.2 in /extensions/node-menu (#2563)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-19 10:09:00 -04:00
Jari Kolehmainen
0f7acdaaab fixes
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-19 17:02:42 +03:00
Alex Andreev
d5bc7425f5
Polishing settings styles (#2534)
* Polishing settings css

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

* Fixing inputs border-radius

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

* Removing Box component

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

* Removing unused import

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

* Remove content region style fixes

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

* Revert theme colors

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

* Set new colors in theme files

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

* Change Cluster extectedText

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-04-19 15:19:09 +03:00
dependabot[bot]
400a348c0d
Bump @testing-library/jest-dom from 5.11.5 to 5.11.10 (#2540)
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 5.11.5 to 5.11.10.
- [Release notes](https://github.com/testing-library/jest-dom/releases)
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/jest-dom/compare/v5.11.5...v5.11.10)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-19 13:27:38 +03:00
Jari Kolehmainen
05f75beec8 add clickable index to switcher
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-19 09:49:48 +03:00
Jari Kolehmainen
3a537002ce lint fix
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-19 09:34:27 +03:00
Jari Kolehmainen
9a074dae76 hotbar command palette + switching
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-19 09:24:45 +03:00
Jari Kolehmainen
b8f028825c fix initial hotbar not showing
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-19 07:47:02 +03:00
Sebastian Malton
61b00b4c12
display close button on deleted kube details page (#2428) 2021-04-16 17:37:02 -04:00
Jari Kolehmainen
0de3bb13ca
Workaround broken reverse name lookup on gh actions (#2545)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-16 13:40:51 +03:00
Jari Kolehmainen
4d8b7b0853
Move catalog to top-level module in extension api (#2527)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-16 12:28:11 +03:00
dependabot[bot]
fa531067b2
Bump marked from 1.2.7 to 2.0.3 (#2506)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-15 10:17:14 -04:00
Jari Kolehmainen
8b9f645a80
Retry yarn/npm install steps on gh actions (#2533)
* retry yarn/npm install steps on gh actions

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

* set timeout_minutes

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-15 15:22:55 +03:00
pashevskii
ec9c47752f
YAML Templates in Create Resource dock tab (#2327)
Co-authored-by: Pavel Ashevskiy <pavel.ashevskiy@ifellow.ru>
2021-04-15 08:19:54 -04:00
Jari Kolehmainen
1ac5588fab
Allow to control catalog entity menu item visibility based on source (#2499)
* allow to control catalog entity menu item visibility based on source

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

* fix

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-15 15:16:56 +03:00
Jari Kolehmainen
95ebb52f5d
Test also push to branches on gh actions (#2532)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-15 14:40:49 +03:00
Alex Andreev
e5f613ead7
Exporting search input component (#2521)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-04-15 14:02:13 +03:00