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

1022 Commits

Author SHA1 Message Date
Roman
3323c25be3 - replacing mobx.toJS()-calls to common/utils/toJS
- adding missing makeObservable(this)
- fix docs

Signed-off-by: Roman <ixrock@gmail.com>
2021-04-26 15:52:34 +03:00
Roman
575becfdaa added custom common/utils/toJS for recursive convertation from mobx-observable & plain objects
Signed-off-by: Roman <ixrock@gmail.com>
2021-04-26 14:37:25 +03:00
Roman
0859de591a Merge remote-tracking branch 'origin/master' into mobx-6.2
# Conflicts:
#	src/renderer/components/hotbar/hotbar-icon.tsx
2021-04-26 13:04:21 +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
Roman
755c3e2d3e adding missing makeObservable(this)
Signed-off-by: Roman <ixrock@gmail.com>
2021-04-25 21:07:24 +03:00
Roman
e2664a26bf master-merge fixes
Signed-off-by: Roman <ixrock@gmail.com>
2021-04-25 21:04:15 +03:00
Roman
c19be88691 Merge remote-tracking branch 'origin/master' into mobx-6.2
# Conflicts:
#	src/common/catalog-entities/kubernetes-cluster.ts
#	src/common/catalog-entities/web-link.ts
#	src/common/catalog/catalog-category-registry.ts
#	src/extensions/core-api/catalog.ts
#	src/main/cluster-manager.ts
#	src/renderer/api/catalog-entity-registry.ts
#	src/renderer/components/+catalog/catalog-entity.store.ts
2021-04-25 20:55:20 +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
Roman
484ab443a2 adding missing mobx.makeObservable(this) -- part 1
Signed-off-by: Roman <ixrock@gmail.com>
2021-04-23 16:32:17 +03:00
Roman
671e7c26ca Merge remote-tracking branch 'origin/master' into mobx-6.2 2021-04-23 16:25:32 +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
Roman
4fbefb648a replacing toJS({}) to utils/cloneJson where might be necessary
Signed-off-by: Roman <ixrock@gmail.com>
2021-04-23 16:18:35 +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
Roman
f620c09095 Merge remote-tracking branch 'origin/master' into mobx-6.2 2021-04-22 15:57:40 +03: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
Roman
1dfc9fd50c merge/lint:fixes
Signed-off-by: Roman <ixrock@gmail.com>
2021-04-22 12:41:14 +03:00
Roman
426cb48966 Merge remote-tracking branch 'origin/master' into mobx-6.2
# Conflicts:
#	src/common/hotbar-store.ts
2021-04-22 12:38:25 +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
Roman
c0db9e3bef merge:fixes, lint:fixes
Signed-off-by: Roman <ixrock@gmail.com>
2021-04-21 17:35:46 +03:00
Roman
a0193a2cda Merge remote-tracking branch 'origin/master' into mobx-6.2
# Conflicts:
#	extensions/survey/package-lock.json
#	extensions/survey/package.json
#	extensions/survey/src/survey-preferences-store.ts
#	extensions/telemetry/src/telemetry-preferences-store.ts
#	src/common/user-store.ts
#	src/extensions/core-api/catalog.ts
#	src/extensions/extension-discovery.ts
#	src/extensions/lens-extension.ts
#	src/main/cluster-manager.ts
#	src/renderer/bootstrap.tsx
#	src/renderer/components/+apps-helm-charts/helm-chart.store.ts
#	src/renderer/components/+apps-releases/release.store.ts
#	src/renderer/components/+catalog/catalog.tsx
#	src/renderer/components/+extensions/extension-install.store.ts
#	src/renderer/components/+extensions/extensions.tsx
#	src/renderer/components/+preferences/preferences.tsx
#	src/renderer/components/dock/create-resource.store.ts
#	src/renderer/components/kube-object/kube-object-list-layout.tsx
#	src/renderer/theme.store.ts
#	src/renderer/utils/storageHelper.ts
2021-04-21 17:28:18 +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
Roman
9470ef9888 migration additions -- part 6 (bugs hunting)
Signed-off-by: Roman <ixrock@gmail.com>
2021-04-21 14:48:40 +03:00
Roman
46c699b26f migration additions -- part 5 (removing @autobind as class-decorator where mobx)
Signed-off-by: Roman <ixrock@gmail.com>
2021-04-21 13:28:07 +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