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

2753 Commits

Author SHA1 Message Date
Sebastian Malton
619defa840
release v6.0.2 (#6215) 2022-09-09 08:32:18 -04:00
Sebastian Malton
4fd98da56a
Release 6.0.2-beta.0 (#6180)
Co-authored-by: Lauri Nevala <lauri.nevala@gmail.com>
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-09-06 13:22:23 -04:00
Sebastian Malton
1823e571b7
release v6.0.2-alpha.1 (#6142)
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>
Co-authored-by: Dominic1DL <57274408+Dominic1DL@users.noreply.github.com>
2022-08-30 14:33:58 -04:00
Sebastian Malton
24e8861a1a
Release/v6.0.2 alpha.0 (#6116)
* Fix create release PR to cherry-pick commits

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

* Fix create release PR to cherry-pick commits

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

* release v6.0.2-alpha.0

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

* Fix Badges being too small when scrollable and not expandable (#5987)

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

* Remove Tabs hover line width transition (#6020)

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

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

* Fix distribution detector erroneously depending on previous metadata (#6023)

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

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

* Override @astronautlabs/jsonpath's underscore version (#6044)

* Override @astronautlabs/jsonpath's underscore version

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

* Remove use of buggy 'yarn check'

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

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

* Don't error out if we can't find resources from helm in our cluster, and handle "blank" output from kubectl gracefully. (#6039)

* Use official node-fetch 2.x (#6049)

* Fix UI for scaling ReplicaSets (#6052)

* Use color-scheme: auto on all iframes (#6074)

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

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

* Use abort-controller package to fix typing issues (#6077)

* Use default export to fix issue with package lying with types (#6081)

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

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

* Switch ubuntu CI to ubuntu-20.04 (#6078)

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

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

* Fix <Select/> text overflow below baseline (#6085)

* Fix: do not crop <Select/> single value

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

* Fix: do not crop namespace selector placeholder

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

* Align working dir input height with others

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

* Linter fix

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

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

* Prevent massed remounting of dock tabs when dock height changes (#6104)

* Update injectable to make withInjectables have authentic React reconciliation

Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

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

* Make some dock tabs have primitive props to have them React reconcile properly

Currently tab objects that are stored in a storage change reference on every change of dock height, making them less usable as React prop for causing involuntary remounting.

Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

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

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

* Fix node conditions column text-align (#6092)

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

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

* Make cluster #app component transparent (#6076)

until theme ready

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

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

* Fix badge not expanding on click when appropriate (#6029)

* Fix badge not expanding on click when appropriate

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

* Fix snapshots

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

* Fix snapshots

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

* Update other snapshots

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

* Remove unneccessary code

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

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

* Disable fail-fast on the testing CI jobs (#6080)

- There are several reasons why these might fail that are irrelavent to
  the other pipelines. So we should just let them continue

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

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

Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com>
Co-authored-by: Michael Pearson <mipearson@gmail.com>
Co-authored-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
Co-authored-by: Carlos René Mederos Arias <krlosmederos@gmail.com>
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>
2022-08-26 15:13:13 -04:00
Jim Ehrismann
1c18272b74
release v6.0.1 (#6016)
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2022-08-10 10:56:07 -04:00
Janne Savolainen
aacea43dfb
release v6.0.1-beta.0 (#6006)
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-08-09 12:42:25 -04:00
Janne Savolainen
cc2745f8c6
Fix incorrect links in workload overview page (#6002)
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
(cherry picked from commit 688ef40e92)
2022-08-09 10:20:28 +03:00
Sebastian Malton
2b0d4a6d38
Fix focus not switching to new cluster frame (#5995)
(cherry picked from commit 592600c1bb)
2022-08-09 10:20:18 +03:00
dependabot[bot]
0711156b75
Bump eslint from 8.20.0 to 8.21.0 (#5993)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 59c04ea8e2)
2022-08-09 10:20:13 +03:00
dependabot[bot]
c7b36f987a
Bump jest and @types/jest (#5992)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 036b1fab66)
2022-08-09 10:20:06 +03:00
dependabot[bot]
684ce4e431
Bump playwright from 1.24.1 to 1.24.2 (#5990)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 08cc9101d9)
2022-08-09 10:20:00 +03:00
dependabot[bot]
274d057535
Bump electron-builder from 23.1.0 to 23.3.3 (#5989)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 51ba115839)
2022-08-09 10:19:54 +03:00
Sebastian Malton
b7f620f3f0
Correctly handle HorizontalPodAutoscaler metrics with 0 usage (#5986)
(cherry picked from commit 8dea3ad8bc)
2022-08-09 10:19:48 +03:00
dependabot[bot]
bfb054dcfd
Bump mock-fs from 5.1.2 to 5.1.4 (#5985)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit cc5af204ef)
2022-08-09 10:19:42 +03:00
dependabot[bot]
c185746cd9
Bump sass from 1.53.0 to 1.54.2 (#5984)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 6568ef001b)
2022-08-09 10:19:34 +03:00
dependabot[bot]
022ba03312
Bump esbuild from 0.14.49 to 0.14.53 (#5983)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 92d7866711)
2022-08-09 10:19:27 +03:00
dependabot[bot]
7e612b8b36
Bump @swc/core from 1.2.218 to 1.2.223 (#5978)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 94c13722c6)
2022-08-09 10:19:21 +03:00
dependabot[bot]
bb606194d0
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>
(cherry picked from commit ad7f4ff111)
2022-08-09 10:19:14 +03:00
dependabot[bot]
dad896b036
Bump @types/node from 16.11.45 to 16.11.47 (#5961)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 3bc19429fb)
2022-08-09 10:19:08 +03:00
dependabot[bot]
814b0dbb84
Bump ws from 8.8.0 to 8.8.1 (#5959)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 41389cefd9)
2022-08-09 10:19:00 +03:00
Sebastian Malton
f06288d90f
Fix HorizontalPodAutoscaler metrics not displaying current values (#5956)
(cherry picked from commit 249927dc80)
2022-08-09 10:18:52 +03:00
Sebastian Malton
b8b792906b
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>
(cherry picked from commit 07568839f6)
2022-08-09 10:18:45 +03:00
Alex Andreev
84ce0bfa07
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>
(cherry picked from commit 3d62d1c029)
2022-08-09 10:18:38 +03:00
Janne Savolainen
d915160852
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>
(cherry picked from commit af4b74d9bd)
2022-08-09 10:18:31 +03:00
Sebastian Malton
d85ed3d905
Remove duplicate 'Controlled by' section on Jobs' details (#5943)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
(cherry picked from commit 485f213461)
2022-08-09 10:18:23 +03:00
dependabot[bot]
b494b1df88
Bump webpack from 5.73.0 to 5.74.0 (#5929)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 94f82626e5)
2022-08-09 10:18:16 +03:00
Alex Andreev
345b2aefb7
Fine-tune styles of Extensions page (#5921)
(cherry picked from commit 5ddd8e8846)
2022-08-09 10:18:03 +03:00
dependabot[bot]
56f1438ef7
Bump playwright from 1.23.4 to 1.24.1 (#5915)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit ccd630154f)
2022-08-09 10:17:55 +03:00
Sebastian Malton
d17cf4a812
Fix Badge.props.expandable's default being switched to false (#5911)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
(cherry picked from commit feb2859b5d)
2022-08-09 10:17:47 +03:00
Sebastian Malton
3dee0ffdb5
Fix ResourceQuotaDetails quotas display bugs (#5909)
(cherry picked from commit d9785ad4dc)
2022-08-09 10:17:23 +03:00
dependabot[bot]
9f66cb14e5
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>
(cherry picked from commit f162c8b6eb)
2022-08-09 10:17:01 +03:00
dependabot[bot]
9e890793aa
Bump ts-node from 10.8.1 to 10.9.1 (#5871)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit a68ce2b2be)
2022-08-09 10:16:54 +03:00
Sebastian Malton
76d707d257
Fix CPU spike when opening PodDetails from MonacoEditor (#5642)
(cherry picked from commit 95ed0dda1b)
2022-08-09 10:16:47 +03:00
Sebastian Malton
d18bf11410
Fix not being able to switch metrics if none are available (#5430)
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com>
(cherry picked from commit 57e4e29a16)
2022-08-09 10:16:39 +03:00
Sebastian Malton
48c7748614
Fix Pod Container sorting not correlating to visuals (#5175)
(cherry picked from commit 2b24a42883)
2022-08-09 10:16:23 +03: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