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

3947 Commits

Author SHA1 Message Date
Sebastian Malton
7a65887fee chore: Add some behavioural tests for custom columns for custom resources
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-12 14:14:39 -04:00
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
Gabriel
0c7a0b3787 chore: remove commented code
Signed-off-by: Gabriel <gaccettola@mirantis.com>
2023-05-12 19:57:06 +02:00
Gabriel
3714fb24c1 chore: half remove unoverride, more to follow
Signed-off-by: Gabriel <gaccettola@mirantis.com>
2023-05-12 19:57:06 +02:00
Gabriel
cc94b69860 chore: half remove unoverride, more to follow
Signed-off-by: Gabriel <gaccettola@mirantis.com>
2023-05-12 19:57:06 +02:00
Gabriel
8445d6eabc unbump version
Signed-off-by: Gabriel <gaccettola@mirantis.com>
2023-05-12 19:57:06 +02:00
Gabriel
4933b2a402 chore: fix package exports
Signed-off-by: Gabriel <gaccettola@mirantis.com>
2023-05-12 19:57:06 +02:00
Gabriel
c3bc1ff0d9 chore: revert version
Signed-off-by: Gabriel <gaccettola@mirantis.com>
2023-05-12 19:57:06 +02:00
Gabriel
5bc3f604d8 chore: revert version
Signed-off-by: Gabriel <gaccettola@mirantis.com>
2023-05-12 19:57:06 +02:00
Gabriel
7b28cf89f7 chore: unbump version
Signed-off-by: Gabriel <gaccettola@mirantis.com>
2023-05-12 19:57:06 +02:00
Gabriel
9fc07ab56c chore: export ui-component styles
Signed-off-by: Gabriel <gaccettola@mirantis.com>
2023-05-12 19:57:06 +02:00
Juho Heikka
4dcdd9152c
Add welcome page to hotbar (#7717)
Signed-off-by: Juho Heikka <juho.heikka@gmail.com>
2023-05-12 10:05:33 +03: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
K8s Lens Bot
d73ef8fb1b Release 6.5.0-alpha.11
Signed-off-by: K8s Lens Bot <info@k8slens.dev>
2023-05-11 08:23:35 -04:00
Iku-turso
6902851026 fix: Add missing styles to fix terminal resizing
Co-authored-by: Gabriel <gaccettola@mirantis.com>
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
2023-05-10 15:14:31 +03:00
Janne Savolainen
e8491ca2d3 fix: Kludge cluster settings not opening when extension introduces new settings without ID when title contains spaces
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2023-05-10 15:01:20 +03:00
Janne Savolainen
9c7be39eb1 fix: Bring back search filters for pods which were accidentally removed previously
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2023-05-10 14:21:20 +03:00
Alex Andreev
3ffb243111
Fix open-lens package address in prestart-dev (#7714)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2023-05-10 13:48:09 +03:00
Janne Savolainen
f2cb51884f chore: Adapt unit tests for more strict API parsing
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2023-05-10 09:39:01 +03:00
Iku-turso
befbe62e63 chore: Refactor legacy code to use pattern matching
Also add missing unit tests to cover more.

Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
2023-05-10 09:39:01 +03:00
Iku-turso
bba0759d27 chore: Introduce utility function to prepend strings
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
2023-05-10 09:39:01 +03:00
Iku-turso
7ca54d8f07 chore: Introduce utility function for "pattern matching" using regex
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
2023-05-10 09:39:01 +03:00
Janne Savolainen
ce31715cfd chore: Remove dead code in API parsing
apiPrefix is always at least "/", making the removed code unreachable.

Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2023-05-10 09:39:01 +03:00
Janne Savolainen
bb400ae667 fix: Add test as repro, and fix bug about kube API details not opening
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2023-05-10 09:39:01 +03: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
K8s Lens Bot
b7ac14df73 Release 6.5.0-alpha.10
Signed-off-by: K8s Lens Bot <info@k8slens.dev>
2023-05-09 08:49:48 -04:00
Juho Heikka
da20a93d41 Change welcome icon to home
Signed-off-by: Juho Heikka <juho.heikka@gmail.com>
2023-05-08 10:19:24 -04:00
Panu Horsmalahti
8634514c9a
Make StatefulSet dialog consistent with ReplicaSet (#7685)
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
2023-05-08 14:18:05 +03:00