Janne Savolainen
4c1489c3d5
Improve code style
...
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-01-27 09:30:07 -05:00
Janne Savolainen
81d5c7a8e6
Remove comment
...
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-01-27 09:30:07 -05:00
Janne Savolainen
0ebc984047
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>
2022-01-27 09:30:07 -05:00
Janne Savolainen
15249df555
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>
2022-01-27 09:30:07 -05:00
Sebastian Malton
fd9e2ba8ae
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-27 09:16:49 -05:00
Sebastian Malton
2ca2793bfc
Fix test
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-01-26 17:57:10 -05:00
Sebastian Malton
ae4869b3fc
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-26 16:50:23 -05:00
Sebastian Malton
0b400d2b34
Fix topbar to inject isLinux and isWindows to fix tests
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-01-26 16:09:20 -05:00
Sebastian Malton
4efb6b5b00
Fix unit tests
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-01-26 15:31:44 -05:00
Sebastian Malton
dd7c79db45
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-26 14:17:32 -05:00
Sebastian Malton
b2088f3c53
Refactor templates for create resource tab for ease of testing
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-01-26 12:33:10 -05:00
Sebastian Malton
d56dbc2342
Finish LogSearch tests
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-01-26 10:30:29 -05:00
Sebastian Malton
b4612200f0
Add some tests for LogSearch, fix extension API and sendCommand
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-01-26 10:27:47 -05:00
Sebastian Malton
d9a8d8fc8a
Fix build
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-01-26 10:00:22 -05:00
Sebastian Malton
3862122031
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-25 17:23:58 -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
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
dependabot[bot]
10e4416b07
Bump nodemon from 2.0.14 to 2.0.15 ( #4519 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-24 10:41:43 -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
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
dependabot[bot]
3d87d67165
Bump follow-redirects from 1.11.0 to 1.14.7 ( #4689 )
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.11.0 to 1.14.7.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.11.0...v1.14.7 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-18 15:05:19 +03:00
dependabot[bot]
f629de8589
Bump marked from 2.1.3 to 4.0.10 ( #4695 )
...
* Bump marked from 2.1.3 to 4.0.10
Bumps [marked](https://github.com/markedjs/marked ) from 2.1.3 to 4.0.10.
- [Release notes](https://github.com/markedjs/marked/releases )
- [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json )
- [Commits](https://github.com/markedjs/marked/compare/v2.1.3...v4.0.10 )
---
updated-dependencies:
- dependency-name: marked
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
* Upgrading marked types
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-01-18 12:33:36 +03:00
dependabot[bot]
5ca194b401
Bump shelljs from 0.8.4 to 0.8.5 ( #4696 )
...
Bumps [shelljs](https://github.com/shelljs/shelljs ) from 0.8.4 to 0.8.5.
- [Release notes](https://github.com/shelljs/shelljs/releases )
- [Changelog](https://github.com/shelljs/shelljs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/shelljs/shelljs/compare/v0.8.4...v0.8.5 )
---
updated-dependencies:
- dependency-name: shelljs
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-18 12:01:20 +03: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
Sebastian Malton
eb93a2eee7
Revert "Add auto-detect support for Victoria Metrics Single" ( #4705 )
2022-01-17 13:55:30 -05:00
Jari Kolehmainen
ae10c4d87a
Add auto-detect support for Victoria Metrics Single ( #4693 )
2022-01-17 13:55:00 -05:00
Iku-turso
0b321f7144
Merge pull request #4653 from lensapp/eliminate-gst-from-app-paths
...
Eliminate Global Shared State from app paths and relatives
2022-01-17 19:24:15 +02:00
Janne Savolainen
84b1d9e703
Temporary disable failing integration tests to allow merging and solve issue in separate PR
...
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-01-17 18:24:17 +02:00
Janne Savolainen
1e772e5303
Fix import
...
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-01-14 08:05:22 +02:00
Janne Savolainen
edd9dcd44b
Fix duplicate import
...
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-01-14 08:04:25 +02: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
4e2995f979
Extract business logic from component while trying to solve re-rendering issue
...
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-01-13 09:04:15 +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
2ee47a442a
Reroute to landing page from previously registered extension cluster pages ( #4385 )
2022-01-12 08:47:42 -05:00
Sebastian Malton
39beca0639
Fix Kubectl.downloadKubectl() ( #4674 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-01-12 07:06:54 -05: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