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

3961 Commits

Author SHA1 Message Date
Gabriel
0dae1594ba fix: removed dependencies: [reactApplicationFeature],
Signed-off-by: Gabriel <gaccettola@mirantis.com>
2023-04-25 17:38:02 -04:00
Gabriel
b33a8b4960 fix: add routingFeature to getDiForUnitTesting
Signed-off-by: Gabriel <gaccettola@mirantis.com>
2023-04-25 17:38:02 -04:00
Gabriel
e8c94abc0b feature @k8slens/routing
Signed-off-by: Gabriel <gaccettola@mirantis.com>
2023-04-25 17:38:02 -04:00
Sebastian Malton
f3b13b0816 chore: Update lock file
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-25 14:27:30 -04:00
Sebastian Malton
6ae078c91d chore: Add support for using injectionTokens in global overrides
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-25 14:27:30 -04:00
Alex Andreev
3532fc1dab
feat: Adjust container status colors to be distinguable with red/green filter (#7621)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2023-04-25 14:05:40 -04:00
Sebastian Malton
3746e28f95 chore(ci): Fix hash declaration
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-25 09:17:49 -04:00
Sebastian Malton
54e7f10ca5 ci: Fix daily alpha workflow to just create the next alpha
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-25 09:17:49 -04:00
dependabot[bot]
f2070a1e4c chore(deps-dev): Bump @typescript-eslint/eslint-plugin
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.59.0 to 5.59.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.59.1/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-25 08:20:57 -04:00
Panu Horsmalahti
5f3a7a5873
Display zero minAvailable/maxUnavailable as 0 instead of N/A (#7620)
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
2023-04-25 15:15:44 +03:00
dependabot[bot]
4024d184fa chore(deps-dev): Bump typedoc from 0.24.5 to 0.24.6
Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.24.5 to 0.24.6.
- [Release notes](https://github.com/TypeStrong/TypeDoc/releases)
- [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.24.5...v0.24.6)

---
updated-dependencies:
- dependency-name: typedoc
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-25 08:09:36 -04:00
dependabot[bot]
a12a78b244 chore(deps): Bump @ogre-tools/injectable-extension-for-mobx
Bumps [@ogre-tools/injectable-extension-for-mobx](https://github.com/ogre-works/ogre-tools) from 15.5.1 to 15.6.1.
- [Release notes](https://github.com/ogre-works/ogre-tools/releases)
- [Changelog](https://github.com/ogre-works/ogre-tools/blob/v15.6.1/CHANGELOG.md)
- [Commits](https://github.com/ogre-works/ogre-tools/compare/v15.5.1...v15.6.1)

---
updated-dependencies:
- dependency-name: "@ogre-tools/injectable-extension-for-mobx"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-25 08:09:10 -04:00
dependabot[bot]
ce6fd21521 chore(deps-dev): Bump @typescript-eslint/parser from 5.59.0 to 5.59.1
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.59.0 to 5.59.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.59.1/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-25 08:08:23 -04:00
Sebastian Malton
1c8559013b chore: Add test verifying new notification formatting behaviour
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-24 10:17:24 -04:00
Sebastian Malton
bcf95a65f1 fix: Remove incorrect timeout on standard info notifications
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-24 10:17:24 -04:00
Sebastian Malton
561d8dbc09 feat: Never auto-close error notifications
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-24 10:17:24 -04:00
Sebastian Malton
43f3059c9b test: Fix kube-api-version-detection tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-24 10:17:24 -04:00
Sebastian Malton
5dc94f291b chore: Update tests to use more business logic
- To have a higher confidence in the code, given that the old tests didn't save us
  from modifying the code before.

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-24 10:17:24 -04:00
Sebastian Malton
bc149f0627 chore: Simplify requestPatchKubeResource impl
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-24 10:17:24 -04:00
Sebastian Malton
b90e04e02d fix: Fix selfLink being missing from requestKubeResource
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-24 10:17:24 -04:00
Sebastian Malton
5fb08960fe chore: Simplify global overrides of requestKubeResource and requestPatchKubeResource
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-24 10:17:24 -04:00
Sebastian Malton
4716dcc434 chore: Rename injectables to remove redundancy
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-24 10:17:24 -04:00
Sebastian Malton
6c3e8e83c0 chore: Move files around to flatten hierarchy
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-24 10:17:24 -04:00
Sebastian Malton
456d6ae94f Fix: Correct getEditSelfLinkFor to produce correct selfLink
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-24 10:17:24 -04:00
Sebastian Malton
3439472065 feat: Improve formatting error messages from apiKube
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-24 10:17:24 -04:00
Sebastian Malton
bf6af58d80 fix: Add checks to KubeObject constructor to ensure shape
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-24 10:17:24 -04:00
Sebastian Malton
4634643f93 chore: Cleanup formatting of imports
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-24 10:17:24 -04:00
Sebastian Malton
2f21ba51d1 chore: Change parseKubeApi into a no-throw version
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-24 10:17:24 -04:00
Sebastian Malton
8dce32153f ci: Fix test of 'Cron Test' workflow
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-24 10:17:01 -04:00
dependabot[bot]
ff0d21f6a4 chore(deps-dev): Bump eslint from 8.38.0 to 8.39.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.38.0 to 8.39.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.38.0...v8.39.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-24 08:11:47 -04:00
dependabot[bot]
f901b7d031 chore(deps): Bump inquirer from 9.1.5 to 9.2.0
Bumps [inquirer](https://github.com/SBoudrias/Inquirer.js) from 9.1.5 to 9.2.0.
- [Release notes](https://github.com/SBoudrias/Inquirer.js/releases)
- [Commits](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.1.5...inquirer@9.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-24 08:11:38 -04:00
dependabot[bot]
d3dc43778b chore(deps-dev): Bump typedoc from 0.24.4 to 0.24.5
Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.24.4 to 0.24.5.
- [Release notes](https://github.com/TypeStrong/TypeDoc/releases)
- [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.24.4...v0.24.5)

---
updated-dependencies:
- dependency-name: typedoc
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-24 08:11:30 -04:00
dependabot[bot]
955378d86b chore(deps-dev): Bump @swc/core from 1.3.52 to 1.3.53
Bumps [@swc/core](https://github.com/swc-project/swc) from 1.3.52 to 1.3.53.
- [Release notes](https://github.com/swc-project/swc/releases)
- [Changelog](https://github.com/swc-project/swc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/swc-project/swc/compare/v1.3.52...v1.3.53)

---
updated-dependencies:
- dependency-name: "@swc/core"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-24 08:11:23 -04:00
Sebastian Malton
3d0b0b7bd1 chore: Fix showing-details-for-helm-release tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-21 14:11:15 -04:00
Sebastian Malton
6741b94220 chore: Fixup kube-object-menu tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-21 14:11:15 -04:00
Sebastian Malton
535bac4df9 chore: Update snapshots after adding new testid
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-21 14:11:15 -04:00
Sebastian Malton
bb5876b39c chore: Add behavioural tests for deleting sub namespaces
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-21 14:11:15 -04:00
Sebastian Malton
89cf491bc0 feat: Add deleting subNamespaces to contextMenu
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-21 14:11:15 -04:00
Sebastian Malton
aa950026a3 feat: Add removing subNamespaces to Namespace route
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-21 14:11:15 -04:00
Sebastian Malton
c5572257bd feat: Introduce injectables to remove subNamespaces
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-21 14:11:15 -04:00
Sebastian Malton
87598fc7d1 chore: Fix spelling of injectable
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-21 14:11:15 -04:00
Sebastian Malton
bdc42901ba chore: Cleanup Namespace.isControlledByHNC
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-21 14:11:15 -04:00
dependabot[bot]
f0e0dd1ba7 chore(deps-dev): Bump memfs from 3.5.0 to 3.5.1
Bumps [memfs](https://github.com/streamich/memfs) from 3.5.0 to 3.5.1.
- [Release notes](https://github.com/streamich/memfs/releases)
- [Changelog](https://github.com/streamich/memfs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/streamich/memfs/compare/v3.5.0...v3.5.1)

---
updated-dependencies:
- dependency-name: memfs
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-21 09:44:16 -04:00
Sebastian Malton
d984e9e305 chore: Fix unit tests failing due to using require.context in unit tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-20 10:58:08 -04:00
Jari Kolehmainen
e7b8e63053 chore: Move resource templates to @k8slens/resource-templates
- Switch to using webpack to bundle the templates instead of electron-builder

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-20 10:58:08 -04:00
dependabot[bot]
7ed2e83493 chore(deps-dev): Bump @types/node from 16.18.23 to 16.18.24
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.18.23 to 16.18.24.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-20 10:22:16 -04:00
Sebastian Malton
799a3cbd1c fix: Make sure that the @k8slens/core dep in @k8slens/extensions is exact
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-20 09:44:57 -04:00
Sebastian Malton
6528ce5215 Release 6.5.0-alpha.8
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-20 09:44:57 -04:00
Gabriel
ee4fbc37cc replaced with export from @k8slens/button to maintain backwards compatibility
Signed-off-by: Gabriel <gaccettola@mirantis.com>
2023-04-20 09:02:46 -04:00
Gabriel
76c11aa697 fix: lint:fix
Signed-off-by: Gabriel <gaccettola@mirantis.com>
2023-04-20 09:02:46 -04:00