Gabriel
161cfa7d2a
chore: extract @k8slens/resizing-anchor
...
Signed-off-by: Gabriel <gaccettola@mirantis.com>
2023-04-26 15:40:00 +02: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
Gabriel
7dff8e31a6
chore: extract error-boundary
...
Signed-off-by: Gabriel <gaccettola@mirantis.com>
2023-04-26 14:03:30 +02:00
Gabriel
815e9adfca
chore: updated deps
...
Signed-off-by: Gabriel <gaccettola@mirantis.com>
2023-04-25 17:38:02 -04:00
Gabriel
8c0220c353
fix: observableHistoryInjectionToken and 1 revert for GlobalOverride
...
Signed-off-by: Gabriel <gaccettola@mirantis.com>
2023-04-25 17:38:02 -04:00
Iku-turso
db9a3675e1
chore: Extract an injectionToken
...
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
2023-04-25 17:38:02 -04:00
Gabriel
0dae1594ba
fix: removed dependencies: [reactApplicationFeature],
...
Signed-off-by: Gabriel <gaccettola@mirantis.com>
2023-04-25 17:38:02 -04:00
Gabriel
b33a8b4960
fix: add routingFeature to getDiForUnitTesting
...
Signed-off-by: Gabriel <gaccettola@mirantis.com>
2023-04-25 17:38:02 -04:00
Gabriel
e8c94abc0b
feature @k8slens/routing
...
Signed-off-by: Gabriel <gaccettola@mirantis.com>
2023-04-25 17:38:02 -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
Alex Andreev
3532fc1dab
feat: Adjust container status colors to be distinguable with red/green filter ( #7621 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2023-04-25 14:05:40 -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
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
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
Jari Kolehmainen
e7b8e63053
chore: Move resource templates to @k8slens/resource-templates
...
- Switch to using webpack to bundle the templates instead of electron-builder
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-20 10:58:08 -04:00
Gabriel
ee4fbc37cc
replaced with export from @k8slens/button to maintain backwards compatibility
...
Signed-off-by: Gabriel <gaccettola@mirantis.com>
2023-04-20 09:02:46 -04:00
Gabriel
76c11aa697
fix: lint:fix
...
Signed-off-by: Gabriel <gaccettola@mirantis.com>
2023-04-20 09:02:46 -04:00
Gabriel
5128730fd2
chore: extract button from core for error-boundary
...
Signed-off-by: Gabriel <gaccettola@mirantis.com>
2023-04-20 09:02:46 -04:00
Panu Horsmalahti
63ad14d5d1
List more than 256 helm releases.
...
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
2023-04-20 09:02:08 -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
9cafc8e6b1
chore: Fix spelling in ResizingAnchorProps
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-19 09:21:04 -04:00
Gabriel
01059d8cb1
chore: extract tooltip into package
...
- chore: add sanity check unit test
- chore: added tailwind.config.js to fix build
- chore: .swcrc added for tests to pass
- chore(deps): sass is not a dependency
- fix: manually import the tooltip css to fix tooltips not showing up
- chore: Run lint:fix against code
- chore: Fix use of mock in @k8slens/core
Signed-off-by: Gabriel <gaccettola@mirantis.com>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-19 09:21:04 -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
53920a7046
chore: Switch semanticBuildVersion 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