Commit Graph
100 Commits
Author SHA1 Message Date
Sebastian Malton 1ae2a99eaf chore: Fixup lint of @k8slens/core after rebase
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-06-01 09:27:46 -04:00
Sebastian Malton d4cba62218 chore: Fix lint failing on a clean repo
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-06-01 09:27:46 -04:00
Sebastian Malton 271f8860e2 chore: Fixup remaining type errors from core
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-06-01 09:27:46 -04:00
Sebastian Malton 894553cdea chore: Update lockfile
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-06-01 09:27:45 -04:00
Sebastian Malton b35467fb3d chore: Turn on react/jsx-closing-bracket-location
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-06-01 09:27:45 -04:00
Sebastian Malton 1675c56e59 chore: Turn on @typescript-eslint/strict-boolean-expressions
- Fix some bugs about bad conditions

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-06-01 09:27:44 -04:00
Sebastian Malton d3f45bfe49 chore: Update lock file
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-06-01 09:26:32 -04:00
Sebastian Malton 032e9a19ec chore: Fix type errors in menu via casting
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-06-01 09:26:31 -04:00
Sebastian Malton eaa39274ab chore: Fix tests being wrong
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-06-01 09:26:31 -04:00
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 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
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
Sebastian Malton 5432259e05 fix: Fix build not working due to missing dependencies
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-29 09:38:24 -04:00
Sebastian Malton 8fd0b5fab4 chore: Move kubeApiInjectionToken into own package
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-29 09:38:24 -04:00
Sebastian Malton 711ad11bf1 chore: Revert kube-api-parse test changes
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-29 09:38:24 -04:00
Sebastian Malton 79e4eaa394 Release 6.5.0
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-26 14:00:45 -04:00
Sebastian Malton f9098bf639 feat: Support picking rebased PRs for patch releases
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-26 11:03:19 -04:00
Sebastian Malton 4b63bc238e chore: Fix lens-webpack-build failing due to warnings
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-25 15:15:19 -04:00
Sebastian Malton 4e6b51e2ef chore: Rename KubeObject tests to better clarity
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-25 09:51:40 -04:00
Sebastian Malton e7b030e2cd chore: Simplify KubeObject tests to use stub data
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-25 09:51:40 -04:00
Sebastian Malton 723e8452cf chore: Improve KubeObject tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-25 09:51:40 -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 18b89d9a85 fix: Remove incorrect KubeObject validations
- Default to using the ensured selfLink for ID if UID is not present

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-25 09:51:40 -04:00
Sebastian Malton dd62e034b7 Release 6.5.0-alpha.15
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-23 15:33:41 -04:00
Sebastian Malton 597dd36580 fix: Fix setting milestone on new release PRs
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-23 15:20:19 -04:00
Sebastian Malton 84f6a6a5ac fix: Switch to using authenticated GitHub API to increase rate limit
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-23 13:21:07 -04:00
Sebastian Malton ac0e384154 Release 6.5.0-alpha.14
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-23 11:34:49 -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 d90bdf6f14 Revert "chore: Fix lint"
This reverts commit 747f8cec94.
2023-05-23 10:08:42 -04:00
Sebastian Malton 813705fe90 Revert "chore: Fix more lint"
This reverts commit 83244ceefc.
2023-05-23 10:08:42 -04:00
Sebastian Malton be1fbcf8c3 Revert "chore: Update integration tests to new testid format"
This reverts commit d2183cb975.
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 1b43de50fe Revert "chore: Fix tests after rebase"
This reverts commit 58426370de.
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 40f1180579 Revert "chore: Cleanup custom resource route definition"
This reverts commit f65e5672b5.
2023-05-23 10:08:42 -04:00
Sebastian Malton d3cf7088d6 Revert "chore: Factor out NavigateToCustomResources type"
This reverts commit 5ba2dbab81.
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 8960142342 Revert "chore: Update @orge-tools/* deps"
This reverts commit 015a585a84.
2023-05-23 10:08:42 -04:00
Sebastian Malton 015a585a84 chore: Update @orge-tools/* deps
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-23 10:46:02 +02: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
Sebastian Malton 5ba2dbab81 chore: Factor out NavigateToCustomResources type
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-23 10:46:02 +02:00
Sebastian Malton f65e5672b5 chore: Cleanup custom resource route definition
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-23 10:46:02 +02:00
Sebastian Malton 723cfe8ae8 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-23 10:46:02 +02:00
Sebastian Malton 897e289514 fix: Custom Resource Definitions sidebar item should navigate to the correct route
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-23 10:46:02 +02:00
Sebastian Malton a8ff6ce095 fix: Custom Resource Definitions should be the first entry in the side bar
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-23 10:46:02 +02:00
Sebastian Malton 58426370de chore: Fix tests after rebase
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-23 10:46:02 +02:00
Sebastian Malton 6d4d331a41 chore: Fix integration tests failing due to helm testid's changing
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-23 10:46:02 +02:00
Sebastian Malton 86dcbb10c0 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-23 10:46:02 +02:00
Sebastian Malton d51ccb5dd5 chore: Improve title formatting for Horizontal/Vertical Pod Autoscalers
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-23 10:46:02 +02:00
Sebastian Malton a267c0ee7d 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-23 10:46:02 +02:00
Sebastian Malton d2183cb975 chore: Update integration tests to new testid format
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-23 10:46:02 +02:00
Sebastian Malton 83244ceefc chore: Fix more lint
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-23 10:46:02 +02:00
Sebastian Malton 747f8cec94 chore: Fix lint
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-23 10:46:02 +02:00