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

1550 Commits

Author SHA1 Message Date
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