1
0
mirror of https://github.com/lensapp/lens.git synced 2024-09-20 05:47:24 +03:00
Commit Graph

2600 Commits

Author SHA1 Message Date
dependabot[bot]
ab2f367fdd
Bump eslint from 8.17.0 to 8.18.0 (#5696)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-22 15:43:05 -04:00
Janne Savolainen
fc770b4b44
Revert accidental breaking change (#5703) 2022-06-22 09:48:09 -04:00
Iku-turso
71427da02d
Helper to resolve proxy from URL in any environment, or using extension-API (#5690)
* Permit modular directory structures for behaviours in spirit of "Screaming Architecture"

Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>

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

* Implement env-agnostic helper to resolve proxy from URL

Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>

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

* Implement way to resolve a proxy, that is not reliant on existing windows

Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>

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

* Restore reliancy on existing windows for resolving proxy for fears of Electron events misbehaving because of a temp-window used in case no windows are open

Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>

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

* Make resolving a proxy throw if no browser window is available

Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>

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

* Extract minimal abstraction for specifically logging error instead of also warn, info, etc.

Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>

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

* Make decorator for error logging not create orphan promise for easier controllability

Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>

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

* Add error logging to resolving of proxy

Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>

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

* Expose resolving of proxy in extension-API

Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>

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

* Add missing general override

Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>

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

* Add test to add documentation

Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>

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

* Disperse implementation of resolve-proxy back to conventional directory structure instead of an experimental one

Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>

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

* Revert "Permit modular directory structures for behaviours in spirit of "Screaming Architecture""

This reverts commit 75e1231b0e61b74d030d12365352226e7f1ce500.

Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>

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

* Rename a helper for less ambiguity

Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>

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

* Add tsdoc for "resolveSystemProxy" exposed in Extension-API

Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>

Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
2022-06-22 16:09:24 +03:00
Janne Savolainen
fa23b5cd3f
Fix download percentages not updating in tray (#5697)
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-06-22 15:37:13 +03:00
Lauri Nevala
666d90dd3c
Do not crash if ingress is missing status.loadbalancer.ingress property (#5665) 2022-06-21 11:24:02 -04:00
Alex Andreev
0784085bf4
Show extension preferences in separate page (#5284)
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com>
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>
2022-06-21 11:11:31 -04:00
dependabot[bot]
91ee7bd785
Bump @types/node from 16.11.40 to 16.11.41 (#5686)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-21 08:02:26 -04:00
dependabot[bot]
30cd2a32c9
Bump @side/jest-runtime from 1.0.0 to 1.0.1 (#5685)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-21 08:02:16 -04:00
dependabot[bot]
b3cd43fee6
Bump typescript from 4.7.3 to 4.7.4 (#5684)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-21 08:01:58 -04:00
dependabot[bot]
cf6e68decb
Bump @hapi/subtext from 7.0.3 to 7.0.4 (#5683)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-21 08:01:38 -04:00
Sebastian Malton
de43df1cca
Fix cluster frame display issue (#5518)
* Fix cluster frame display issue

- Add some defensive code to prevent this sort of infinite loop

- Add some unit tests

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

* fix unit tests

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

* Fix build

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

* Fix lint

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

* Factor out injectable for getting of cluster config data

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-06-20 22:23:15 -04:00
Sebastian Malton
8c31e56462
release 5.6.0-alpha.3 (#5668) 2022-06-20 14:45:33 -04:00
dependabot[bot]
9adf0a6448
Bump tailwindcss from 3.0.24 to 3.1.3 (#5650)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-20 13:55:11 -04:00
dependabot[bot]
1030d20ff8
Bump @typescript-eslint/parser from 5.27.0 to 5.28.0 (#5648)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-20 13:54:43 -04:00
dependabot[bot]
0a95eda658
Bump mini-css-extract-plugin from 2.6.0 to 2.6.1 (#5649)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-20 13:54:31 -04:00
dependabot[bot]
dce7e89878
Bump @types/node-fetch from 2.6.1 to 2.6.2 (#5647)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-20 11:51:52 -04:00
Janne Savolainen
f8b008612f
Trivial tweaks accidentally left from other PR (#5679)
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
2022-06-20 11:49:59 -04:00
DingRui Yang
78d985024d
Update README.md (#5675)
Fix getting started link
2022-06-20 09:34:00 -04:00
Janne Savolainen
f87f5f245c
Simplify logic for injecting many instances which can reactively change e.g. based on extension being enabled or disabled (#5662)
* Reorganize stuff to prevent circular dependencies

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

* Install injectable extension to allow injecting reactively many implementations

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

* Switch to using computedInjectMany over filtering injectMany based on enabled extensions for simplicity

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

* Remove await for not being needed

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

* Sort dependencies alphabetically

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-06-20 10:19:20 +03:00
Janne Savolainen
d0ed4e46b1
Fix tray bugs (#5666)
* Make unit tests for tray behave correctly when item is disabled

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

* Make multiple separators in tray originating from same extension not throw up

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-06-17 16:21:18 +03:00
Janne Savolainen
10ba9ef853
Add behaviour for tray menu items originating from extensions (#5609) 2022-06-17 08:07:26 -04:00
Janne Savolainen
2a5b4af344
Fix issue where releases are not reloaded when new release is added externally (e.g. from terminal) (#5603)
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-06-17 10:26:07 +03:00
Janne Savolainen
d1f5f1cdef
Fix flaky unit test (#5661)
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-06-17 10:25:01 +03:00
Alex Andreev
96ed99a06b
Fix table row heights (#5652) 2022-06-16 10:01:27 -04:00
Janne Savolainen
9c420d6f1e
Try solving flaky unit test by switch to use different implementation of setImmediate (#5655)
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-06-16 09:57:32 -04:00
Janne Savolainen
5c049ecca0
Improved metrics for updating application (#5607) 2022-06-16 09:05:00 -04:00
Janne Savolainen
7b0521f3b2 Rename injection token for clarity (#5636)
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-06-16 08:44:38 -04:00
Janne Savolainen
287c814565 Move phenomenon of renderer out from common by introducing different implementations for environments
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-06-16 08:44:38 -04:00
Alex Andreev
8349d6aa4a
Fix html font size and adjust usage of rem units (#5641)
* Leave default browser font-size for the html

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

* Fix preferences helm repos layout

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

* Adjust usage of rem units

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

* Adjust namespace select filter option sizes

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

* Fixing ToBottom btn sizing

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

* Fixing Remove Cluster dialog sizing

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

* Fixing catalog sidebar title font-size

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

* Fix Notice sizing

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

* Update snapshots

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

* Update more snapshots

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-06-15 19:38:10 -04:00
Janne Savolainen
fa32aa1b8e
Make jest not crash totally when encountering non handled exception (#5634)
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-06-15 19:37:22 -04:00
Janne Savolainen
6451df1f17
Prevent duplicate app windows (#5533)
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Co-authored-by: Iku-turso <mikko.aspiala@gmail.com>
2022-06-15 16:40:34 -04:00
dependabot[bot]
5c1f0daf50
Bump ws from 8.7.0 to 8.8.0 (#5643)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-15 12:16:16 -04:00
Sebastian Malton
2a045fa04a
release 5.6.0-alpha.2 (#5640) 2022-06-15 12:16:04 -04:00
dependabot[bot]
506f038df7
Bump @types/node from 16.11.39 to 16.11.40 (#5631)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-15 09:51:49 -04:00
dependabot[bot]
1fc3a6af86
Bump concurrently from 7.2.1 to 7.2.2 (#5632)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-15 09:51:42 -04:00
dependabot[bot]
5da21ea663
Bump eslint-plugin-react-hooks from 4.5.0 to 4.6.0 (#5633)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-15 09:51:28 -04:00
dependabot[bot]
d0530a3fac
Bump eslint from 8.16.0 to 8.17.0 (#5627)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-15 09:51:19 -04:00
Jim Ehrismann
23f7d438f1
modify app test rendering to include status bar (#5630)
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2022-06-15 07:40:13 +03:00
Sebastian Malton
f45627f117
Fix not starting with sentryDSN configured (#5629)
* Fix not starting with sentryDSN configured

- Make sure that all beforeElectronIsReady runables are run completely
  syncronously

- Fix when setupSentry is to be run (namely before electron is ready)

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

* Fix tests

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-06-15 07:38:54 +03:00
dependabot[bot]
125277fd81
Bump sass from 1.52.2 to 1.52.3 (#5619)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-14 12:23:39 -04:00
dependabot[bot]
4e000ccc11
Bump @types/sharp from 0.30.2 to 0.30.4 (#5620)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-14 12:23:30 -04:00
dependabot[bot]
36196ed3be
Bump immer from 9.0.14 to 9.0.15 (#5621)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-14 12:23:17 -04:00
dependabot[bot]
a3c79ecf7c
Bump type-fest from 2.13.0 to 2.13.1 (#5616)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-14 12:23:06 -04:00
Sebastian Malton
f8b6c4a427
release 5.6.0-alpha.1 (#5618) 2022-06-14 12:03:28 -04:00
Sebastian Malton
1a6c42844a
Update copyright to 2022 (#5624) 2022-06-14 11:22:38 -04:00
Sebastian Malton
dc1f1ab7f8
Update release creation script (#5617) 2022-06-13 16:20:43 -04:00
dependabot[bot]
0dfd03e6df
Bump mobx from 6.5.0 to 6.6.0 (#5570)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sebastian Malton <sebastian@malton.name>
2022-06-13 16:17:44 -04:00
dependabot[bot]
e13183f60e
Bump @typescript-eslint/eslint-plugin from 5.27.1 to 5.28.0 (#5615)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-13 16:17:29 -04:00
dependabot[bot]
727fe59836
Bump marked from 4.0.16 to 4.0.17 (#5614)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-13 16:16:11 -04:00
dependabot[bot]
b43947fc53
Bump ts-node from 10.7.0 to 10.8.1 (#5613)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-13 16:16:00 -04:00