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

4106 Commits

Author SHA1 Message Date
Sebastian Malton
048ed7d143 chore: Use a helper to fix type errors from routeSpecificComponent
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-06-01 09:19:55 -04:00
Sebastian Malton
6642aef44a chore: Fix type errors around backend routes
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-06-01 09:18:01 -04:00
Sebastian Malton
f9843cc1cc chore: Fix type error with console format
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-06-01 09:18:00 -04:00
Sebastian Malton
f3b1bc565c chore: Fix type errors with KubeObjectDetails
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-06-01 09:18:00 -04:00
Sebastian Malton
d8d6403b32 chore: Fix type errors due to changing result error type
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-06-01 09:18:00 -04:00
Sebastian Malton
f21e42d7e7 chore: Fix type errors
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-06-01 09:18:00 -04:00
Sebastian Malton
8991e5daa1 chore: Fix spelling and type error in port forward route
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-06-01 09:18:00 -04:00
Sebastian Malton
0aaf0363c5 chore: Fix type error in EntityMetadata
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-06-01 09:18:00 -04:00
Sebastian Malton
d1a659bf74 feat: Improve typing of NavigateToRoute
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-06-01 09:18:00 -04:00
Sebastian Malton
cd62e9a2e8 chore: Fixup simple errors in tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-06-01 09:17:59 -04:00
Sebastian Malton
1bc837608c chore: Fix overriding errors by improving abstraction usage
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-06-01 09:17:42 -04:00
Sebastian Malton
a86361e09e chore: Cleanup kubectlApplyAllChannelHandler
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-06-01 09:17:42 -04:00
Sebastian Malton
0696f466a8 chore: Fix type errors from legacy extension registrators
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-06-01 09:17:42 -04:00
Sebastian Malton
3175c96c38 chore: Fix type errors relating to LensRendererExtension
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-06-01 09:17:42 -04:00
Sebastian Malton
3a62cd4848 chore: Fix new build errors in @k8slens/core
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-06-01 09:17:41 -04:00
Sebastian Malton
64f3a47230 chore: Fix package-lock and specify npm version
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-06-01 09:17:18 -04:00
Sebastian Malton
fa44b795d4 chore: Improve linting within @k8slens/core
- Turning on @typescript-eslint/recommended-requiring-type-checking
- Turning off @typescript-eslint/no-unnecessary-type-assertion (due too many false positives)
- Making @typescript-eslint/no-explicit-any an error (except in tests)

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-06-01 09:17:17 -04:00
Sebastian Malton
6184c2f03b chore: Fix lint for non @k8slens/core packages
- Update eslint config to be tighter in control

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-06-01 09:12:17 -04:00
Sebastian Malton
fcef072859 chore: Fixup dependencies of @k8slens/eslint-config
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-06-01 09:11:43 -04:00
Jan-Otto Kröpke
48a5e3c3be Update @electron/notarize
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
2023-06-01 08:42:27 -04:00
Gabriel
683ac4efcc chore: remove injectable from export
Signed-off-by: Gabriel <gaccettola@mirantis.com>
2023-06-01 11:36:30 +02:00
Gabriel
58e4ebcdea chore: bump package.json
Signed-off-by: Gabriel <gaccettola@mirantis.com>
2023-06-01 11:36:30 +02:00
Gabriel
86fa93ac8b chore: extract @k8slens/random
Signed-off-by: Gabriel <gaccettola@mirantis.com>
2023-06-01 11:36:30 +02:00
Janne Savolainen
847f2b1b7b Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Bump ogre-tools to latest

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2023-06-01 11:09:58 +03:00
Janne Savolainen
fe77164311 Bump ogre-tools for linkable improvements
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2023-06-01 11:09:58 +03:00
Iku-turso
9a2d585e62 feat: Add support for lens-webpack-build --watch
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>

Signed-off-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
2023-06-01 08:57:01 +03:00
Iku-turso
28c9eeec36 feat: Make lens-webpack-build cope long lasting processes, eg. watch
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>

Signed-off-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
2023-06-01 08:57:01 +03:00
Iku-turso
0c2cc25b5b feat: Make webpack configuration trigger linkable-push
Previously this was done by lens-webpack-build, which is awkward for
build-scripts that watch.

Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>

Signed-off-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
2023-06-01 08:57:01 +03:00
Sebastian Malton
0c1e822788 chore: Move files around to better places
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-31 16:21:35 -04:00
Sebastian Malton
34adfcd20b fix: Retrieve projectVersion from main for 'extensions-persistent-storage'
- Prevent the version being changed by the renderer

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-31 16:21:35 -04:00
Sebastian Malton
5511a2f461 chore: Update snapshots after rebase
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-31 14:23:53 -04:00
Sebastian Malton
f6cc1b00c2 chore: Fix lint after rebase
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-31 14:23:53 -04:00
Sebastian Malton
b3990b535e chore: Fixup dependency versions of @k8slens/cluster-sidebar
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-31 14:23:53 -04:00
Sebastian Malton
a0e38b2178 chore: Update @orge-tools/* deps
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-31 14:23:53 -04:00
Sebastian Malton
b1a988e133 chore: Move around Custom Resource and Custom Resource Definition files to simplify names
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-31 14:23:53 -04:00
Sebastian Malton
66a7615e9c chore: Factor out NavigateToCustomResources type
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-31 14:23:53 -04:00
Sebastian Malton
e641509e3d chore: Cleanup custom resource route definition
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-31 14:23:53 -04:00
Sebastian Malton
147be22db3 fix: The command pallet command for navigating to Custom Resource Definitions should navigate to the correct route
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-31 14:23:53 -04:00
Sebastian Malton
bedd7a25bb fix: Custom Resource Definitions sidebar item should navigate to the correct route
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-31 14:23:53 -04:00
Sebastian Malton
49db31a9aa fix: Custom Resource Definitions should be the first entry in the side bar
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-31 14:23:53 -04:00
Sebastian Malton
1ff2436240 chore: Fix tests after rebase
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-31 14:23:53 -04:00
Sebastian Malton
54b6375a7e chore: Fix integration tests failing due to helm testid's changing
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-31 14:23:53 -04:00
Sebastian Malton
eb78edb226 fix: Fix formatting of custom resource sidebar items
- The titles should better handle being line wrapped

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-31 14:23:53 -04:00
Sebastian Malton
d37a765ac2 chore: Improve title formatting for Horizontal/Vertical Pod Autoscalers
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-31 14:23:53 -04:00
Sebastian Malton
27a14714c3 chore: Fix IDs for some sidebar items
- Also cleanup formatting of the sidebar item titles

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-31 14:23:53 -04:00
Sebastian Malton
27aaa3623d chore: Fixup tests snapshots to match new testid behaviour
- Move order-of-sidebar-items to the new package
- Fix the extension sidebar item registrator

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-31 14:23:53 -04:00
Sebastian Malton
7924ab5504 chore: Convert sidebarItemInjectionToken to use InjectWithMetadata instead of duplicating the IDs
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-31 14:23:53 -04:00
Sebastian Malton
04273dcda2 chore: Rename sidebar item injectable files
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-31 14:23:53 -04:00
Sebastian Malton
500ac15703 chore: Extract sidebar item injection token into separate package
- Add unit tests to cover custom resources sidebar items

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-31 14:23:53 -04:00
Gabriel
d28da8e7ac chore: update package version
Signed-off-by: Gabriel <gaccettola@mirantis.com>
2023-05-30 23:02:45 +02:00