Sebastian Malton
a4f70c3d53
Fix broken 'Add Cluster' docs link ( #5725 )
...
* Fix broken 'Add Cluster' docs link
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* fix tests
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2022-07-01 10:06:27 -07:00
Janne Savolainen
5f57213179
Fix stuff happening based on timers not being run correctly in unit tests ( #5764 )
...
* Introduce helper for advancing fake time
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Introduce reactive now to kludge around global shared state in library
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Replace all usages of "now" from mobx-utils with our own kludge to get rid of shared global state between unit tests
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Consolidate all usages of advanceTimersByTime to make sure things happening based on timers are run correctly
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Fix incorrect expect in test
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Enable skipped unit test since prerequisites are done
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
2022-07-01 19:40:34 +03:00
Jim Ehrismann and Janne Savolainen
3480b517c1
auto-update notifications on the status bar ( #5361 )
...
* auto-update notifications on the status bar
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
* integrated with new and improved autoupdate code
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
* lint
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
* refactored to include AutoUpdateComponent in the statusBarItemsInjectable
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
* refactor to use a registrator
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
* fix lint, remove unused code
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
* refactored for the simplified logic for injecting many instances PR
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
* using the update syncBox injectables directly for status bar notifications
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
* removed update broadcasting/listening, updated snapshots
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
* fixing tests
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
* fixed tests
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
* cleanup after rebase to master
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
* address review comments
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
* fixed incorrect injectable id
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
* address review comments
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
* Tweak code-style
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
2022-07-01 14:09:00 +03:00
Sebastian Malton
165bf57380
Fix triple click breaking inputs ( #5588 )
2022-06-30 08:26:08 -04:00
Sebastian Malton
27adab8d1c
Fix parsing memory metrics expecting wrong unit suffix ( #5585 )
2022-06-30 08:25:56 -04:00
Jari Kolehmainen
71473af796
more padding between status bar items ( #5760 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2022-06-30 10:11:04 +03:00
Sebastian Malton
0f43779727
Add react-select as a dependency for @k8slens/extensions ( #5705 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2022-06-29 19:33:31 -07:00
Alex Andreev
014ec6a03b
Align HotbarSelector elements with status bar items ( #5755 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-06-29 15:44:36 +03:00
Janne Savolainen
5d76dd4fc2
Stop trying to restart catalog sync and updating of application when reloading window ( #5735 )
2022-06-29 08:22:08 -04:00
Sebastian Malton
7ab3d419b3
Fix selecting items always scrolling to top ( #5728 )
2022-06-29 08:21:57 -04:00
Sebastian Malton
a1f79092a5
Remove 'Update Now' notification ( #5750 )
2022-06-28 12:01:01 -04:00
Alex Andreev and Janne Savolainen
3084b7b8d9
Change update warning level over time ( #5445 )
...
* Give an UpdateButton injectables
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* AppUpdateWarning class and injectable
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Rename folder to app-update-warning
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Add appPublishDateInjectable
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Inject ipcRenderer into app-update-warning
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Add setter for downloadedUpdateDate
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Add tests for AppUpdateWarning
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* appPublishDate initial test
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Parsing app release date from the package version
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Introduce appUpdateWarningLevelInjectable
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix withInjectables props
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Determine warning from days passed after update available
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Save update available date in session storage
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Move quitAndInstall() to separate function
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Register quit-and-install ipc channel
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Make update function injectable for button
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Update tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Set proper timeframes
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Setting global UTC timezone for tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Refresh tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Testing warning level changes over time
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Remove unused app-publish-date files
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Make linter happy
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Pass quitAndInstallUpdateInjectable to UpdateButton
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Remove updateAppInjectable
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Initial tests for installing update using topbar button
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Refactor AppUpdateWarning class using injectables
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Permit side effects in injectable
periodicalCheckForUpdateWarningInjectable
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Temporarily set noop for UpdateButton update()
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Remove previous implementation files
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Unoverriding topbar injectables
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Render TopBar inside ApplicationBuilder
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Move updateWarningLevelInjectable
to /common subfolders from /main
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Make UpdateButton warning prop observable
by using computed() structure
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Updating snapshots
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Add sync box files allowing to restart & install
update from renderer process
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Add Update button dropdown tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix jest.advanceTimersByTime usage
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Check for severe warning level
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Linter fixes
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Remove usage of legacy global causing trouble in unit tests
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Make update warning level completely reactive and responsibility of a renderer
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Remove dead code
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Remove tests that are covered by behaviour
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Fix restarting and installing update when pressing update button
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Update snapshots
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Remove dead code
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Update more snapshots
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Remove duplication from behavioural unit test
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Reducing too large MenuItems height
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Reduce too large UpdateButton paddings
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Add jest globalSetup into package.json
to fix timezone test
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Do not triggering computed value every time it is being used
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
2022-06-28 16:27:19 +03:00
Alex Andreev
0e1c507ce1
Do not affect history while navigating ( #5741 )
...
to Preferences extensions tabs
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-06-28 13:47:55 +03:00
Janne Savolainen
2b9c2ad69e
Re-export types for notifications store to revert accidental breaking… ( #5715 )
...
* Re-export types for notifications store to revert accidental breaking change
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Tweak exports for notifications to provide same API contract
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
2022-06-27 09:06:02 +03:00
Janne Savolainen
fc770b4b44
Revert accidental breaking change ( #5703 )
2022-06-22 09:48:09 -04:00
Iku-turso and Janne Savolainen
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 and Mikko Aspiala
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 and Janne Savolainen
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
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
Janne Savolainen and Mikko Aspiala
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
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 and Mikko Aspiala
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
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
Sebastian Malton
1a6c42844a
Update copyright to 2022 ( #5624 )
2022-06-14 11:22:38 -04:00
dependabot[bot] and Sebastian Malton
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] and Sebastian Malton
9cfc34e547
Bump typescript from 4.6.4 to 4.7.3 ( #5571 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sebastian Malton <sebastian@malton.name >
2022-06-13 14:30:24 -04:00
Sebastian Malton
808875f491
Add @types/hapi__call and @types/hapi__subtext ( #5574 )
2022-06-13 11:00:18 -04:00
Sebastian Malton
3058bea88f
Fix memory leak in unit tests ( #5597 )
2022-06-13 11:00:07 -04:00
Janne Savolainen
2eb585e88e
Fix merge conflict with async validators ( #5606 )
...
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
2022-06-13 15:19:37 +03:00
Janne Savolainen and Mikko Aspiala
1393cc303d
Stop using HelmCli from Renderer ( #4861 )
...
* Introduce way for execute file
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Make typing of HelmRepo shared
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Introduce way to get Helm environment values
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Introduce function to read YAML file
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Introduce competition for listing active helm repositories in preferences
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Make sense in name of injectable
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Introduce helper for opening and selecting values of select
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Introduce competition for activating, deactivating public helm repositories in preferences
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Introduce competition for deactivating helm repository from list of active repositories
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Add missing global overrides
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Make some tests more deterministic by mocking tooltips
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Introduce competition for activating custom helm repository in preferences
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Update snapshots
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Remove old implementation made redundant with competition for preferences of helm repositories
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Add success notification for activating custom helm repository
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Introduce way to get single active helm repository
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Extract responsibilities from god-class and switch to getting helm repositories using competition instead of another god class
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Remove dead code
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Add TODO
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Tweak position of spinner
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Start handling errors when accessing helm repositories
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Handle error about no helm repositories when updating repositories
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Remove unwarranted function configuration
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Add missing global overrides
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Remove duplication how to acquire binary path for helm
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Remove redundant comment
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Consolidate naming to match Helm's internal
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Relocate file closer to it's relatives
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
2022-06-13 11:42:53 +03:00
Sebastian Malton
5420780ae0
Fix changes to InputValidator to resolve accidental breaking changes ( #5403 )
...
* Fix changes to InputValidator to resolve accidental breaking changes
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Show changes working by removing no longer required empty props objects
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* fix type errors
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Fix async validation errors not being displayed
- And fix validation errors sometimes being displayed multiple times
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Simplify builders for validators
- Replace the boolean type params on `function inputValidator` with a
new builder `function inputValidatorWithRequiredProps` to make the
code easier to read
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Introduce unionizing functions for input validators
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* fix tests
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Remove RequiredProps type param
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2022-06-10 06:41:29 -04:00
Sebastian Malton
c54d59f205
Fix cluster.k8s.io/v1alpha1/clusters CRD not being marked as Namespaced ( #5593 )
2022-06-09 16:55:01 -04:00
Jari Kolehmainen
240dfad167
Enable csp on lens proxy ( #5581 )
...
* enable csp on lens proxy
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* move csp default value to package.json
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2022-06-09 13:39:37 +03:00
Sebastian Malton
2b5d54e8d9
Revert breaking the types of DrawerTitle ( #5573 )
2022-06-08 10:01:07 -04:00
Jari Kolehmainen
72c82c443e
Disable nativeWindowOpen on webviews ( #5582 )
2022-06-08 09:37:57 -04:00
Sebastian Malton
17c7b6a1bf
Add reactive tray icon for when update is available ( #5567 )
2022-06-08 08:37:19 -04:00
Jari Kolehmainen
db65a89ee0
Electron v15.5.7 ( #5562 )
...
* electron v15.5.7
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* change pipelines to use node 16
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* bump @types/node
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* update yarn.lock
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* use fs.ObjectEncodingOptions
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2022-06-08 09:55:17 +03:00