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

228 Commits

Author SHA1 Message Date
Sebastian Malton
662aa0a491 chore: Fix type error by casting more
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-06-01 09:26:31 -04:00
Sebastian Malton
e5c25f94a3 chore: Improve typing of front end routes to fix type errors
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-06-01 09:26:31 -04:00
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
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
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
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
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
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
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
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
f6cc1b00c2 chore: Fix lint after rebase
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
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
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
Gabriel
da1d35d1de chore: extract @k8slens/animate
Signed-off-by: Gabriel <gaccettola@mirantis.com>
2023-05-30 23:02:45 +02:00
Gabriel
8ebe99ae54 chore: update snapshots
Signed-off-by: Gabriel <gaccettola@mirantis.com>
2023-05-30 21:35:33 +02:00
Gabriel
41798b718a extract @k8slens/icon
Signed-off-by: Gabriel <gaccettola@mirantis.com>
2023-05-30 21:35:33 +02:00
Jari Kolehmainen
1ab5323f68 chore: extract kube-api from core
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2023-05-29 09:38:24 -04:00
Alex Andreev
a22229ba60 Linter fix
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2023-05-29 12:00:33 +03:00
Alex Andreev
26b8ed66da Reverting table injection tokens (7754)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2023-05-29 12:00:33 +03:00
Alex Andreev
1ffdb6c89f
Table component injection tokens (#7754)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2023-05-26 13:32:25 +03:00
Juho Heikka
6520f2d767 Add space to the Rollback dialog header
Signed-off-by: Juho Heikka <juho.heikka@gmail.com>
2023-05-25 15:06:56 -04:00
Sebastian Malton
74cf677b1b chore: Fixup use of ServiceAccount to use getId
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-25 09:51:40 -04:00
Sebastian Malton
8f4aa497cc Revert "chore: Extract sidebar item injection token into separate package"
This reverts commit 8ac66380ad.
2023-05-23 10:08:42 -04:00
Sebastian Malton
cb0e8764ac Revert "chore: Rename sidebar item injectable files"
This reverts commit 72a1e2aaa0.
2023-05-23 10:08:42 -04:00
Sebastian Malton
93bc41f9a3 Revert "chore: Convert sidebarItemInjectionToken to use InjectWithMetadata instead of duplicating the IDs"
This reverts commit 81293304a7.
2023-05-23 10:08:42 -04:00
Sebastian Malton
9276df0592 Revert "chore: Fixup tests snapshots to match new testid behaviour"
This reverts commit e6bef1a168.
2023-05-23 10:08:42 -04:00
Sebastian Malton
753c8bfa85 Revert "chore: Fix IDs for some sidebar items"
This reverts commit a267c0ee7d.
2023-05-23 10:08:42 -04:00
Sebastian Malton
d4c12becfc Revert "chore: Improve title formatting for Horizontal/Vertical Pod Autoscalers"
This reverts commit d51ccb5dd5.
2023-05-23 10:08:42 -04:00
Sebastian Malton
5608a199be Revert "fix: Fix formatting of custom resource sidebar items"
This reverts commit 86dcbb10c0.
2023-05-23 10:08:42 -04:00
Sebastian Malton
96b7ecbadd Revert "chore: Fix integration tests failing due to helm testid's changing"
This reverts commit 6d4d331a41.
2023-05-23 10:08:42 -04:00
Sebastian Malton
1099e65c52 Revert "fix: Custom Resource Definitions should be the first entry in the side bar"
This reverts commit a8ff6ce095.
2023-05-23 10:08:42 -04:00
Sebastian Malton
7d46cb845d Revert "fix: Custom Resource Definitions sidebar item should navigate to the correct route"
This reverts commit 897e289514.
2023-05-23 10:08:42 -04:00
Sebastian Malton
fda4b928d2 Revert "fix: The command pallet command for navigating to Custom Resource Definitions should navigate to the correct route"
This reverts commit 723cfe8ae8.
2023-05-23 10:08:42 -04:00
Sebastian Malton
5f4cdbc519 Revert "chore: Move around Custom Resource and Custom Resource Definition files to simplify names"
This reverts commit e0e2194b11.
2023-05-23 10:08:42 -04:00
Sebastian Malton
e0e2194b11 chore: Move around Custom Resource and Custom Resource Definition files to simplify names
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-23 10:46:02 +02:00