Sebastian Malton
127a441abb
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 09:27:07 -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
Jari Kolehmainen
7b8bd1e758
chore: move kube-api related tests from core
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2023-05-29 09:38:24 -04: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
Juho Heikka
208262a447
Fix helm chart rollback API address
...
Signed-off-by: Juho Heikka <juho.heikka@gmail.com>
2023-05-25 15:06:56 -04:00
Sami Tiilikainen
90c449cc0d
fix: Handle log responses as text ( #7776 )
...
Signed-off-by: Sami Tiilikainen <97873007+samitiilikainen@users.noreply.github.com>
2023-05-25 09:23:18 -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
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
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
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
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
8ac66380ad
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-23 10:46:02 +02: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
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
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
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
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
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
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
Jari Kolehmainen
04a23fc4f9
chore: extract json-api from core
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2023-05-04 12:51:11 +03:00
Gabriel
908d6b381d
chore: loggerInjectionToken
...
Signed-off-by: Gabriel <gaccettola@mirantis.com>
2023-05-03 14:24:14 -07:00
Gabriel
66f28046b9
@k8slens/logger
...
Signed-off-by: Gabriel <gaccettola@mirantis.com>
2023-05-03 14:24:14 -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
8461cde200
chore: Fix kube-api tests
...
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
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
Jari Kolehmainen
1c23162b58
chore: extract event-emitter from core
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2023-05-02 17:07:39 +03: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
Panu Horsmalahti
5f3a7a5873
Display zero minAvailable/maxUnavailable as 0 instead of N/A ( #7620 )
...
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
2023-04-25 15:15:44 +03: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
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
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
bdc42901ba
chore: Cleanup Namespace.isControlledByHNC
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-21 14:11:15 -04:00
Sami Tiilikainen
5eb41e8a6c
List layout column injection token package ( #7544 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
Signed-off-by: Sami Tiilikainen <97873007+samitiilikainen@users.noreply.github.com>
Co-authored-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2023-04-20 09:01:50 -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
eafd1efbc0
chore: Remove InitializableState for loosing competition
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-18 08:16:40 -04:00
Sebastian Malton
353da78d4b
chore: Switch defaultUpdateChannel to not use Initializable at all
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-18 08:16:40 -04:00
Sebastian Malton
fc18c61d36
chore: Switch releaseChannel to not use Initializable at all
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-18 08:16:40 -04:00
Sebastian Malton
6fa9e2cde6
chore: Switch semanticBuildVersion to use new Initializable
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-18 08:16:40 -04:00