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

84 Commits

Author SHA1 Message Date
Alex Andreev
fa87ab5157 Move isSubnamespace method inside API
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2023-02-03 16:23:19 +03:00
Alex Andreev
db0cb45a30 Styling TreeView inside scss module
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2023-02-03 16:17:43 +03:00
Alex Andreev
c2b38591c4
Merge branch 'master' into enhancement-namespace-tree-view 2023-02-03 13:40:19 +03:00
Jari Kolehmainen
5002b450fd
Set core webpack dependencies as externals (#7094)
* core webpack dependencies as externals

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

* use fork-ts-checker-webpack-plugin

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

---------

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2023-02-02 16:52:21 +02:00
Alex Andreev
f8519e6ebd
Merge branch 'master' into enhancement-namespace-tree-view 2023-02-02 16:54:02 +03:00
Sebastian Malton
6d2efb99e7
Export more things for the extension API (#7088)
* Export more things for the extension API

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

* Provide more insight into the dist-tag computation

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

* Fix type errors

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

---------

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-02-02 08:28:56 -05:00
Alex Andreev
0df260ecd0 Replace CloseIcon with semi-transparent MinusIcon
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2023-02-02 12:51:55 +03:00
Alex Andreev
65a4e2b90a Merge branch 'master' into enhancement-namespace-tree-view 2023-02-02 11:59:37 +03:00
Sebastian Malton
7a57a89194
Release 6.4.0-beta.12 (#7086)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-02-01 16:13:39 -05:00
dependabot[bot]
5953510c11
Bump @typescript-eslint/eslint-plugin from 5.49.0 to 5.50.0 (#7075)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.49.0 to 5.50.0.
- [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.50.0/packages/eslint-plugin)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-01 15:56:47 -05:00
dependabot[bot]
c81a83ee84
Bump sass from 1.57.1 to 1.58.0 (#7073)
Bumps [sass](https://github.com/sass/dart-sass) from 1.57.1 to 1.58.0.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.57.1...1.58.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-01 15:54:38 -05:00
dependabot[bot]
e548d9b024
Bump @typescript-eslint/parser from 5.49.0 to 5.50.0 (#7074)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.49.0 to 5.50.0.
- [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.50.0/packages/parser)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-01 15:54:00 -05:00
dependabot[bot]
fef8e98fef
Bump @swc/cli from 0.1.59 to 0.1.60 (#7072)
Bumps [@swc/cli](https://github.com/swc-project/cli) from 0.1.59 to 0.1.60.
- [Release notes](https://github.com/swc-project/cli/releases)
- [Commits](https://github.com/swc-project/cli/compare/v0.1.59...v0.1.60)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-01 15:53:52 -05:00
Sebastian Malton
b982d41c55
Release 6.4.0-beta.11 (#7084)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-02-01 15:45:04 -05:00
Sebastian Malton
b19e355e0e
Move @k8slens/generate-tray-icons to seperate package (#7057)
* Move @k8slens/generate-tray-icons to seperate package

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

* Rename very long folder name to fix issue on windows

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

* Make it possible to build on windows using powershell

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

* Fix integration tests on windows

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

* Don't error on close directly

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

* Switch to type: module for generate-tray-icons

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

* Make more packages type:module

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

* Fix scripts needing node

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

---------

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-02-01 11:41:44 -08:00
Alex Andreev
8c0f85a20b
Merge branch 'master' into enhancement-namespace-tree-view 2023-02-01 17:18:38 +03:00
Jari Kolehmainen
df6f4b5fa0
Allow to develop & build on Windows powershell (#7081)
* allow to develop & build on windows powershell

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

* remove hardcoded bash shell from test workflow

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

* use rimraf

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

---------

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2023-02-01 15:58:18 +02:00
Alex Andreev
4ab9f73e35 Merge branch 'master' into enhancement-namespace-tree-view 2023-02-01 15:02:02 +03:00
Alex Andreev
074536d529 Fix linter harder
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2023-02-01 14:33:37 +03:00
Alex Andreev
8c8701f8a6 Linter fixes
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2023-02-01 13:54:13 +03:00
Alex Andreev
1489264953 Adding tooltip for subnamespace badge
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2023-02-01 13:42:53 +03:00
Alex Andreev
78e77f7536 Restyling subnamespace badge
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2023-02-01 13:37:21 +03:00
Alex Andreev
752c60d755 Testing clicking plus icon
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2023-02-01 13:31:46 +03:00
Alex Andreev
0ecf00ed03 Expand and collapse tree nodes
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2023-02-01 13:29:22 +03:00
Alex Andreev
e6ab47f1eb Styling subnamespace badge
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2023-02-01 10:02:22 +03:00
Alex Andreev
270f7f839d Remove fontSize attr from SvgIcon
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2023-02-01 09:45:28 +03:00
Alex Andreev
e4221d891c Label and group styling
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2023-02-01 09:43:52 +03:00
dependabot[bot]
f445bd4eb9
Bump esbuild from 0.17.4 to 0.17.5 (#7061)
Bumps [esbuild](https://github.com/evanw/esbuild) from 0.17.4 to 0.17.5.
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md)
- [Commits](https://github.com/evanw/esbuild/compare/v0.17.4...v0.17.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-31 11:31:08 -05:00
dependabot[bot]
2c97c68e3c
Bump @swc/core from 1.3.30 to 1.3.31 (#7060)
Bumps [@swc/core](https://github.com/swc-project/swc) from 1.3.30 to 1.3.31.
- [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.30...v1.3.31)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-31 11:30:57 -05:00
dependabot[bot]
77cd89c54b
Bump typedoc from 0.23.23 to 0.23.24 (#7062)
Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.23.23 to 0.23.24.
- [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.23.23...v0.23.24)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-31 11:30:40 -05:00
Jari Kolehmainen
d3c4816e4b
set cwd when spawning kube auth proxy (#7069)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2023-01-31 18:23:29 +02:00
Sebastian Malton
9ca8dc86fd
Rename extension api parts as 'extensionApi' (#7066)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-01-31 10:00:49 -05:00
dependabot[bot]
694de50bda
Bump typescript from 4.9.4 to 4.9.5 (#7059)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.9.4 to 4.9.5.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-31 09:49:26 -05:00
Alex Andreev
d99bf38ff3 Initial label styling
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2023-01-31 16:29:13 +03:00
Alex Andreev
5f6f910cde Add links to the tree items
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2023-01-31 16:03:33 +03:00
Alex Andreev
803348dad1 Expand all nodes by default
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2023-01-31 14:52:29 +03:00
Alex Andreev
f0111391f2 Add tree view to namespace details
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2023-01-31 14:17:35 +03:00
Alex Andreev
304fcdc601 Testing rendering 2 levels deep
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2023-01-31 14:16:36 +03:00
Alex Andreev
34c3e3e498 Render subnamespace badge after name
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2023-01-31 13:33:50 +03:00
Alex Andreev
b0e27123b2 Remove unused lodash import
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2023-01-31 13:18:55 +03:00
Alex Andreev
ecba048c95 Render a child subnamespace
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2023-01-31 13:12:33 +03:00
Alex Andreev
2d2f2888cd Render namespace children
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2023-01-31 13:06:00 +03:00
Alex Andreev
0e9a6fbbe4 Introduce <NamespaceTreeView/>
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2023-01-31 12:23:20 +03:00
Alex Andreev
90d7e97fbb Initial tests for <NamespaceTreeView />
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2023-01-31 12:22:52 +03:00
Sebastian Malton
a73f166f1f
Fix @k8slens/extensions being broken after monorepo (#7058)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-01-30 16:32:30 -05:00
dependabot[bot]
8649e3e53e
Bump immer from 9.0.18 to 9.0.19 (#7048)
Bumps [immer](https://github.com/immerjs/immer) from 9.0.18 to 9.0.19.
- [Release notes](https://github.com/immerjs/immer/releases)
- [Commits](https://github.com/immerjs/immer/compare/v9.0.18...v9.0.19)

---
updated-dependencies:
- dependency-name: immer
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-30 09:39:23 -05:00
dependabot[bot]
98edab8a92
Bump eslint from 8.32.0 to 8.33.0 (#7049)
Bumps [eslint](https://github.com/eslint/eslint) from 8.32.0 to 8.33.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.32.0...v8.33.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-30 09:39:14 -05:00
dependabot[bot]
4ddb587f73
Bump eslint-plugin-react from 7.32.1 to 7.32.2 (#7050)
Bumps [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) from 7.32.1 to 7.32.2.
- [Release notes](https://github.com/jsx-eslint/eslint-plugin-react/releases)
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.32.1...v7.32.2)

---
updated-dependencies:
- dependency-name: eslint-plugin-react
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-30 09:39:03 -05:00
Jari Kolehmainen
4a47e92b95
Allow computed catalog source from extension (#7053)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2023-01-30 09:37:31 -05:00
dependabot[bot]
a370dbb15a
Bump @swc/core from 1.3.29 to 1.3.30 (#7047)
Bumps [@swc/core](https://github.com/swc-project/swc) from 1.3.29 to 1.3.30.
- [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.29...v1.3.30)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-30 09:26:25 -05:00