Sebastian Malton
0b1696fe16
Fix build due to removal of old extended collections ( #4779 )
2022-01-31 10:46:40 -05:00
Sebastian Malton
0ce4e3d793
Full dependency inversion of <Dock> and all current tab kinds ( #4757 )
...
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Co-authored-by: Sebastian Malton <sebastian@malton.name>
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>
2022-01-31 09:49:36 -05:00
Sebastian Malton
38790eb886
Upgrade to latest for all linting deps ( #4755 )
...
* Upgrade to eslint latest
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix OOM error
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* resolve PR comments
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-01-29 07:46:37 -05:00
Sebastian Malton
8d8491a035
Ensure that CatalogEntity.getName() and CatalogEntity.getId() are always used ( #4763 )
2022-01-27 14:42:19 -05:00
Jari Kolehmainen
1cac3ca74c
Upgrade to Electron 14.2.4 ( #4625 )
...
Co-authored-by: Sebastian Malton <sebastian@malton.name>
Co-authored-by: Jim Ehrismann <jehrismann@mirantis.com>
2022-01-27 10:23:36 -05:00
Sebastian Malton
b3df5b4fc6
Fix pod logs dock tab ( #4738 )
...
- Move all dependencies into a transient LogsViewModel
- Remove dependencies on dockStore.selectedTab
- Make all bindings as late as possible, as per mobx rules
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-01-25 07:04:11 -05:00
Sebastian Malton
53ffc62391
Add extension API for registering custom category views ( #4733 )
2022-01-21 16:44:57 -05:00
Janne Savolainen
4f5a2988cb
Fix infinite render loop in release details ( #4710 )
...
* Fix infinite render loop in release details by replacing stateful, UI-triggered releaseStore with reactive async computed
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Update injectable
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Remove unnecessary return
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Remove empty lines
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Allow injection of history
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Make data required for opening of release details a dependency to make sure it's present
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
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>
* Make arriving release values not re-render whole details
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-01-21 16:29:10 +02:00
Dmitriy Noa
b7d29f8c49
Font settings for editor and ternimal ( #4694 )
...
* Add font settings for editor. Add terminal tab
Signed-off-by: DMYTRO ZHARKOV <dmytrozharkov@DMYTROs-MBP.fritz.box>
* Move shell settings to terminal tab
Signed-off-by: DMYTRO ZHARKOV <dmytrozharkov@DMYTROs-MBP.fritz.box>
* Add termilan font settings to store
Signed-off-by: DMYTRO ZHARKOV <dmytrozharkov@DMYTROs-MBP.fritz.box>
* Fix store crash
Signed-off-by: DMYTRO ZHARKOV <dmytrozharkov@DMYTROs-MBP.fritz.box>
* Cleanup
Signed-off-by: DMYTRO ZHARKOV <dmytrozharkov@DMYTROs-MBP.fritz.box>
* Remove unsued font-list
Signed-off-by: DMYTRO ZHARKOV <dmytrozharkov@DMYTROs-MBP.fritz.box>
* Cleanup. Move default font size to a const
Signed-off-by: DMYTRO ZHARKOV <dmytrozharkov@DMYTROs-MBP.fritz.box>
* Remove package.lock
Signed-off-by: DMYTRO ZHARKOV <dmytrozharkov@DMYTROs-MBP.fritz.box>
* PR fixes and cleanup
Signed-off-by: DMYTRO ZHARKOV <dmytrozharkov@DMYTROs-MBP.fritz.box>
* Move to settings object
Signed-off-by: DMYTRO ZHARKOV <dmytrozharkov@DMYTROs-MBP.fritz.box>
* Test
Signed-off-by: DMYTRO ZHARKOV <dmytrozharkov@DMYTROs-MBP.fritz.box>
* Add reaction to update terminals. Cleanup
Signed-off-by: DMYTRO ZHARKOV <dmytrozharkov@DMYTROs-MBP.fritz.box>
* Add config field to terminal
Signed-off-by: DMYTRO ZHARKOV <dmytrozharkov@DMYTROs-MBP.fritz.box>
* Merge with master and resolve conflicts
Signed-off-by: DMYTRO ZHARKOV <dmytrozharkov@DMYTROs-MBP.fritz.box>
* Fix merge issues
Signed-off-by: DMYTRO ZHARKOV <dmytrozharkov@DMYTROs-MBP.fritz.box>
* Fix lint and resolve conflicts
Signed-off-by: DMYTRO ZHARKOV <dmytrozharkov@DMYTROs-MBP.fritz.box>
Co-authored-by: DMYTRO ZHARKOV <dmytrozharkov@DMYTROs-MBP.fritz.box>
2022-01-21 09:18:53 +01:00
Sebastian Malton
411b9a9a88
Add support for custom columns on catalog categories ( #4708 )
2022-01-19 10:22:22 -05:00
Jari Kolehmainen
b7cb10521e
Drop old (< 3.0) cluster-store migrations ( #4718 )
2022-01-19 08:27:34 -05:00
Panu Horsmalahti
79c01daf6a
Support extending KubernetesCluster in extensions ( #4702 )
...
* Support extending KubernetesCluster in extensions
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
* Simplify getItemsByEntityClass
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
* Make apiVersion string.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
* Improve entity loading for extension custom types.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
* Improve comment.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
* Fix lint.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
* Properly handle loading custom entity in cluster-frame
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
* Avoid .bind with .loadOnClusterRenderer
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
* Fix lint.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
* Revert style change.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
* Make loadOnClusterRenderer arrow function again, revert autoInitExtensions change as unnecessary
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
* Remove commented code.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
* Document extending KubernetesCluster in extension guides.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
2022-01-19 14:57:42 +02:00
Roman
e862d5bf1d
Allow to customize terminal theme ( #4666 ) ( #4690 )
...
Allow to customize terminal theme, fix #2224
(cherry picked from commit a5e89b79d6 )
2022-01-18 18:16:50 +02:00
Janne Savolainen
589472c2b5
Shorten license header to reduce amount of clutter in top of the files ( #4709 )
...
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-01-18 10:18:10 +02:00
Gaurav Agrawal
66d0a354b1
replacing the deprecated substr() with slice() ( #4687 )
2022-01-17 13:57:03 -05:00
Janne Savolainen
00f6d6bc1f
Merge remote-tracking branch 'origin/master' into eliminate-gst-from-app-paths
2022-01-14 07:59:42 +02:00
Janne Savolainen
7c97303414
Remove duplicated LICENSE header
...
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-01-14 07:52:37 +02:00
Roman
0be1ab4ce0
Revert "Allow to customize terminal theme ( #4666 )" ( #4682 )
...
This reverts commit a5e89b79d6 .
2022-01-13 12:54:54 +02:00
Janne Savolainen
06379b089b
Add TODO
...
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-01-13 09:01:34 +02:00
Roman
a5e89b79d6
Allow to customize terminal theme ( #4666 )
...
Allow to customize terminal theme, fix #2224
2022-01-12 17:42:51 +02:00
Sebastian Malton
14b30d84a1
Fix crash for KubeObjectStore.loadAll() ( #4675 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-01-12 07:05:27 -05:00
Janne Savolainen
070750e736
Try fixing unit test in windows
...
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-01-11 14:51:57 +02:00
Janne Savolainen
883ece7ea2
Make unit test not fail on windows
...
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-01-11 14:34:46 +02:00
Janne Savolainen
8d87bd0985
Merge remote-tracking branch 'origin/master' into eliminate-gst-from-app-paths
...
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-01-11 13:56:23 +02:00
Janne Savolainen
f7f27a8304
Merge pull request #4424 from lensapp/issue-3258
...
Command Palette Improvements
2022-01-11 09:20:02 +02:00
Sebastian Malton
56c15e6b0f
Minor cleanup of Kubectl's downloadKubectl and writeInitScripts ( #4556 )
2022-01-10 10:48:58 -05:00
Janne Savolainen
e1a6d4c4a9
Merge remote-tracking branch 'origin/master' into eliminate-gst-from-app-paths
2022-01-10 17:13:20 +02:00
Janne Savolainen
48948c7286
Fix endless re-rending of logs
...
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-01-10 16:54:03 +02:00
Sebastian Malton
fa3708c879
Add eslint:recommended lint rule ( #4577 )
2022-01-07 08:38:21 -05:00
Janne Savolainen
ff9e9bd169
Re-implement some Extension API features using injectables
...
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-01-07 12:10:02 +02:00
Sebastian Malton
3ce9bfe4f9
Move hotbarManagerInjectable to different file
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-01-05 12:10:21 -05:00
Sebastian Malton
f8ae1149fb
Make all of Command* injectable, with some others too
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-01-05 11:48:52 -05:00
Sebastian Malton
abe90ad92a
Add CRDs to Command Palette and fix bugs
...
- Deprecate the "scope" on command registrations as it is buggy and
generally unfixable
- Switch to mounting CommandContainer in each new frame so that there is
no need to broadcast anything other than opening palette
- Add CRD entries to the command registry within each cluster
- Add navigate to CommandActionContext to simplify handling of root
frame scoped URLs
- Switch to using DI for some of the deps
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-01-05 11:48:51 -05:00
Sebastian Malton
4f75acf2b4
Ban circular dependencies ( #3547 )
2022-01-05 11:35:44 -05:00
Sebastian Malton
6a97a7b35b
Fix CRD.getPreferedVersion() to work based on apiVersion ( #4553 )
...
* Fix CRD.getPreferedVersion() to work based on apiVersion
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Add tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-01-05 07:53:28 -05:00
Janne Savolainen
9d33fff906
Cascade different refactorings to eliminate global shared state from app paths
...
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-01-05 13:26:49 +02:00
Janne Savolainen
a9189f82e6
Stop using global shared state for ExtensionDiscovery and it's relatives
...
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2021-12-28 11:51:34 +02:00
Sebastian Malton
8082501bb3
Remove unnecessary CatalogEntityItem ( #4582 )
...
* Remove unnecessary CatalogEntityItem
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Using simple notation to set search url params
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Fix styles file name
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-12-24 13:49:34 +03:00
Juho Heikka
9284741df5
Show splash window until bundled extensions have been loaded ( #4570 )
...
* Show splash window until bundled extensions have been loaded
Signed-off-by: Juho Heikka <juho.heikka@gmail.com>
* Remove unnecessary variable.
Signed-off-by: Juho Heikka <juho.heikka@gmail.com>
* Refactor autoInitExtensions
Signed-off-by: Juho Heikka <juho.heikka@gmail.com>
* Add timeout to waiting for bundled extensions to load
Signed-off-by: Juho Heikka <juho.heikka@gmail.com>
2021-12-23 11:00:18 +02:00
Sebastian Malton
e9d99d8485
Replace all uses of promiseExec with promiseExecFile ( #4514 )
2021-12-17 10:29:09 -05:00
Sebastian Malton
78678bdf2f
Add support for customizing the extension install registry URL ( #4503 )
2021-12-17 10:28:59 -05:00
Sebastian Malton
bde0a9ef91
Change isEnabledForCluster to use KubernetesCluster instead of Cluster ( #4584 )
2021-12-17 08:28:47 -05:00
Janne Savolainen
3418c0acfe
Merge pull request #4527 from jansav/make-menu-registry-obsolete
...
Remove MenuRegistry in favour of dependency injection
2021-12-16 15:11:30 +02:00
Janne Savolainen
c0a0127d2d
Merge pull request #4557 from lensapp/remove-weird-whitespace
...
Remove all 'NonBreakingSpace' characters from the repo
2021-12-16 08:38:55 +02:00
Janne Savolainen
2189679a30
Merge remote-tracking branch 'upstream/master' into make-menu-registry-obsolete
...
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2021-12-15 16:14:08 +02:00
Sebastian Malton
e32c33fc18
Add lint rule
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-12-15 08:41:28 -05:00
Janne Savolainen
9f7515db0e
Revert "Introduce a way to start replacing usages of Singleton base-class with no changes required on use places"
...
This reverts commit 34a47f5f
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2021-12-15 15:37:37 +02:00
Janne Savolainen
c92c8f8a11
Replace global state usages of ExtensionLoader with DI
...
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2021-12-15 15:37:36 +02:00
Sebastian Malton
d775d53078
Fix not being able to clear set cluster icon ( #4555 )
2021-12-14 11:38:31 -05:00
Sebastian Malton
c0e0408c9b
Remove all 'NonBreakingSpace' characters from the repo
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-12-10 13:06:33 -05:00