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
Panu Horsmalahti
696986b7e6
Use PartialDeep for patch type ( #4420 )
...
* Use PartialDeep for patch type.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
* Add test. Fix typing.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
* Fix lint.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2021-12-02 15:28:28 +02:00
Panu Horsmalahti
0ca8448d33
Retry watch if timeout set, but request was not retried ( #4388 )
...
* Retry watch if timeout set, but request was not retried.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
* Cancel current request if retried.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
* Clarify retried variable/comment
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2021-11-24 15:56:01 +02:00
Panu Horsmalahti
14ab00d017
Fix concurrent loadItems in CatalogEntityStore ( #4356 )
...
* Fix concurrent loadItems in CatalogEntityStore
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
* Add parameter to loadItems.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
* Remove unnecessary overloading.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2021-11-17 11:33:42 +02:00
Panu Horsmalahti
3214d8dfd5
Export KubeStatus to extensions api. ( #4339 )
...
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2021-11-15 15:51:29 +02:00
Panu Horsmalahti
6b047332c0
Reduce JSON-API logging. ( #4221 )
...
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2021-11-02 13:31:10 +02:00
Panu Horsmalahti
860f6e2e6d
Revert "Upgrade to Electron@v13.6.0 ( #4145 )" ( #4186 )
2021-10-29 08:39:20 -04:00
Panu Horsmalahti
be8e350510
Fix IPC race condition. ( #4169 )
...
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2021-10-28 18:46:16 +03:00
Panu Horsmalahti
0dab7b8073
Add option for providing request options to watch requests ( #4102 )
...
* Add option for providing request options to watch requests.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
* Move getRequestOptions to JsonApi.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
* Style fix
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
* Make token to be a string or a function
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
* Fix isFunction import.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
* Make getRequestOptions async.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
* Remove commented code.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
* Only set token if it's truthy.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
* Review fixes.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
* Add this.getRequestOptions default
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2021-10-21 19:18:32 +03:00
Panu Horsmalahti
429418a1e2
Emit contextMenuOpen for WebLink CatalogEntity ( #3842 )
...
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2021-09-20 10:09:51 -04:00
Panu Horsmalahti
8e9dd50828
Add catalogAddMenu filter to CatalogCategory ( #3722 )
2021-09-13 11:33:11 -04:00
Panu Horsmalahti
9d9f9c0072
Expose forRemoteCluster in the extension API. ( #3786 )
...
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2021-09-13 16:59:41 +03:00
Panu Horsmalahti
936927af98
Add CatalogCategory filter to the extension API ( #3718 )
...
* Add CatalogCategory filter to the extension API.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
* Fix test.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2021-09-13 15:46:28 +03:00
Panu Horsmalahti
519d950146
Display top bar in welcome screen. ( #3643 )
...
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2021-08-19 16:54:09 +03:00
Panu Horsmalahti
7e8cc2122c
Fix extension enabled status after installation ( #3199 )
...
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2021-06-28 16:48:02 +03:00
Panu Horsmalahti
d4c8f04989
Show error notification if user tries to remove the last hotbar ( #3160 )
...
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2021-06-23 08:48:22 -04:00
Panu Horsmalahti
3300a99a78
Display error dialog if extensions couldn't be loaded ( #1752 )
...
* Display error dialog if extensions couldn't be loaded
* Reject npm install on failure using the process exit code
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2020-12-14 09:23:59 +02:00
Panu Horsmalahti
d961d8b159
Remove symlink on extension install and manual runtime uninstall ( #1718 )
...
* Remove broken symlink on extension install
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
* Remove broken symlink on manual uninstall during runtime
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2020-12-10 12:39:37 +02:00
Panu Horsmalahti
ec0a90343e
Remove broken symlink from node_modules on uninstall ( #1695 )
...
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2020-12-08 21:04:01 +02:00
Panu Horsmalahti
172b2a9c9f
Add check to extension file watch ( #1677 )
...
* Add check to extension file watch
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
* Fix tests
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
* Fix tests on Windows.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
* Add logging for Windows test debugging purposes.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
* Try to fix tests on Windows again.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2020-12-08 17:30:47 +02:00
Panu Horsmalahti
ea98d68e08
Visualize extension loading ( #1635 )
...
* Visualize extension loading
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2020-12-04 16:51:28 +02:00
Panu Horsmalahti
432b00b8cc
Refactor ExtensionsStore ( #1620 )
...
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2020-12-03 11:43:33 +02:00
Panu Horsmalahti
4d754f6f26
Disable extension install button immediately ( #1591 )
...
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2020-12-02 11:45:02 +02:00
Panu Horsmalahti
7798dce61d
Enable installed extensions by default ( #1572 )
...
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2020-12-02 11:37:23 +02:00
Panu Horsmalahti
dcf253e7d5
Add eslint rule padding-line-between-statements ( #1593 )
...
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2020-12-02 09:55:52 +02:00
Panu Horsmalahti
832f29f666
Handle errors from getLatestApiPrefixGroup. ( #1575 )
...
* Handle errors from getLatestApiPrefixGroup.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
* Use logger instead of console for error
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2020-12-01 11:22:01 +02:00
Panu Horsmalahti
335778aeef
Enforce template strings in eslint ( #1574 )
...
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2020-11-30 15:35:16 +02:00
Panu Horsmalahti
b3fd2232b5
Disable Install button while installing. Fix install notification. ( #1551 )
...
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2020-11-27 16:05:28 +02:00
Panu Horsmalahti
77c8617b79
Add confirmation dialog to extension uninstall ( #1547 )
...
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2020-11-27 12:52:34 +02:00
Panu Horsmalahti
263d56b3c1
Disable Uninstall and Enable/Disable buttons while uninstalling. Add Notification for uninstall. ( #1539 )
...
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2020-11-27 10:23:12 +02:00
Panu Horsmalahti
ccd38b5cbe
Add extension uninstall ( #1524 )
...
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2020-11-26 10:45:47 +02:00
Panu Horsmalahti
4e02e086a9
Remove extension when folder is removed during runtime ( #1518 )
...
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2020-11-26 09:40:37 +02:00
Panu Horsmalahti
ff93760dc4
Enable object-shorthand rule ( #1500 )
...
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2020-11-24 13:16:35 +02:00
Panu Horsmalahti
2a8cfe5e67
Add React Developers Tools ( #1410 )
...
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2020-11-24 12:45:12 +02:00
Panu Horsmalahti
c79cee0311
Watch for added/removed local extensions ( #1482 )
...
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2020-11-24 10:48:40 +02:00
Panu Horsmalahti
22ff706f4c
Support networking.k8s.io/v1 for Ingress ( #1439 )
...
* Support networking.k8s.io/v1 for Ingress
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
* Add helper method to Ingress
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
* Fix lint errors.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2020-11-20 11:59:11 +02:00
Panu Horsmalahti
c94c599cdd
Merge pull request #1450 from lensapp/feature/enforce-semicolons
...
Enforce semicolons in eslint
2020-11-19 18:52:14 +02:00
Panu Horsmalahti
460dfe4d2b
Use @typescript-eslint/semi.
...
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2020-11-19 18:12:52 +02:00
Panu Horsmalahti
0b182ccf6f
Add a few missing folders to be linted.
...
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2020-11-19 17:05:30 +02:00
Panu Horsmalahti
1477bb8274
Enforce semicolons in eslint
...
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2020-11-19 16:35:04 +02:00