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

986 Commits

Author SHA1 Message Date
Jari Kolehmainen
e38addef78 Merge branch 'master' into electron-11.4.3
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-22 18:46:48 +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
c0f788a8fa Merge branch 'master' into electron-11.4.3
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-20 07:43:07 +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
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
2a02a85e5b wip: electron 11.4.3
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-19 16:35:39 +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
Jari Kolehmainen
8e3d50fac2 electron 11.4.3
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-19 14:15:01 +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
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
Alex Andreev
126d542335
Dropping catalog sidebar paddings (#2526)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-04-14 15:00:50 +03:00
Jari Kolehmainen
6c7095fdec
Use gh actions for build status (#2522)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-13 15:17:42 +03:00
Jari Kolehmainen
e948fc047c
Allow register actions to "add to catalog" button (#2497)
* registrable add-to-catalog button

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

* cleanup

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

* fix integration tests

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

* fix integration tests

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-13 14:51:43 +03:00
Jari Kolehmainen
b852384e85
Cache node_modules on GH actions (#2517)
* cache node_modules on GH actions

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

* tweak

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-13 12:26:36 +03:00
Jim Ehrismann
bbfad2f35f
Modified kubeconfig manager test to avoid intermittent ENXIO error (#2516)
* modified kubeconfig manager test to avoid intermittent ENXIO error

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

* fix lint

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-04-13 06:57:56 +03:00
Jari Kolehmainen
2bba0d578b
Release v5.0.0-alpha.1 (#2514)
* v5.0.0-alpha.1

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

* correct version

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

* azure fix

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-12 20:45:10 +03:00