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

2782 Commits

Author SHA1 Message Date
Sebastian Malton
dd40bfee99 Fix unit tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-08-18 10:44:40 -04:00
Sebastian Malton
911e2d1bc4 Remove debug logging
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-08-18 10:44:40 -04:00
Sebastian Malton
3cb68323f3 Update snapshots
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-08-18 10:44:40 -04:00
Sebastian Malton
158900e40d Update snapshots
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-08-18 10:44:40 -04:00
Sebastian Malton
d1855952e1 Update snapshots
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-08-18 10:44:40 -04:00
Sebastian Malton
805ef4a1f0 Fix other tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-08-18 10:44:38 -04:00
Sebastian Malton
a9c3712dc4 Fix incomplete rebase
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-08-18 10:44:04 -04:00
Sebastian Malton
c2aa186d16 Fix actual application and typings
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-08-18 10:44:02 -04:00
Sebastian Malton
450ac378e1 Get tests to pass
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-08-18 10:42:23 -04:00
Sebastian Malton
eb3b260cf5 Add behaviours for clsuter status screen
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-08-18 10:42:23 -04:00
Sebastian Malton
6b09ee4937 start cleaningup ipc work
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-08-18 10:42:23 -04:00
Sebastian Malton
0a7c214767 Convert to injectable IPC
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-08-18 10:42:21 -04:00
Sebastian Malton
853573afcb Fix cluster connect statuses being intertwined
- Broadcast on a signle channel and add clusterId as data argument

- Make everything else computed based on the current props.cluster value

- Fix view staying on cluster connect screen after disconnect

- Initially clicking on a disconnected cluster should not immediately
  nativate to the Catalog if currently viewing a connected cluster

- Make route-path-parameters more type correct by not using keyedSingleton

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-08-18 10:41:52 -04:00
Jari Kolehmainen
a9f4bcecb2
Use official node-fetch 2.x (#6049) 2022-08-18 10:02:02 -04:00
Michael Pearson
5249a8ebed
Don't error out if we can't find resources from helm in our cluster, and handle "blank" output from kubectl gracefully. (#6039) 2022-08-18 08:21:24 -04:00
Sebastian Malton
3f2010a6b6
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>
2022-08-18 03:21:13 -07:00
Iku-turso
3e02229920
Make injectables in new "features"-directory auto register to make ADR in #6015 possible (#6034)
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>

Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>

Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
2022-08-16 15:56:11 +03:00
Janne Savolainen
63d5a34379
Replace static application window with ability to create many (#5979)
* Replace static application window with ability to create as many as you wish

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

* Adapt tests for replacing static application window with ability to create as many as you wish and separate starting of main and window in behaviours

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

* Make first render of application smaller in test that proves to be hard for CI

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

* Remove redundant code

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

* Simplify code

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

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-08-16 15:55:42 +03:00
Iku-turso
299922c8a7
Rename old directory for behaviours as "features" to better communicate new intent with new directory structure to organize code and tests around features instead of technicalities (#6033)
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>
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>
2022-08-16 15:09:08 +03:00
Jari Kolehmainen
36077a9fea
Show extension api version (#6038)
* show extension api version in about dialog

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* move buildVersionInjectable from common to main

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2022-08-16 15:04:31 +03:00
Janne Savolainen
d6ca2c2cd7
Allow reactive tray item labels for extensions (#6036)
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-08-16 08:28:07 +03:00
Sebastian Malton
6d37019089
Upgrade to electron@^19 (#5369)
* Upgrade to use electron 19.0.4

- Update documentation

- Updated disturl in .yarnrc to fix build issue

- Remove use of abort-controller package

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

* Remove support for webview tags

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

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-08-12 05:17:06 -07:00
Sebastian Malton
edacf3bec6
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>
2022-08-12 09:37:00 +03:00
Janne Savolainen
33834e34b7
Optimize getting injectable paths only once for all test suites (#6013) 2022-08-11 09:42:52 -04:00
Alex Andreev
17ddee2bde
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>
2022-08-11 15:39:23 +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