Commit Graph
100 Commits
Author SHA1 Message Date
Sebastian Malton b4e9e0cbb4 chore: Update @orge-tools/* deps
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-19 14:58:27 -04:00
Sebastian Malton 30fccf7e70 chore: Move around Custom Resource and Custom Resource Definition files to simplify names
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-19 14:58:27 -04:00
Sebastian Malton c0f74983f5 chore: Factor out NavigateToCustomResources type
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-19 14:58:27 -04:00
Sebastian Malton d6775da1d2 chore: Cleanup custom resource route definition
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-19 14:58:27 -04:00
Sebastian Malton 51c5e1263e 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-19 14:58:27 -04:00
Sebastian Malton 547cfc7f79 fix: Custom Resource Definitions sidebar item should navigate to the correct route
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-19 14:58:27 -04:00
Sebastian Malton b83f54e34a fix: Custom Resource Definitions should be the first entry in the side bar
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-19 14:58:27 -04:00
Sebastian Malton 6d75f19f7d chore: Fix tests after rebase
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-19 14:58:27 -04:00
Sebastian Malton f1fd2c26a9 chore: Fix integration tests failing due to helm testid's changing
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-19 14:58:27 -04:00
Sebastian Malton e87d7146d9 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-19 14:58:27 -04:00
Sebastian Malton e907fd6fb5 chore: Improve title formatting for Horizontal/Vertical Pod Autoscalers
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-19 14:58:27 -04:00
Sebastian Malton f3ccc35ed7 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-19 14:58:27 -04:00
Sebastian Malton be6e9f20f4 chore: Update integration tests to new testid format
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-19 14:58:27 -04:00
Sebastian Malton b79412fa16 chore: Fix more lint
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-19 14:58:27 -04:00
Sebastian Malton dfa4629e34 chore: Fix lint
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-19 14:58:27 -04:00
Sebastian Malton 949a25ae1d 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-19 14:58:27 -04:00
Sebastian Malton 5a911f46df chore: Convert sidebarItemInjectionToken to use InjectWithMetadata instead of duplicating the IDs
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-19 14:58:27 -04:00
Sebastian Malton 0e44da0559 chore: Rename sidebar item injectable files
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-19 14:58:27 -04:00
Sebastian Malton 45cd7676f6 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-19 14:58:27 -04:00
Sebastian Malton 00f0b9fce4 fix: Remove erroneous prefixes when using loggerInjectable and prefixLoggerInjectable
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-19 14:19:50 -04:00
Sebastian Malton 618a1c7004 chore: Fixup dependencies and ensure no duplication between kinds of dependencies
- Also un-bump xterm-fit-addon as it is only compatible with xterm@^5

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-16 16:42:33 -04:00
Sebastian Malton a9f48ee93a chore: Simplify file route handling
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-16 16:42:27 -04:00
Sebastian Malton 33a9f3ea35 fix: Copy fonts from @k8slens/core to open-lens correctly
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-16 16:42:27 -04:00
Sebastian Malton 14653c84e6 chore: Fix lint
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-16 16:42:15 -04:00
Sebastian Malton 4f8e4707f9 fix: Switch to using IAsyncComputed to resolve bad setState error within ClusterOverview from react
- The ClusterOverviewStore (now just ClusterStore) is not an exported type,
  so removing the legacy and wrong-abstraction code from it is not
  a breaking change

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-16 16:42:15 -04:00
Sebastian Malton 6fc01284d3 chore: Support and switch to using ^9.6.5 version of NPM
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-15 15:58:46 -04:00
Sebastian Malton f2247adfdb chore: Fix dev mode of open-lens running is circles
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-15 15:58:35 -04:00
Sebastian Malton 1a817d314c chore: Update snapshot after rebase with master
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-15 11:56:30 -04:00
Sebastian Malton 978015510a chore: Add some behavioural tests for custom columns for custom resources
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-15 11:56:30 -04:00
Sebastian Malton 2ca77ecfe8 fix: Fix StrictReactNode not accepting multiple children
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-15 11:56:30 -04:00
Sebastian Malton 9ab8cf7bef chore: Remove incorrect function documentation
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-15 11:56:30 -04:00
Sebastian Malton c76b30cf4a chore: Fix typo in CRD view
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-15 11:56:30 -04:00
Sebastian Malton 05784f5dfe chore: Fix spelling mistake in CRD type
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-15 11:56:30 -04:00
Sebastian Malton 7b57f0d52d chore: Remove unnecessary use of toSafeReactChildrenArray
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-15 11:56:30 -04:00
Sebastian Malton 58263497ae chore: Add documenting ref to StrictReactNode type
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-15 11:56:30 -04:00
Sebastian Malton d8823085a8 chore: Change name from SafeReactNode to StrictReactNode
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-15 11:56:30 -04:00
Sebastian Malton e88de58b5d chore: Remove unnecessary use of SingleOrMany<SafeReactNode>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-15 11:56:30 -04:00
Sebastian Malton adb288e48a chore: Update snapshots due to adding new data-testid
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-15 11:56:30 -04:00
Sebastian Malton 15b942aa39 chore: Add unit tests to cover the hovering bug
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-15 11:56:30 -04:00
Sebastian Malton 9d51ef2aa6 fix: Don't crash when hovering hotbar menu index
- Remove all uses of React.ReactNode as it is unsafe, replace them with
  usages of SafeReactNode which doesn't contain the '{}' type

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-15 11:56:30 -04:00
Sebastian Malton 138f9d14ff chore: Only download binaries for the current platform by default
- Set the DOWNLOAD_ALL_ARCHITECTURES env var to "true" to download for both platforms

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-11 09:31:49 -04:00
Sebastian Malton 786e0e8ac9 chore: Fix build failing on non-windows platforms
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-09 12:50:45 -04:00
Sebastian Malton c4d56ef1a7 chore: Don't fail daily alpha workflow when there is nothing to release
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-09 10:10:30 -04:00
Sebastian Malton 3b3d86c9d5 chore: Replace fil:/// instead of file://
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-09 09:55:25 -04:00
Sebastian Malton 9f72b628be chore: Remove use of glob in CopyPlugin to fix build
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-09 09:55:25 -04:00
Sebastian Malton 2d19948a77 chore: Fix building open-lens on windows
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-09 09:55:25 -04:00
Sebastian Malton 71461feec7 chore: Update snapshot of @k8slens/webpack
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-09 09:55:25 -04:00
Sebastian Malton 81a9a94acb chore: Remove debug logging
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-09 09:55:25 -04:00
Sebastian Malton 0a2bc6cf2c chore: Move describeIf and itIf to @k8slens/test-utils
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-09 09:55:25 -04:00
Sebastian Malton b3f7f9cc56 chore: Remove dead comment
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-09 09:55:25 -04:00
Sebastian Malton 700a9024a8 chore: Run lint on webpack/renderer
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-09 09:55:25 -04:00
Sebastian Malton 91354eae01 chore: Fix build of open-lens
- Remove need for using relative paths during build

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-09 09:55:25 -04:00
Sebastian Malton 6167ad2c25 chore: Fixup unit tests calling 'allowKubeResource' at the wrong time
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-09 09:28:18 -04:00
Sebastian Malton 40af0d31c5 fix: Do not crash when opening details of a helm release
- Switch to using RequestChannel instead of LensProxy for better
  type safety

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-09 09:28:18 -04:00
Sebastian Malton d1fe1b5ed3 chore: Fix daily alpha workflow not having enough commits
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-05 09:38:34 -04:00
Sebastian Malton 2b721ab1c9 Release 6.5.0-alpha.9
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-04 13:32:56 -07:00
Sebastian Malton d989ee11eb chore: Fix daily alpha to generate release PR
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-04 10:42:42 -07:00
Sebastian Malton 998cc36454 chore: Fix formatting of V1 cluster connection scenario
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-03 06:05:29 -07:00
Sebastian Malton 6b3b1757f2 chore: Finish fleshing out V2 of cluster connection scenario
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-03 06:05:29 -07:00
Sebastian Malton 57632ca45d docs: Rework cluster connection flow scenarios
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-03 06:05:29 -07:00
Sebastian Malton f2f6cc500c fix: Add new packages to open-lens to fix build
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-02 10:11:52 -07:00
Sebastian Malton 962ecddb3f chore: Fix deployment scale tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-02 10:11:52 -07:00
Sebastian Malton 97b2d8b1ae chore: Fix build missing 'Scale' type
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-02 10:11:52 -07:00
Sebastian Malton e0ce2a39bd chore: Update lint rules
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-02 10:11:52 -07:00
Sebastian Malton fe3310624f chore: Revert eslint change
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-02 10:11:52 -07:00
Sebastian Malton a42749386a chore: Fix lint
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-02 10:11:52 -07:00
Sebastian Malton 8461cde200 chore: Fix kube-api tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-02 10:11:52 -07:00
Sebastian Malton 34a721a6f9 chore: Update snapshots for cluster-frame
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-02 10:11:52 -07:00
Sebastian Malton fd5f912ccf chore: Fix kube-object-list-layout tests to maintain snapshot shape
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-02 10:11:52 -07:00
Sebastian Malton dcc5495312 chore: Change refactoring of implementation to maintain behaviour
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-02 10:11:52 -07:00
Sebastian Malton 8395c262ad chore: Fix lint
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-02 10:11:52 -07:00
Sebastian Malton 44d3859d3f chore: Update lock file
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-02 10:11:52 -07:00
Sebastian Malton b4d5732071 chore: Use new typings of metrics components
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-02 10:11:52 -07:00
Sebastian Malton 8f8f77550f fix!: Use correct typing for Metrics tokens
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-02 10:11:52 -07:00
Sebastian Malton 80458170ad chore: Use new typings for pod columns
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-02 10:11:52 -07:00
Sebastian Malton 721c3b17ff fix!: Improve typing of columns for kube object list layout
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-02 10:11:52 -07:00
Sebastian Malton 1bf24db797 chore: Extract @k8slens/kube-object package
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-02 10:11:52 -07:00
Sebastian Malton 576373b16b chore: Extract legacy global di into separate package
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-02 10:11:52 -07:00
Sebastian Malton 3a727fbeb2 chore: Add git fetch to daily alpha to fix error
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-01 17:09:19 -04:00
Sebastian Malton 259db43073 chore: Switch to using GH_TOKEN for daily alpha
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-01 16:17:54 -04:00
Sebastian Malton 950e3a8a7d chore(ci): Fix Daily Alpha workflow
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-01 16:17:54 -04:00
Sebastian Malton b8abe07177 chore: Update snapshots to match new behaviour
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-26 09:43:47 -04:00
Sebastian Malton 43cedae7b0 fix: Only show Update Channel preferences when applicable
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-26 09:43:47 -04:00
Sebastian Malton a0953df4b1 chore: Flatten file hierarchy
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-26 09:43:47 -04:00
Sebastian Malton 4379edf0c7 chore: Remove leading '+' on some directory names
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-26 09:26:39 -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
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
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