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

2787 Commits

Author SHA1 Message Date
Alex Andreev
13c2e015d8 Use <Dropdown/> in Download All Logs dropdown
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-15 14:43:08 +03:00
Alex Andreev
c4c2eaf6d3 Introduce Dropdown component with Menu
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-15 14:42:42 +03:00
Alex Andreev
33564dd592 More descriptive describe statement
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-15 12:23:53 +03:00
Alex Andreev
c2a85d4830 Doesn't show save dialog if no logs received
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-15 12:21:14 +03:00
Alex Andreev
95b638651f Catching call for logs errors
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-15 12:15:36 +03:00
Alex Andreev
3b3e6722fe Testing resolve/reject options for callForLogsInjectable
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-15 12:14:54 +03:00
Alex Andreev
16aac15f1a Move downloadAllLogs to model
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-12 11:19:54 +03:00
Alex Andreev
8f264fdd48 Remove withInjectables wrapper from LogControls
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-12 11:19:25 +03:00
Alex Andreev
bafcf4ef50 Move downloadLogs logic to the model
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-12 11:11:50 +03:00
Alex Andreev
298c8a1145 Move downloadAllLogs logic to injectable
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-12 10:33:12 +03:00
Alex Andreev
5090c323fb Use css modules for the Controls component
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-12 10:06:30 +03:00
Alex Andreev
3eb129efcb Replace usage of callForAllLogs with
simple callForLogs

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-12 09:54:02 +03:00
Alex Andreev
f19c1565e4 Cleanin up by overriding internals of logsViewModel
injectable

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-11 16:00:45 +03:00
Alex Andreev
246fb5e54f Remove one more unused line
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-11 14:35:02 +03:00
Alex Andreev
62362b4992 Remove unused .mockReturnValueOnce
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-11 14:33:22 +03:00
Alex Andreev
f88c49c4c4 Update snapshots
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-11 14:32:01 +03:00
Alex Andreev
59dc8c958d Merge branch 'master' into download-all-pod-logs 2022-08-11 14:15:50 +03:00
Janne Savolainen
ef12676b89
Update injectable for improved performance (#6011)
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-08-11 09:47:11 +03:00
dependabot[bot]
7115544bce
Bump react-select-event from 5.5.0 to 5.5.1 (#5997)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-10 09:10:00 -04:00
Sebastian Malton
bd3f123aef
Fix Badges being too small when scrollable and not expandable (#5987)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-08-10 05:46:41 -07:00
Iku-turso
730db204f7
Initialize a cli-tool to maintain Architectural Decision Records and create initial ADR (#5712)
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>

Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-08-10 14:36:26 +03:00
Sebastian Malton
09f2919946
Remove usage of deprecated xtermjs's registerLinkMatcher API (#5996)
* Make openBrowser->openLinkInBrowser injectable

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Remove use of deprecated link matcher API from XtermJS

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Fix type errors

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-08-09 19:25:11 -07:00
Sebastian Malton
5c11d7f7fe
Fix completely overriding PATH in shellSync (#5451) 2022-08-09 10:08:56 -04:00
Sebastian Malton
592600c1bb
Fix focus not switching to new cluster frame (#5995) 2022-08-08 21:49:21 +03:00
Janne Savolainen
688ef40e92
Fix incorrect links in workload overview page (#6002)
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-08-08 12:26:48 -04:00
Jan-Otto Kröpke
a6dae3632f
fix(ci): make appBundleId configurable. (#5964)
Signed-off-by: Jan-Otto Kröpke <github@jkroepke.de>
2022-08-08 13:06:54 +03:00
Sebastian Malton
d9785ad4dc
Fix ResourceQuotaDetails quotas display bugs (#5909) 2022-08-05 14:02:35 -04:00
dependabot[bot]
08cc9101d9
Bump playwright from 1.24.1 to 1.24.2 (#5990)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-05 10:12:27 -04:00
dependabot[bot]
036b1fab66
Bump jest and @types/jest (#5992)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-05 10:12:05 -04:00
dependabot[bot]
59c04ea8e2
Bump eslint from 8.20.0 to 8.21.0 (#5993)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-05 10:11:36 -04:00
dependabot[bot]
51ba115839
Bump electron-builder from 23.1.0 to 23.3.3 (#5989)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-05 08:52:12 -04:00
dependabot[bot]
6568ef001b
Bump sass from 1.53.0 to 1.54.2 (#5984)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-04 15:02:22 -04:00
dependabot[bot]
92d7866711
Bump esbuild from 0.14.49 to 0.14.53 (#5983)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-04 15:02:11 -04:00
dependabot[bot]
cc5af204ef
Bump mock-fs from 5.1.2 to 5.1.4 (#5985)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-04 15:02:00 -04:00
Janne Savolainen
06d780479c
Tweak timing of starting and stopping periodical checking for updates (#5981) 2022-08-04 14:21:16 -04:00
Sebastian Malton
8dea3ad8bc
Correctly handle HorizontalPodAutoscaler metrics with 0 usage (#5986) 2022-08-04 14:21:01 -04:00
Janne Savolainen
04652b4f90
Tweak timing of starting and stopping kubeconfig sync (#5982) 2022-08-04 14:12:33 -04:00
Sebastian Malton
249927dc80
Fix HorizontalPodAutoscaler metrics not displaying current values (#5956) 2022-08-04 12:34:52 -04:00
dependabot[bot]
41389cefd9
Bump ws from 8.8.0 to 8.8.1 (#5959)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-04 10:29:10 -04:00
dependabot[bot]
3bc19429fb
Bump @types/node from 16.11.45 to 16.11.47 (#5961)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-04 10:28:45 -04:00
dependabot[bot]
ad7f4ff111
Bump @typescript-eslint/eslint-plugin from 5.30.7 to 5.32.0 (#5965)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-04 10:28:30 -04:00
dependabot[bot]
94c13722c6
Bump @swc/core from 1.2.218 to 1.2.223 (#5978)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-04 10:27:19 -04:00
Sebastian Malton
2b24a42883
Fix Pod Container sorting not correlating to visuals (#5175) 2022-08-02 12:44:32 -04:00
Sebastian Malton
95ed0dda1b
Fix CPU spike when opening PodDetails from MonacoEditor (#5642) 2022-08-02 12:41:23 -04:00
Janne Savolainen
83232440dc
Replace individual mocks for withTooltip with global mock (#5962) 2022-08-02 10:06:37 -04:00
Sebastian Malton
57e4e29a16
Fix not being able to switch metrics if none are available (#5430)
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-02 10:05:15 -04:00
Alex Andreev
3d62d1c029
Fix ingress list line heights (#5949)
* Split ingress rules by multiple lines

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Force updating virtual list when rowHeights changed

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Replacing simple div selectors with more specific

.ingressRule classnames

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-02 15:24:53 +03:00
Alex Andreev
3c217b0934 Update snapshots
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-02 13:57:54 +03:00
Alex Andreev
f6d30f289c Respect timestamps and previous props
in callForAllLogsInjectable

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-02 11:39:06 +03:00
Alex Andreev
175a1dc815 Removing previous Download icon
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-02 11:09:56 +03:00