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

1175 Commits

Author SHA1 Message Date
Sebastian Malton
a27c092c40 Add helper for <Select>.isMulti for storing in a Set<Value>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-13 11:48:13 -04:00
Sebastian Malton
cb0540f83c Improve name of guarding injectable for stores and apis
- New name better implies that it is just a guard state and does not do
  anything

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-13 09:48:39 -04:00
Sebastian Malton
c650d3dc03 Merge branch 'master' into turn-on-strict 2022-05-12 14:24:09 -04:00
Roman
74b4a752eb
Change engines.lens signature to only respect minimums (#5290)
Co-authored-by: Jim Ehrismann <40840436+jim-docker@users.noreply.github.com>
2022-05-12 14:18:25 -04:00
Sebastian Malton
59b58c17a3 Merge branch 'master' into turn-on-strict 2022-05-12 08:36:43 -04:00
Sebastian Malton
d92233d58e
Add defensive code around Cluster.broadcastConnectUpdate (#5297) 2022-05-12 08:27:33 -04:00
Sebastian Malton
19c77eefaf
Fix CustomResourceDetails merging arrays of values (#5349)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-11 21:57:40 -04:00
Sebastian Malton
6d7609b364
Fix crash with NamespaceSelectFilter (#5367) 2022-05-11 15:05:21 -04:00
Sebastian Malton
baac515276 Merge branch 'master' into turn-on-strict 2022-05-11 10:49:26 -04:00
Alex Andreev
cc9ee67dc2
Fix <Switch/> checked callback attribute value (#5360) 2022-05-11 10:33:01 -04:00
Sebastian Malton
efed90c6e7 Merge branch 'master' into turn-on-strict 2022-05-11 09:16:41 -04:00
Sebastian Malton
42e7daf057
Fix crash when changing os theme kind (#5354) 2022-05-11 09:07:51 -04:00
Sebastian Malton
216dfd7c99 fix more tests from merge
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-10 12:31:19 -04:00
Sebastian Malton
862b53c9e5 Fix tests from the revert of react 18
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-10 12:02:28 -04:00
Sebastian Malton
729d9c3406 Merge branch 'master' into turn-on-strict 2022-05-10 09:07:26 -04:00
Sebastian Malton
a7607ce7e1
Revert upgrade to react 18 (#5352) 2022-05-09 15:44:13 -04:00
Sebastian Malton
3a3572f9f8 fix bug where LensExtension dependencies are not set
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-06 16:02:43 -04:00
Sebastian Malton
93d59d6dfe toggleDetails -> toggleKubeDetailsPane is more specific
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-06 09:27:49 -04:00
Sebastian Malton
5dee0db95e make visitor pattern more explicit for Entity contextMenuOpen
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-06 09:21:12 -04:00
Sebastian Malton
dd27e46b00 change confusing variable name in ReactiveDuration
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-05 16:11:03 -04:00
Sebastian Malton
b9ea2098b2 remove unnecessary | undefined types from the exactOptionalFieldTypes experiment
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-05 09:26:35 -04:00
Sebastian Malton
9d4b6c52c0 override logger with mocks only when needed for tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-05 09:01:57 -04:00
Sebastian Malton
f2a0b72253 remove complex createStorage override
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-05 08:56:55 -04:00
Sebastian Malton
f71f9e9f8f fix typo to waitUntilDefined
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-05 08:47:11 -04:00
Sebastian Malton
627baf9ddf fix typo in terminalSpawningPool
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-05 08:39:44 -04:00
Sebastian Malton
2a9cc1a5c3 fix lint after merge
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 19:58:48 -04:00
Sebastian Malton
f88109cc03 fix snapshots after merge
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 16:41:23 -04:00
Sebastian Malton
7c67696c10 fix merge build issues
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 16:35:41 -04:00
Sebastian Malton
d972ca2aa5 Merge branch 'master' into turn-on-strict 2022-05-04 16:25:21 -04:00
Sebastian Malton
dbdde19222
Add ability to hide KubeObjectMenu Edit and Remove buttons in extensions (#5107) 2022-05-04 12:44:31 -04:00
Sebastian Malton
36544f22aa make Select snapshots deterministic
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:21 -04:00
Sebastian Malton
b30ad5aa04 fix crash in test mode for Dialog
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:21 -04:00
Sebastian Malton
6027adaa71 fix type error
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:21 -04:00
Sebastian Malton
3def62cd8d fix tests from rebase
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:21 -04:00
Sebastian Malton
a083afd83b fix code to help CodeQL scanner
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:20 -04:00
Sebastian Malton
cedde7f85a fix lint
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:20 -04:00
Sebastian Malton
29454a0a11 Fix test name
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:20 -04:00
Sebastian Malton
cdfb0deb14 Fix type error after rebase
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:20 -04:00
Sebastian Malton
35903c05a0 Fix command-palette e2e test
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:20 -04:00
Sebastian Malton
bc188837a0 remove cast in <Animate>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:20 -04:00
Sebastian Malton
23cd50ee95 cleanup internal-commands
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:20 -04:00
Sebastian Malton
d42d2eb0c4 Rewrite withTooltip to be more type correct
- Fixes mobx related "too many recursive actions" error

- Change all the uses of withTooltips to be functional components

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:20 -04:00
Sebastian Malton
413fa8a815 Proper fix for Wizard, fix NamespaceStore.subscribe
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:20 -04:00
Sebastian Malton
25796b736d fix KubeApi's not being registered
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:20 -04:00
Sebastian Malton
8499f26707 fix WizardStep and AddNamespaceDialog
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:20 -04:00
Sebastian Malton
c89d63ad3e fix NamespaceSelectFilter not opening
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:20 -04:00
Sebastian Malton
26062aa20b fix stack overflow and cycles in DI
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:20 -04:00
Sebastian Malton
375018c330 replace all the rest of the legacy uses of apiManager
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:20 -04:00
Sebastian Malton
30f473a69a Move registerStore calls to after injectMany
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:20 -04:00
Sebastian Malton
a12bda2fc4 Fix runtime errors on renderer
- remove all static uses of `createPageParam` (and then removed the
  legacy global)
- Made LensRendererExtension and LensMainExtension just used
  dependencies and not the getLegacyDi
- Fixed circular dep in extension-loader

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-05-04 08:47:20 -04:00