Sebastian Malton
2d46ff4e96
fix: Fix StrictReactNode not accepting multiple children
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-05-12 14:14:39 -04:00
Sebastian Malton
8cd829e209
chore: Remove incorrect function documentation
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-05-12 14:14:39 -04:00
Sebastian Malton
2d428baf82
chore: Fix typo in CRD view
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-05-12 14:14:39 -04:00
Sebastian Malton
65376e6c52
chore: Fix spelling mistake in CRD type
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-05-12 14:14:39 -04:00
Sebastian Malton
0cc7303751
chore: Remove unnecessary use of toSafeReactChildrenArray
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-05-12 14:14:39 -04:00
Sebastian Malton
cc9c246b65
chore: Add documenting ref to StrictReactNode type
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-05-12 14:14:38 -04:00
Sebastian Malton
78085d2fb7
chore: Change name from SafeReactNode to StrictReactNode
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-05-12 14:14:38 -04:00
Sebastian Malton
7bc8a66bcf
chore: Remove unnecessary use of SingleOrMany<SafeReactNode>
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-05-12 14:14:38 -04:00
Sebastian Malton
7b34672136
chore: Update snapshots due to adding new data-testid
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-05-12 14:14:38 -04:00
Sebastian Malton
98c39b82ac
chore: Add unit tests to cover the hovering bug
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-05-12 14:14:38 -04:00
Sebastian Malton
2a8b2af898
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-12 14:14:37 -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
Sebastian Malton
3439472065
feat: Improve formatting error messages from apiKube
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-24 10:17:24 -04:00
Sebastian Malton
bf6af58d80
fix: Add checks to KubeObject constructor to ensure shape
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-24 10:17:24 -04:00
Sebastian Malton
4634643f93
chore: Cleanup formatting of imports
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-24 10:17:24 -04:00
Sebastian Malton
2f21ba51d1
chore: Change parseKubeApi into a no-throw version
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-24 10:17:24 -04:00
Sebastian Malton
8dce32153f
ci: Fix test of 'Cron Test' workflow
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-24 10:17:01 -04:00
Sebastian Malton
3d0b0b7bd1
chore: Fix showing-details-for-helm-release tests
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-21 14:11:15 -04:00
Sebastian Malton
6741b94220
chore: Fixup kube-object-menu tests
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-21 14:11:15 -04:00
Sebastian Malton
535bac4df9
chore: Update snapshots after adding new testid
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-21 14:11:15 -04:00
Sebastian Malton
bb5876b39c
chore: Add behavioural tests for deleting sub namespaces
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-21 14:11:15 -04:00
Sebastian Malton
89cf491bc0
feat: Add deleting subNamespaces to contextMenu
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-21 14:11:15 -04:00
Sebastian Malton
aa950026a3
feat: Add removing subNamespaces to Namespace route
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-21 14:11:15 -04:00
Sebastian Malton
c5572257bd
feat: Introduce injectables to remove subNamespaces
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-21 14:11:15 -04:00
Sebastian Malton
87598fc7d1
chore: Fix spelling of injectable
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-21 14:11:15 -04:00
Sebastian Malton
bdc42901ba
chore: Cleanup Namespace.isControlledByHNC
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-21 14:11:15 -04:00
Sebastian Malton
d984e9e305
chore: Fix unit tests failing due to using require.context in unit tests
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-20 10:58:08 -04:00
Sebastian Malton
799a3cbd1c
fix: Make sure that the @k8slens/core dep in @k8slens/extensions is exact
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-20 09:44:57 -04:00
Sebastian Malton
6528ce5215
Release 6.5.0-alpha.8
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-20 09:44:57 -04:00
Sebastian Malton
4bb37df1cd
chore: Expand withTooltip unit tests
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-20 09:01:21 -04:00
Sebastian Malton
192d8119db
docs: Add documentation for cluster connection flow
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-19 16:18:49 -04:00
Sebastian Malton
9656b8c577
chore: Fix unit tests by increasing coverage of tooltip to 100%
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-19 15:01:02 -04:00
Sebastian Malton
1eeddbb377
chore: Update package-lock to fix CI
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-19 12:42:37 -04:00
Sebastian Malton
46f7e70cb3
docs: Fix generating markdown for api docs
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-19 12:42:37 -04:00
Sebastian Malton
5d9cdee31f
docs: Fix initial warnings from generating API docs
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-19 12:42:37 -04:00
Sebastian Malton
45574d49cc
docs: Fix generating docs
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-19 12:42:37 -04:00
Sebastian Malton
98c371ef0c
chore: Bump typedoc and typedoc-plugin-markdown
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-19 12:42:37 -04:00
Sebastian Malton
23f124791a
chore: Fix test failing
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-19 09:21:04 -04:00
Sebastian Malton
9f3550be14
chore: Update snapshots for tooltip
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-19 09:21:04 -04:00
Sebastian Malton
9cafc8e6b1
chore: Fix spelling in ResizingAnchorProps
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-19 09:21:04 -04:00
Sebastian Malton
eac7691d75
chore: Revert only running one cluster page e2e test
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2023-04-18 13:08:32 -04:00