Sebastian Malton
6a359e8ddb
Fix residual typing issues related to metrics
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-10-04 17:55:31 -04:00
Sebastian Malton
d249c4c679
Fix show details and updating helm releases tests
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-10-04 17:55:30 -04:00
Sebastian Malton
042b679ca6
Fix showing-details-for-helm-release behavioural tests
...
- Remove HelmChartStore in favour of all injectables
- Create a model for UpgradeChartDockTab
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-10-04 17:55:30 -04:00
Sebastian Malton
4bef236f8c
Add new injectable for create KubeJsonApi and JsonApi instances
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-10-04 17:55:30 -04:00
Sebastian Malton
5f612dd595
Fix tests with new global override
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-10-04 17:55:30 -04:00
Sebastian Malton
b1d1b69b3d
Remove jest-fetch-mock and make fetch injectable
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-10-04 17:55:30 -04:00
Sebastian Malton
5a2a9248e8
Make KubeconfigDialog injectable
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-10-04 17:55:30 -04:00
Sebastian Malton
6cbb87705f
Use new createKubeJsonApiForClusterInjectable for openNodeShellSession
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-10-04 17:55:30 -04:00
Sebastian Malton
a0e15c453f
Convert the rest of shell sessions to be DI-ed
...
- This is a prerequesit for using the new
createKubeJsonApiForClusterInjectable
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-10-04 17:55:30 -04:00
Sebastian Malton
558dbddeb8
Switch KubeJsonApi.forCluster to be injectable but do not use
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-10-04 17:55:30 -04:00
Sebastian Malton
1809f98046
Replace resource applier with injectables
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-10-04 17:55:29 -04:00
Sebastian Malton
35f3c08279
Convert all metric requests to be injectable
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-10-04 17:55:29 -04:00
Sebastian Malton
12beacec81
Make PortForward's use of apiBase fully injectable
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-10-04 17:55:29 -04:00
Sebastian Malton
83970fb5a4
Convert all of Helm functions to be DI
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-10-04 17:55:29 -04:00
Sebastian Malton
2f57644801
Making apiBase injectable
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-10-04 17:55:29 -04:00
Sebastian Malton
ed073d6562
Revert "Remove mac-ca usage since it was only in tests ( #6043 )" ( #6319 )
...
This reverts commit f544386619 .
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-10-04 17:52:55 -04:00
Jim Ehrismann
07d03d3844
ignore prerelease tag for kubectl version to download ( #6299 )
...
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2022-10-04 15:33:18 -04:00
Alex Andreev
0fe3242030
Refactoring dock tab download logs tests ( #6149 )
...
* Separate 'download visible' and 'download all' tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Add disabled prop to DownloadLogsDropdown
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Test for dropdown if no logs available in the tab
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Fix linter
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Remove unused code statement
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Update snapshots
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-10-04 14:17:21 +03:00
Sebastian Malton
032e6d968c
Validate ClusterModel before trying to update or create a Cluster ( #4515 )
...
* Validate ClusterModel before trying to update or create a Cluster
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-10-03 12:36:28 -04:00
Sebastian Malton
f544386619
Remove mac-ca usage since it was only in tests ( #6043 )
...
* Make injecting CAs injectable, remove mac-ca as dependency
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix win-ca failing on electron renderer on windows
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix the matcher under features/ for main
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix lint
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-10-03 10:41:59 -04:00
Sebastian Malton
b9cc0d5687
Fix kubeconfig-sync sometimes producing multiple identical entities ( #5855 )
2022-10-03 10:38:41 -04:00
Sebastian Malton
e6396b7314
Stop overriding intree extension versions on build ( #6239 )
2022-10-03 10:36:47 -04:00
Andy Hall
55960ef653
Add missing space in "Remove x items" ( #6290 )
2022-10-03 09:53:06 -04:00
Juho Heikka
e8f691ab0e
Remove get-logs telemetry event ( #6296 )
...
Signed-off-by: Juho Heikka <juho.heikka@gmail.com>
Signed-off-by: Juho Heikka <juho.heikka@gmail.com>
2022-09-29 11:48:22 +03:00
Panu Horsmalahti
f594f961c6
Fix Singleton type in exports. ( #6291 )
...
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
2022-09-28 13:42:38 +03:00
Juho Heikka
333517eaa0
Remove telemetry from resource tab ( #6284 )
2022-09-21 15:49:18 +03:00
Sebastian Malton
4c49134dbc
Fix crash on clean startup ( #6276 )
...
* Convert ReleaseChannel into an InitializableState
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix init timing for DefaultUpdateChannel
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Make UserStore loading seperate from creation to fix initialization timing errors
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix overrides of UserStore
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix UserStore tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Move userStoreFileMigration call to the init runnable
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Add global override for userStoreFileMigratiom
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-09-20 08:19:09 +02:00
Sebastian Malton
a52e7be272
Fix typing issue with missing build.publish field ( #6264 )
2022-09-16 09:19:06 -04:00
Sebastian Malton
480899c0b6
Revert KubeJsonApi removal from extension api ( #6260 )
2022-09-16 08:32:33 -04:00
Sebastian Malton
67ac1692b2
Clean up versioning and packageJson uses ( #6196 )
2022-09-15 17:20:58 -04:00
Sebastian Malton
cfe35ded90
Fix overflow on main layout not being scrolled ( #6258 )
2022-09-15 15:56:41 -04:00
Sebastian Malton
a784ca70b1
Fix beta->latest->beta upgrade loop ( #6189 )
2022-09-15 08:02:14 -04:00
Ashley Nelson
9918c6a4d9
Update link to "add-cluster" docs page ( #6240 )
2022-09-14 09:55:30 -04:00
Jim Ehrismann
a2d52fa6b8
Made welcome page configurable ( #6232 )
...
Co-authored-by: Sebastian Malton <sebastian@malton.name>
2022-09-14 09:07:44 -04:00
Alex Andreev
e3703dbf26
Leading topbar home button to welcome page ( #6218 )
2022-09-13 10:43:51 -04:00
Sebastian Malton
23cb231c8f
Fix discovering extensions with with scopes ( #6221 )
2022-09-09 16:05:16 -04:00
Jari Kolehmainen
2d6239123b
Install all extensions via package.json ( #6214 )
2022-09-09 09:15:28 -04:00
Janne Savolainen
ec78080d99
Make opening of release details work properly when release has resources without namespace ( #6088 )
...
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Co-authored-by: Sebastian Malton <sebastian@malton.name>
2022-09-08 13:57:11 -04:00
Sebastian Malton
100bd870d7
Assume that bundled extensions are always compatible ( #6195 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-09-08 06:34:36 -04:00
Panu Horsmalahti
78b771d03b
Allow extensions to control status bar item visibility ( #6178 )
...
* Allow extensions to control status bar item visibility.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
* Move visible to StatusBarRegistration
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
2022-09-07 08:41:50 -04:00
Sebastian Malton
4a033a49f0
Readd space between key and value in ENV display ( #6183 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-09-07 08:40:56 -04:00
Juho Heikka
167f42330b
Initial telemetry whitelist ( #6181 )
...
* Remove emit-telemetry tag from navigate-to-route injectable
Signed-off-by: Juho Heikka <juho.heikka@gmail.com>
* Rename injectable to more describing name
Signed-off-by: Juho Heikka <juho.heikka@gmail.com>
* Add initial injectable ids to white-list
Signed-off-by: Juho Heikka <juho.heikka@gmail.com>
Signed-off-by: Juho Heikka <juho.heikka@gmail.com>
2022-09-07 08:40:37 -04:00
Jari Kolehmainen
7d9c79b50a
bump npm to 8.19.1 ( #6176 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2022-09-07 08:32:40 -04:00
Sebastian Malton
4eb71420a5
Move pod-logs test to features folder ( #6188 )
2022-09-06 14:07:33 -04:00
Sebastian Malton
f461b85b66
Fix type error in download-logs test ( #6167 )
2022-09-02 17:01:31 -04:00
Sebastian Malton
bab1b13317
Fix envFrom.prefix not being applied in container's env view ( #5434 )
2022-09-02 13:49:53 -04:00
Sebastian Malton
6ef284560a
Use extension version as projectVersion for exported ExtensionStore ( #6161 )
2022-09-02 09:43:06 -04:00
Iku-turso
fc3512daf2
Introduce a centralised way to emit telemetry from calls of injectable functions ( #6164 )
...
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>
Co-authored-by: Juho Heikka <juho.heikka@gmail.com>
2022-09-02 09:33:22 -04:00
Lauri Nevala
f3ff5117e5
Add Prometheus Helm 14.x metrics provider ( #6157 )
2022-09-02 08:47:42 -04:00
Lauri Nevala
ba49ede36c
Reset Prometheus metrics provider on disconnect ( #6158 )
2022-09-02 08:46:35 -04:00