Sebastian Malton
b6f694a3db
fix dock-tabs.test.tsx
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:19 -04:00
Sebastian Malton
a3b5c2110a
fix log-resource-selector.test.tsx
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:19 -04:00
Sebastian Malton
4fcfdae240
fix navigation-using-application-menu.test.ts
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:19 -04:00
Sebastian Malton
2684b4c130
fix catalog-entity-registry.test.ts
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:19 -04:00
Sebastian Malton
3c8b1d9a7b
extensions.test.tsx
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:19 -04:00
Sebastian Malton
955aa28bc8
Make ThemeStore non-singleton and fix navigation-to-terminal-preferences.test.ts
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:19 -04:00
Sebastian Malton
48d5aeb18c
fix catalog.test.tsx
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:19 -04:00
Sebastian Malton
387b044e69
fix navigation-using-application-menu.test.ts
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:19 -04:00
Sebastian Malton
85d0592e5e
fix sidebar-and-tab-navigation-for-extensions.test.tsx
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:19 -04:00
Sebastian Malton
e4f08a9eb7
fix sidebar-and-tab-navigation-for-core.test.tsx
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:19 -04:00
Sebastian Malton
27ec0573a3
try and fix behavioural tests
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:19 -04:00
Sebastian Malton
6a93ef0358
more crash fixing
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:19 -04:00
Sebastian Malton
16dbc63bba
fix bad previous commit
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:19 -04:00
Sebastian Malton
b4ca52488c
remove unused legacy KubeApi globals
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:19 -04:00
Sebastian Malton
ee8e36911c
fix lint
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:19 -04:00
Sebastian Malton
930af6c6fd
convert all KubeObjectStores to injectable with legacy global backups
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:19 -04:00
Sebastian Malton
096ab7b601
factor out into a common file all the exports
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:19 -04:00
Sebastian Malton
1031d754f6
convert all KubeApis to injectable with legacy global backups
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:19 -04:00
Sebastian Malton
56e5c601a8
some more fixing type errors
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:19 -04:00
Sebastian Malton
bef48872fe
fixing more type errors
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:19 -04:00
Sebastian Malton
595bb715a9
fix type errors, most <Select /> errors
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:19 -04:00
Sebastian Malton
d55b363df9
fix api-kube
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:18 -04:00
Sebastian Malton
fb154f0674
fix circular dependency on catalogCategoryRegistry
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:18 -04:00
Sebastian Malton
56a42ea9ff
fix circular dependency
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:18 -04:00
Sebastian Malton
853f0870c2
fix wrong types for extensions
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:18 -04:00
Sebastian Malton
f72880fa44
fix crd-list.tsx
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:18 -04:00
Sebastian Malton
b2d36493ae
fix namespace-select-filter.tsx
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:18 -04:00
Sebastian Malton
9c388dc499
fix namespace-select.tsx
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:18 -04:00
Sebastian Malton
b2fa542d59
fix create-resource/store.ts
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:18 -04:00
Sebastian Malton
0066ea6321
fix edit-resource/store.ts
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:18 -04:00
Sebastian Malton
5382dc0290
fix install-chart/store.ts
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:18 -04:00
Sebastian Malton
c849ab432b
fix upgrade-chart/store.ts and dock-tab.store.ts
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:18 -04:00
Sebastian Malton
9f9371acd4
fix error-boundary.tsx
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:18 -04:00
Sebastian Malton
a5eefbae76
fix list-layout.tsx and header.tsx
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:18 -04:00
Sebastian Malton
4555c4c12e
fix drawer.tsx
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:18 -04:00
Sebastian Malton
32d32c0507
fix sub-title.tsx
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:18 -04:00
Sebastian Malton
124d03f9b7
fix isReactNode typing
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:18 -04:00
Sebastian Malton
4f20234356
fix dock-tabs.test.tsx
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:18 -04:00
Sebastian Malton
06ed22e740
fix app-paths.test.ts
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:18 -04:00
Sebastian Malton
51c309cae3
fix kube-object-menu.test.tsx
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:18 -04:00
Sebastian Malton
96afac8084
better fix for previous 3 fixes, plus also select.test.tsx
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:18 -04:00
Sebastian Malton
36e9f33f7a
fix pod-tolerations.test.tsx
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:18 -04:00
Sebastian Malton
4889a659a8
fix verify-that-all-routes-have-route-component.test.ts
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:18 -04:00
Sebastian Malton
1b1332faf4
fix welcome.test.tsx
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:18 -04:00
Sebastian Malton
d5522996b7
fix catalog-entity-registry.test.ts
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:18 -04:00
Sebastian Malton
2a1e33670b
fix hotbar-remove-command.test.tsx
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:18 -04:00
Sebastian Malton
49faa2f9b7
fix scroll-spy.test.tsx
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:18 -04:00
Sebastian Malton
fa9683a170
fix pods.store.test.ts
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:18 -04:00
Sebastian Malton
0ac6b48bf4
fix job.store.test.ts
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:18 -04:00
Sebastian Malton
1008d4e10b
fix statefulset.store.test.ts
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:18 -04:00
Sebastian Malton
d216b8915b
fix api-manager.test.ts
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:18 -04:00
Sebastian Malton
1c56971e68
fix deployment.api.test.ts
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:18 -04:00
Sebastian Malton
313e484c58
fix stateful-set.api.test.ts
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:18 -04:00
Sebastian Malton
6a6cb35ca4
fix cronjob.store.test.ts
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:18 -04:00
Sebastian Malton
5c7314da0a
fix deployments/scale/dialog.test.tsx
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:18 -04:00
Sebastian Malton
24db61fbef
fix deployments.store.test.ts
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:18 -04:00
Sebastian Malton
5afa96971e
fix replicasets/scale-dialog/dialog.test.tsx
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:18 -04:00
Sebastian Malton
1683f482f1
fix statefulsets/dialog/dialog.test.tsx
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:18 -04:00
Sebastian Malton
474b509199
fix replicaset.store.test.ts
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:17 -04:00
Sebastian Malton
c629d603fe
fix daemonset.store.test.ts
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:16 -04:00
Sebastian Malton
203580ad92
fix delete-cluster-dialog.test.tsx
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:46:41 -04:00
Sebastian Malton
977c83502d
fix pods.test.ts
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:46:41 -04:00
Sebastian Malton
42f6b2de82
fix role-bindings/__tests__/dialog.test.tsx
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:46:41 -04:00
Sebastian Malton
668cac691e
fix cluster-role-bindings/__tests__/dialog.test.tsx
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:46:40 -04:00
Sebastian Malton
2d3aab2179
fix kubeconfig-manager.test.ts
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:45:53 -04:00
Sebastian Malton
9add1d15e4
fixed hotbar-store.test.ts
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:45:53 -04:00
Sebastian Malton
6d720db036
fix kube=api.test.ts
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:45:53 -04:00
Sebastian Malton
ffb840f0ed
fix cluster.test.ts tests
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:45:53 -04:00
Sebastian Malton
199f142559
fix dock-store.test.ts test by overriding createStorage to not touch file system
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:45:53 -04:00
Sebastian Malton
35e49fe6e6
fix log-resource-selector.test.tsx tests
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:45:53 -04:00
Sebastian Malton
383a50cdbf
fix ref logic error
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:45:53 -04:00
Sebastian Malton
9dc5872f77
revert move fileNameMigration to index
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:45:53 -04:00
Sebastian Malton
bc30edade0
fix catalog.test.tsx
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:45:53 -04:00
Sebastian Malton
dc3dffc2fc
fix select.test.tsx
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:45:53 -04:00
Sebastian Malton
4bf4089346
fix kube-object-menu.test.tsx
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:45:53 -04:00
Sebastian Malton
488db8cab5
fix build to not use webpack for generating types
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:45:53 -04:00
Sebastian Malton
41a73f9e65
change some type param names to be not single letters
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:45:53 -04:00
Sebastian Malton
fc21f855e1
revert move hostedCluster(Id)
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:45:53 -04:00
Sebastian Malton
d4e2848f90
Replace KubeObject scope strings with enum
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:45:53 -04:00
Sebastian Malton
f594bf03f3
Turn on strict mode in tsconfig.json
...
- Add route, clusterRoute, and payloadValidatedClusterRoute helper
functions to improve types with backend routes
- Turn on the following new lints:
- react/jsx-first-prop-new-line
- react/jsx-wrap-multilines
- react/jsx-one-expression-per-line
- react/jsx-max-props-per-line
- react/jsx-indent
- react/jsx-indent-props
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:45:50 -04:00
Sebastian Malton
432fc534c6
Fix last item not being removed on initial loadAll ( #5309 )
2022-05-03 11:13:43 -04:00
Sebastian Malton
8ada3c7505
Compute Tray Icon on the fly instead of at build ( #5157 )
2022-04-28 12:31:57 -04:00
Jim Ehrismann
51a93b8cc0
reverting flushHeaders() fix to restore auto-refresh ( #5283 )
...
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2022-04-27 11:56:07 -04:00
Jim Ehrismann
ff119dabf7
adding https_proxy to execHelm env ( #5273 )
...
* adding https_proxy to execHelm env
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
* lint plus simplification
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2022-04-27 11:55:23 -04:00
Alex Andreev
d1ae30a562
Fix misleading no metrics message ( #5240 )
...
* Add NoMetrics style module
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Add Open Cluster Settings link
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Fine-tune NoMetrics layout
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Add test for clicking Open Settings link
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Add data-testid
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Fixing tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Use navigateToEntitySettings instead of broadcastMessage
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Fix test selector
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-04-27 15:48:49 +03:00
Roman
22d2133ac8
Upgrade ReactSelect to latest version ( #5277 )
...
* - maintenance: upgrade react-select to latest version (5+)
- fix: props.styles was ignored and didn't passed to original react-select component from abstraction wrapper
2022-04-27 12:31:07 +03:00
Sebastian Malton
753fa225ed
Fix crash in CRD display ( #5256 )
2022-04-25 17:10:39 -04:00
Roman
11f3cafac3
Expose Lens Monaco Editor component to extensions-api ( #5264 )
...
* Expose Lens Monaco Editor component to public, close #5094
2022-04-25 14:29:49 +03:00
Alex Andreev
51f7e8f1bc
Not using paddings for empty top bar items ( #5249 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-04-19 17:47:28 +03:00
Sebastian Malton
e977890677
Remove webpack.*.ts importing values from src/ ( #4992 )
2022-04-13 10:39:35 -04:00
Juho Heikka
d5528eb9fe
Add optional destination property to app event ( #5230 )
2022-04-13 11:32:04 +03:00
Panu Horsmalahti
39b17334ba
Export getAppVersion in the extension API ( #5239 )
2022-04-12 11:18:44 -04:00
Janne Savolainen
6745f2efd7
Fix snapshots/code-style after merging stuff to master ( #5235 )
...
* Update snapshots after merging stuff to master
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Fix code style
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-04-12 15:02:34 +03:00
Iku-turso
55d8e0e06c
Introduce a collection of behavioural unit tests for navigation ( #5085 )
...
This reverts commit ecd881c25df219b511d7efd43dac59e748b21cc7.
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>
2022-04-12 07:39:46 +03:00
Janne Savolainen
68a605ded9
Fix returning to specific catalog tab and removing a hotbar item ( #5201 )
...
* Fix removing hot bar item
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Fix navigating back to tab in catalog from hotbar
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-04-12 07:34:44 +03:00
chh
c66f9ad407
Expose ReactDOM as global object, and ensure in-tree extension to use the same instance ( #5229 )
...
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
2022-04-11 16:45:12 +03:00
Alex Andreev
542cbe9ebf
Fix PieChart tooltips ( #5223 )
...
* Add tooltipLabels field to ChartData
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Use tooltipLabels in ClusterPieCharts for pods
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Check for tooltipLabels field to assign tooltip text
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Use tooltipLabels inside overview charts
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Expand workload overview charts to fit tooltips
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Move tooltipLabels into chart datasets
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Move tooltipLabels prop to PieCharts
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Little clean up
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Getting back id field to PieChartData interface
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Id fix
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* More clean up
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-04-11 15:21:18 +03:00
Sebastian Malton
423ffd44dc
Fix slackLink in catalog becoming out of date ( #5108 )
2022-04-08 11:12:06 -04:00
Dmitriy Noa
0ba5a12506
Move devserver to different port ( #5224 )
...
* Move devserver to different port
Signed-off-by: DmitriyNoa <dmytro.zharkov@gmail.com>
* Move port to common vars
Signed-off-by: DmitriyNoa <dmytro.zharkov@gmail.com>
* Use Number to cast
Signed-off-by: DmitriyNoa <dmytro.zharkov@gmail.com>
2022-04-08 15:59:46 +02:00
Roman
71b222f9d0
Upgrade to React@18 ( #5172 )
...
* upgrade to react@18
read more: https://reactjs.org/blog/2022/03/29/react-v18.html
2022-04-07 17:23:52 +03:00