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

2801 Commits

Author SHA1 Message Date
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
Alex Andreev
356712cbe1 Linter fixes
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-02 10:50:30 +03:00
Alex Andreev
34f51097cb After clicking on button test cases
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-02 10:46:28 +03:00
Alex Andreev
c0d254a71e Drop waiting state on network or other error
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-02 10:45:46 +03:00
Alex Andreev
a7d7fa9c9a Coloring and styling Download logs button
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-02 10:45:05 +03:00
Alex Andreev
e8915336dc Cleaning up Controls component
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-02 10:44:45 +03:00
Alex Andreev
f12e2e1345 Introduce download logs dropdown
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-01 14:18:04 +03:00
Sebastian Malton
07568839f6
Fix KubeObjectDetails drawer not working for Cluster scoped resources (#5954)
- Fix not displaying spinner while object is not defined

- Fix not displaying loading error if object is not defined

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-08-01 13:25:29 +03:00
Alex Andreev
e0a061c0ce Initial draft of download all logs tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-01 13:24:42 +03:00
Alex Andreev
454c4b2aaa Use randomId while creating pod logs tab
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-01 13:23:53 +03:00
Alex Andreev
a191a46e4b Add sketch of Download all logs button
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-01 13:23:14 +03:00
Sebastian Malton
485f213461
Remove duplicate 'Controlled by' section on Jobs' details (#5943)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-08-01 13:22:49 +03:00
Alex Andreev
90f8342387 Creating callForAllLogsInjectable
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-01 13:22:01 +03:00
dependabot[bot]
f162c8b6eb
Bump @typescript-eslint/parser from 5.30.5 to 5.31.0 (#5899)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-29 14:31:27 -04:00
dependabot[bot]
94f82626e5
Bump webpack from 5.73.0 to 5.74.0 (#5929)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-29 14:31:20 -04:00
Janne Savolainen
af4b74d9bd
Open application only if new update is available when using tray to check for updates (#5948)
* Prevent opening of application if no new updates were downloaded when checking for updates using tray when application window is closed

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Fix getting initial value of sync box

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Tweak naming of variable

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-07-29 15:55:16 +03:00
dependabot[bot]
a68ce2b2be
Bump ts-node from 10.8.1 to 10.9.1 (#5871)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-28 16:35:38 -04:00
dependabot[bot]
ccd630154f
Bump playwright from 1.23.4 to 1.24.1 (#5915)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-28 16:34:49 -04:00
Alex Andreev
5ddd8e8846
Fine-tune styles of Extensions page (#5921) 2022-07-28 16:34:06 -04:00
Sebastian Malton
feb2859b5d
Fix Badge.props.expandable's default being switched to false (#5911)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-07-28 13:11:32 -07:00
Janne Savolainen
d78d009d41
release v6.0.0 (#5935)
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-07-28 14:42:14 +03:00
Janne Savolainen
da1f975ccc
release v6.0.0-alpha.1 (#5933)
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-07-28 10:18:02 +03:00
Janne Savolainen
e682c7de45
Fix editing of kube resource (#5906) 2022-07-27 11:44:11 -04:00
Jim Ehrismann
b94672b5a8
revert node-pty to stable version (#5916) 2022-07-27 10:02:27 -04:00
Sebastian Malton
e4b33ce960
Increase timeout for macos build pipeline (#5913) 2022-07-27 08:02:48 -04:00
Alex Andreev
e334a6aeda
Adding more control over extension preferences page title (#5901)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-07-27 14:05:55 +03:00
stewoe
392d548bf0
Set focus on port field when port-forward-dialog opens (#5908)
Signed-off-by: Stefan Woehrer <stefan.woehrer@lean-coders.at>

Co-authored-by: Stefan Woehrer <stefan.woehrer@lean-coders.at>
2022-07-27 14:03:58 +03:00
Janne Savolainen
a12b94405a
Resolve kube object status texts again on re-render to make it look like it's reactive (#5875)
* Make tests for kube object status icon more realistic

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Start resolving kube object status texts on each re-render to mimic reactivity

Note: This is done due the current implementation exposed in Extension API expects it to work so. However, this is bad.

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Switch to using existing implementation for isDefined

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-07-27 09:21:38 +03:00
Sebastian Malton
f61330611e
Remove global shared state to fix unit tests (#5889) 2022-07-26 08:55:13 -04:00
Janne Savolainen
bedc440d42
Fix opening of release details (#5850)
* Make sure release details are updates when opening details

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Relax filtering of resources to prevent crashing when release has installed resources in another namespace

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Add Open Closed Principle compliant way to introduce global overrides without modification in getDiForUnitTesting

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Rework helm release details to fix multiple bugs

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Remove redundant optional chaining

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Simplify code

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-07-26 14:57:46 +03:00
Sebastian Malton
e7e8d1688c
Fix trying to connect to cluster whose entity doesn't exist (#5881)
* Fix trying to connect to cluster whose entity doesn't exist

- If a Cluster is trying to be connected to but there is no associated
  entity then don't try and connect

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

* Revert cleanup

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-07-25 13:12:46 -04:00
Sebastian Malton
91235ca2c6
release 6.0.0-alpha.0 (#5886) 2022-07-25 10:08:55 -04:00
Alex Andreev
811d96eb74
Fix styles for topbar window buttons on linux (#5874)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-07-25 08:55:41 +03:00
Sebastian Malton
f7f41cab79
Fix terminal freezing self and whole app when internet is disconnected (#5870)
- Remove uses to navigator.onLine as not needed and because that value
  cannot be trusted (see several bug reports on chromium)

- Fix infinite loop when socket is not connected in flush

- Add some simple tests

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-07-25 08:34:54 +03:00
Jim Ehrismann
2a141767df
use intended(?) node-pty version (#5880) 2022-07-22 15:21:09 -04:00
Sebastian Malton
4340f64bfa
Revert "Bump type-fest from 2.14.0 to 2.17.0 (#5864)" (#5882) 2022-07-22 15:20:55 -04:00
Sebastian Malton
4e4690f15f
Fix edit kube resource tab not respecting changes to current draft (#5878) 2022-07-22 12:14:48 -04:00