Janne Savolainen
9d2c636a8e
Fix code style
...
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-01-31 09:10:24 -05:00
Janne Savolainen
de890fa0e7
Stop exporting dependencies for not being required
...
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-01-31 09:10:24 -05:00
Janne Savolainen
b7297e28b2
Remove options from writeJsonFile for YAGNI
...
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-01-31 09:10:23 -05:00
Janne Savolainen
5567b0df30
Replace factory function with transient dependency
...
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-01-31 09:10:23 -05:00
Janne Savolainen
b1c3a59709
Make global override for accessing file system throw to require explicit override
...
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-01-31 09:10:23 -05:00
Janne Savolainen
175add91fc
Replace setup-time asynchronicity with spinner when actually showing the data
...
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-01-31 09:10:23 -05:00
Janne Savolainen
d42a546514
Fix typo
...
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-01-31 09:10:23 -05:00
Janne Savolainen
5de886a57f
Remove util for not being used anymore
...
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-01-31 09:10:23 -05:00
Janne Savolainen
3a2633c28d
Remove usages of "bind" utility method for simplicity
...
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-01-31 09:10:23 -05:00
Janne Savolainen
44a060ff42
Fix involuntary rerenders in item list layout ( #4720 )
...
* Fix involuntary re-renders in item list layout
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Enable skipped integration tests for being fixed
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Remove comment
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Improve code style
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* flatten file heirarchy
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix item list layout header rendering bug
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Co-authored-by: Sebastian Malton <sebastian@malton.name>
2022-01-31 09:10:23 -05:00
Sebastian Malton
8214076ca0
Fix install chart tab error notifcation on reconnect
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-01-31 09:10:23 -05:00
Sebastian Malton
bc24aaa5ac
Add error resiliency to waitForPath
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-01-31 09:10:23 -05:00
Sebastian Malton
45907e8a2c
Fix writeJsonFileInjectable
...
- Previous change accidentally removed the ensureDir and default spacing
code
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-01-31 09:10:23 -05:00
Sebastian Malton
1cc86fff11
Remove debugging console logs
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-01-31 09:10:23 -05:00
Sebastian Malton
9e1261b7f6
Fix log search
...
- Don't blur on enter by default on <SearchInput>
- Use SHIFT+ENTER for reverse search jumping
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-01-31 09:10:23 -05:00
Sebastian Malton
5e1cdf9774
Fix test
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-01-31 09:10:23 -05:00
Sebastian Malton
37ddf6aa44
Fix pod logs not always showing on reconnect to cluster
...
- Pod logs are now independent of the namespace select filter
- The logs list now shows a spinner while loading
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-01-31 09:10:23 -05:00
Sebastian Malton
fa72f28fc5
Fix topbar to inject isLinux and isWindows to fix tests
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-01-31 09:10:22 -05:00
Sebastian Malton
ba45bfea1e
Fix unit tests
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-01-31 09:09:58 -05:00
Sebastian Malton
746c0a73a2
Fix switch pods in logs tab from crashing lens
...
- Add in Error boundary into the dock
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-01-31 09:09:58 -05:00
Sebastian Malton
0956760626
Refactor templates for create resource tab for ease of testing
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-01-31 09:09:58 -05:00
Sebastian Malton
3e045305ef
Finish LogSearch tests
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-01-31 09:09:58 -05:00
Sebastian Malton
d3c1b0e2e9
Add some tests for LogSearch, fix extension API and sendCommand
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-01-31 09:09:58 -05:00
Sebastian Malton
993230c60b
Fix build
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-01-31 09:09:58 -05:00
Sebastian Malton
595fb90a2a
Full dependency inversion of <Dock> and all current tab kinds
...
- Fixes pod logs not working on initial load
- Removes DockStore as a dependency of all *TabStore
- Removes all the reactions about loading new data from the stores
- Removes dependencies on selectedTabId from all *TabStore's
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-01-31 09:09:56 -05:00
Dmitriy Noa
a9abcf99e4
Fix failing lint in master ( #4775 )
...
Signed-off-by: DmitriyNoa <dmytro.zharkov@gmail.com>
2022-01-31 11:03:49 +01: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
2ad78c2a86
Fix item menus for several pages ( #4770 )
2022-01-28 11:08:06 -05:00
Janne Savolainen
09b33633f7
Replace StatusBarRegistry with reactive solution ( #4728 )
2022-01-28 08:40:58 -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
a2b9153e52
Allow users of KubeObjectListLayout to override all props of ItemListLayout ( #4752 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-01-27 07:13:56 -05:00
Sebastian Malton
162741a7cc
Fix multi-document support in monaco editor ( #4756 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-01-27 07:13:41 -05:00
Alex Andreev
5fb465802b
Do not pass blurOnEnter to html element ( #4762 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-01-27 15:05:26 +03:00
Alex Andreev
e353d530e8
Remove first column padding ( #4761 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-01-27 13:05:13 +03:00
Jari Kolehmainen
57a2647a03
Export missing k8s api types for extensions ( #4749 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2022-01-27 08:30:09 +02: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
Alex Andreev
b037c3bf02
Fix: keep ItemListLayout scrollable with custom views ( #4737 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-01-25 08:04:42 +03: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
Jim Ehrismann
6cba82c491
redid changes after large refactor on master ( #4688 )
...
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2022-01-20 09:38:16 -05:00
Panu Horsmalahti
23c38b1f4e
Fix race condition with extension loading. ( #4724 )
...
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
2022-01-20 12:01:42 +02:00
Sebastian Malton
411b9a9a88
Add support for custom columns on catalog categories ( #4708 )
2022-01-19 10:22:22 -05:00
Jim Ehrismann
d31ab690c2
Refactor app-preferences-registry to use di ( #4671 )
...
* converting app-preferences to use di
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
* address review comments and fix lint
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
* use compact license header
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2022-01-19 08:54:45 -05:00
Andreas Schmidt
86f14a9cdf
fix inputs not blurring when pressing enter ( #4692 )
2022-01-19 08:27:55 -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
Alex Andreev
74d92d09d9
Fix: remove hotbar name from status bar ( #4679 )
...
* Show tooltip with hotbar name manually
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Remove this.refreshPosition() call
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Remove hotbar name from status bar
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Convert HotbarSelector to use css modules
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Remove unused export
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Fixing linter
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Clean up
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Invert invisible prop
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Linter fix
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-01-19 14:31:15 +03: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