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

967 Commits

Author SHA1 Message Date
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
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
fb154f0674 fix circular dependency on catalogCategoryRegistry
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
4f20234356 fix dock-tabs.test.tsx
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
1b1332faf4 fix welcome.test.tsx
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
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
9add1d15e4 fixed hotbar-store.test.ts
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
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