Commit Graph
2183 Commits
Author SHA1 Message Date
Jim Ehrismann f89ffb66bc added integration test bulletproofing to workaround a playwright issue with Electron 14 on windows
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2022-01-26 15:24:28 -05:00
Sebastian Malton 5387b200e6 Revert top bar changes, switch to nativeWindowOpen=true
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-01-26 14:45:32 -05:00
Sebastian Malton 18ec143262 Fix topbar
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-01-24 15:24:18 -05:00
Sebastian Malton bb905bc0e5 Toggle app context menu on windows and linux
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-01-24 15:11:35 -05:00
Sebastian Malton 2665cfc594 Fix test
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-01-24 13:12:57 -05:00
Sebastian Malton 36cb5aa006 Split out more ipc channels
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-01-24 13:06:53 -05:00
Sebastian Malton 0e69d26e14 revert version
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-01-24 12:40:10 -05:00
Sebastian Malton f40f9fc4ab revert extensions
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-01-24 12:39:36 -05:00
Sebastian Malton 9fa75199f3 Fix build and tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-01-24 12:27:52 -05:00
Sebastian Malton 3254f49f01 Replace all uses of requestMain with typed functions
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-01-24 12:07:45 -05:00
Sebastian Malton 8167f90bb6 upgrade to 14.2.4
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-01-24 11:05:00 -05:00
Jari Kolehmainen a1588b4739 lint fix
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2022-01-24 11:05:00 -05:00
Jari Kolehmainen 492376070e skip if webContents is not defined
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2022-01-24 11:05:00 -05:00
Jari Kolehmainen fc241d1066 improve error logging
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2022-01-24 11:05:00 -05:00
Jari Kolehmainen b0f4691778 fix missing event on ipcMain.emit
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2022-01-24 11:05:00 -05:00
Jari Kolehmainen 5c8139b025 fix tests
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2022-01-24 11:04:59 -05:00
Jari Kolehmainen 197dbe6cb0 electron 14 & remove @electron/remote dependency
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2022-01-24 11:04:45 -05: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 SavolainenandMikko Aspiala 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 NoaandDMYTRO ZHARKOV 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]andAlex Andreev 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 SavolainenandMikko Aspiala 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 SavolainenandMikko Aspiala 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 SavolainenandMikko Aspiala 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