Commit Graph
100 Commits
Author SHA1 Message Date
Alex Andreev a0bd4c003a Linter fixes
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-06-28 10:23:14 +03:00
Alex Andreev 4d852b9e02 Check for severe warning level
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-06-28 08:38:29 +03:00
Alex Andreev d89f238d48 Fix jest.advanceTimersByTime usage
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-06-28 08:33:57 +03:00
Alex Andreev 6c6c9e8c13 Merge branch 'master' into compare-update-and-release-dates 2022-06-27 18:40:27 +03:00
Alex Andreev 188c6d2cb2 Add Update button dropdown tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-06-27 13:01:36 +03:00
Alex Andreev 5aa8718f90 Add sync box files allowing to restart & install
update from renderer process

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-06-27 13:01:00 +03:00
Alex Andreev 6284e6cd9a Updating snapshots
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-06-27 10:12:10 +03:00
Alex Andreev cd2d2f97e4 Make UpdateButton warning prop observable
by using computed() structure

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-06-27 10:11:54 +03:00
Alex Andreev 4e9d81dbea Move updateWarningLevelInjectable
to /common subfolders from /main

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-06-27 10:11:13 +03:00
Alex Andreev cd2cd0cbf0 Render TopBar inside ApplicationBuilder
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-06-27 07:43:38 +03:00
Alex Andreev 1683218444 Unoverriding topbar injectables
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-06-27 07:37:28 +03:00
Alex Andreev 09465f439c Remove previous implementation files
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-06-24 15:48:15 +03:00
Alex Andreev e6c8e41033 Temporarily set noop for UpdateButton update()
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-06-24 15:45:33 +03:00
Alex Andreev ab51b6068c Permit side effects in injectable
periodicalCheckForUpdateWarningInjectable

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-06-24 15:44:54 +03:00
Alex Andreev 85cad0d6c9 Refactor AppUpdateWarning class using injectables
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-06-24 15:20:20 +03:00
Alex Andreev 3827202e5f Initial tests for installing update using topbar button
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-06-24 15:14:35 +03:00
Alex Andreev 28174f0ad1 Merge branch 'master' into compare-update-and-release-dates 2022-06-23 11:07:51 +03:00
Alex AndreevandJanne Savolainen 0784085bf4 Show extension preferences in separate page (#5284)
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com>
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>
2022-06-21 11:11:31 -04:00
Alex Andreev 96ed99a06b Fix table row heights (#5652) 2022-06-16 10:01:27 -04:00
Alex Andreev 8349d6aa4a Fix html font size and adjust usage of rem units (#5641)
* Leave default browser font-size for the html

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Fix preferences helm repos layout

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Adjust usage of rem units

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Adjust namespace select filter option sizes

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Fixing ToBottom btn sizing

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Fixing Remove Cluster dialog sizing

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Fixing catalog sidebar title font-size

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Fix Notice sizing

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Update snapshots

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Update more snapshots

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-06-15 19:38:10 -04:00
Alex Andreev b1aec17bad Remove updateAppInjectable
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-06-09 12:11:01 +03:00
Alex Andreev f67d862679 Pass quitAndInstallUpdateInjectable to UpdateButton
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-06-09 12:10:40 +03:00
Alex Andreev 3207a6f057 Merge branch 'master' into compare-update-and-release-dates 2022-06-09 10:27:53 +03:00
Alex Andreev 2b19930f57 Make linter happy
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-05-31 15:16:57 +03:00
Alex Andreev 64683a8a86 Remove unused app-publish-date files
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-05-31 15:05:18 +03:00
Alex Andreev 1bd4c46ed2 Testing warning level changes over time
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-05-31 15:03:05 +03:00
Alex Andreev 73969ed17a Refresh tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-05-31 13:07:27 +03:00
Alex Andreev 1a3f7ddd02 Setting global UTC timezone for tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-05-31 10:38:05 +03:00
Alex Andreev 194370e020 Set proper timeframes
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-05-30 17:05:27 +03:00
Alex Andreev dc7901ef8b Update tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-05-30 13:06:12 +03:00
Alex Andreev 1f1aa6cd32 Make update function injectable for button
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-05-30 13:05:58 +03:00
Alex Andreev 315f0a73da Register quit-and-install ipc channel
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-05-30 13:05:06 +03:00
Alex Andreev c0cfd3e42d Move quitAndInstall() to separate function
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-05-30 13:04:18 +03:00
Alex Andreev 91edfc7206 Save update available date in session storage
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-05-27 15:18:00 +03:00
Alex Andreev b60893c35a Determine warning from days passed after update available
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-05-27 14:02:34 +03:00
Alex Andreev 613e98cd2f Fix withInjectables props
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-05-27 14:01:48 +03:00
Alex Andreev 9acc2c9f9c Introduce appUpdateWarningLevelInjectable
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-05-27 14:01:13 +03:00
Alex Andreev c2c9c93b54 Parsing app release date from the package version
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-05-26 11:28:01 +03:00
Alex Andreev c9f105405f appPublishDate initial test
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-05-25 16:02:43 +03:00
Alex Andreev 6dadbd30a4 Add tests for AppUpdateWarning
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-05-25 14:41:42 +03:00
Alex Andreev b5c5e4f8f7 Add setter for downloadedUpdateDate
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-05-25 14:41:14 +03:00
Alex Andreev d7824f4a89 Inject ipcRenderer into app-update-warning
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-05-25 14:40:24 +03:00
Alex Andreev c044d6d2c2 Add appPublishDateInjectable
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-05-25 14:39:59 +03:00
Alex Andreev 1ffe3144cc Rename folder to app-update-warning
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-05-24 20:24:34 +03:00
Alex Andreev a28d79b5a8 AppUpdateWarning class and injectable
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-05-24 15:17:05 +03:00
Alex Andreev 1fd3487f3f Give an UpdateButton injectables
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-05-24 15:16:25 +03:00
Alex Andreev c2b4fed5c3 TopBar Update button (#5376)
* UpdateButton skeleton

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Show UpdateButton in topbar

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Default button styles

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Add update icon to menu item

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Replace colors for medium & high levels

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Fine-tune colors for light theme

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Fix keyboard events bug

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Hide <UpdateButton> from topbar

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Clean up

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Using dropdown icon instead of sandwich

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Used determenistic id for the button

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Respect id prop

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Add small space

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Using accent color directly from active theme

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Update snapshots

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Fix open/close Menu errors

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Linter fix

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Fix linter harder

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Clean up tests

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Fix act() wrapper console.error

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Remove aria-expanded attribute

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-05-18 19:36:40 +03:00
Alex Andreev cc9ee67dc2 Fix <Switch/> checked callback attribute value (#5360) 2022-05-11 10:33:01 -04:00
Alex Andreev fdf65e8ab6 Allowing to copy text from About dialog (#5335) 2022-05-05 11:49:11 -04:00
Alex Andreev d1ae30a562 Fix misleading no metrics message (#5240)
* Add NoMetrics style module

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Add Open Cluster Settings link

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Fine-tune NoMetrics layout

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Add test for clicking Open Settings link

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Add data-testid

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Fixing tests

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Use navigateToEntitySettings instead of broadcastMessage

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Fix test selector

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-04-27 15:48:49 +03:00
Alex Andreev 4a14393027 Upgrade electron-builder to 23.0.3 (#5247)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-04-20 10:38:12 +03:00
Alex Andreev 51f7e8f1bc Not using paddings for empty top bar items (#5249)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-04-19 17:47:28 +03:00
Alex Andreev 542cbe9ebf Fix PieChart tooltips (#5223)
* Add tooltipLabels field to ChartData

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Use tooltipLabels in ClusterPieCharts for pods

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Check for tooltipLabels field to assign tooltip text

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Use tooltipLabels inside overview charts

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Expand workload overview charts to fit tooltips

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Move tooltipLabels into chart datasets

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Move tooltipLabels prop to PieCharts

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Little clean up

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Getting back id field to PieChartData interface

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Id fix

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* More clean up

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-04-11 15:21:18 +03:00
Alex Andreev 51b045415c Merge pull request #5204
* Add identity-obj-proxy dependency
2022-04-07 14:06:43 +03:00
Alex AndreevandRoman 93a8d0f157 Do not render Tooltip and Menu elements until needed (#5168)
* Clean up Menu DOM elements

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Clean up Tooltip DOM

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Do not render Animate when not in need

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Update snapshots

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* clean up <Animate/> and <Tooltip/>

Signed-off-by: Roman <ixrock@gmail.com>

Co-authored-by: Roman <ixrock@gmail.com>
2022-04-06 16:44:14 +03:00
Alex Andreev 66330485b1 Fix broken hotbar switcher (#5182)
* Getting this context for switch hotbar methods

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Do not convert store methods to arrow functions

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-04-06 14:28:07 +03:00
Alex Andreev 90d4d41936 Set dock tab contrast bg color (#5143) 2022-03-30 10:54:34 -04:00
Alex Andreev 37d8294198 Remove HotbarIcon box-shadow artifacts (#5142)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-03-30 15:23:46 +03:00
Alex Andreev dd0cb8594c Fix use transparent bg if Avatar contains <img/> inside (#5131) 2022-03-29 10:02:18 -04:00
Alex Andreev 6b8ff7eb15 Fix mobx error after Edit Resource tab close (#5130)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-03-29 13:29:27 +03:00
Alex Andreev 13945d677b Fix: make dock tab close button smaller (#5115) 2022-03-28 09:16:59 -04:00
Alex Andreev 8c8bab540c Fix: overlapped pod logs (#5029) 2022-03-17 08:15:04 -04:00
Alex Andreev 772e879b81 Fix "logs from" date (#4987) 2022-03-10 16:13:22 -05:00
Alex Andreev dd5dfb393d Add 'Sync with computer' theme option (#4973) 2022-03-09 08:08:24 -05:00
Alex Andreev 2bed34ccd5 Show helm details fetch errors in Notifications (#4905)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-02-24 07:52:45 +03:00
Alex Andreev a2ee3c4d5d Fix: closing terminal tab error (#4874) 2022-02-16 09:05:25 -05:00
Alex Andreev 00314aabc0 Fix unresponsive kubectl download binaries switch (#4807)
* Add observer wrapper to KubectlBinaries

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Add missing terminal title

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-02-03 14:57:55 +03:00
Alex Andreev 334ab56f9d Fix dialog icons hover color (#4791)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-02-02 16:47:33 +03:00
Alex Andreev 576135f723 Fix quota entries layout in Add Resouce Quota dialog (#4789)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-02-02 16:46:33 +03:00
Alex Andreev 65669f6a64 Fix: increase catalog entity name col width (#4776)
* Increase .entityName col width

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Adjust catalog menu paddings

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Fix table head border color

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-01-31 17:04:15 +03:00
Alex Andreev 205225f6a4 Docs: add styling Custom Views block (#4760) 2022-01-27 08:18:48 -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
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
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
Alex Andreev 5bdfea6e31 Native switch component (#4610)
* Switch component initial draft

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Add onClick event

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* onClick fine-tunings

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Fine-tuning styles

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Adding tests

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Fix light theme thumb color

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Using native switch in places

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Removing material ui switcher

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Revert "Removing material ui switcher"

This reverts commit 6b9e0a090c.

* Mark Switcher and FormSwitch as deprecated

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Cleaning up

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Using theme-light mixin

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Fix fetching values from onChange callback

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Add custon onChange event with checked prop

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Check for onChange() availability

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Fix show minimap label

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-12-30 13:58:28 +03:00
Alex Andreev d8dbe51e7a Fix close button overflow in Preferences (#4611)
* Adding basic colors to tailwind theme

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Using tailwind inline to style close button

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Make Select look similar to inputs

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Moving styles into separate module

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Convert tailwind commands to css

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-12-28 17:10:06 +03:00
Alex Andreev 637f26ae1e Custom title controls on Windows (#4528)
* Add context menu in topbar

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Adding windows title buttons

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Adding win sandwitch icon

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Hide windows controls behind the flags

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Adding tests

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Fix topbar layout

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Using topbar as draggable area

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Fix sandwich icon

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Mark no-draggable areas

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Remove ipcMainOn window calls

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Fix tests

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Explicitly hide main window menu

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Fix tests more

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Restore linux native view

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Not removing menu in linux

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Showing custom window buttons in Linux

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Remove frame on linux and windows

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Move open context menu event handler to initializers

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Set x, y context menu position explicitly

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-12-14 19:01:57 +02:00
Alex Andreev 3dd6b432c9 Export KubeJsonApi to extensions (#4496)
* Export KubeJsonApi to extensions

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Make forCluster() to consume clusterId as arg

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Fix lint

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-12-09 15:11:34 +03:00
Alex Andreev d73df7fe0d Show active hotbar on bottom (#4476)
- Extends extension API to support choosing sides for bottom bar entries
2021-12-03 09:41:08 -05:00
Alex Andreev 6e543961ac Fixing unexpected avatar width shrink (#4483) 2021-12-02 09:12:44 -05:00
Alex Andreev f02018c1e7 Fix light theme pin icon visibility (#4477)
* Remove what-input dependency

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Use focus-visible prop and color fix in Icon

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-12-02 11:12:16 +03:00
Alex Andreev 9ce91884c2 Replacing <Avatar/> component by native one (#4452) 2021-12-01 08:28:56 -05:00
Alex Andreev 8ff7c03993 Fix hotbar items drag-n-drop bugs (#4433) 2021-11-29 12:45:32 -05:00
Alex Andreev 0fe0b33c67 Fix cluster dropdown invisible overlay (#4411)
* Use setTimeout instead of unstable onTransitionEnd

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Remove clicking Disconnect after each test

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Fixing tests harder

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Clean up

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-11-24 18:52:35 +03:00
Alex Andreev 4121672838 Fixing cluster dropdown focus state (#4377) 2021-11-18 09:09:31 -05:00
Alex Andreev 8bc936802b Maximize window on topbar double click (#4379) 2021-11-18 09:08:53 -05:00
Alex Andreev 92e178a70d Fix material icons flash on app load (#4378)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-11-18 15:48:12 +03:00
Alex Andreev 0587301cc9 Fix drawer icons unexpected outline (#4364)
* Removing MenuItem border in MenuActions

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Adding hover effect to catalog details icons

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-11-17 11:30:54 +03:00
Alex Andreev df230d2bec <Menu/> styles fine-tuning (#4279) 2021-11-16 11:14:28 -05:00
Alex Andreev 125f49fc8e Fixing setting page bottom margin (#4353)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-11-16 15:45:50 +03:00
Alex Andreev b52bd29784 Cluster sidebar dropdown (#4292)
* Making cluster area hoverable

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Move sidebar cluster block to separate component

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Clean up

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Add keyboard support

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Adding tests

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Cleaning up

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-11-09 13:41:46 +03:00
Alex Andreev dec043f3f2 Catalog Browse page Add Button with menu (#4223)
* Adding MenuItems to catalog browse add button

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Convert menuItems from Array to Map

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Clean up

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-11-02 18:46:18 +03:00
Alex Andreev c7e38052fc Fix <a href...> visibility (#4208)
* Removing tailwind base and components styles

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Fix link coloring in few places

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-11-01 12:36:55 +03:00
Alex Andreev 30d475ce57 Removing @testing-library/dom (#4190) 2021-10-29 11:56:53 -04:00
Alex Andreev 50d9b9b467 Fix cluster overview loading background (#4157)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-10-28 14:34:58 +03:00
Alex Andreev 74abf474d7 Navigate cluster context menus via broadcastMessage (#4139)
* Navigate cluster context menus via broadcastMessage

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Ability to navigate context in different frames

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Renaming an argument

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-10-28 06:50:15 +03:00
Alex Andreev e643b37c7f Cluster overview css fixes (#4104) 2021-10-22 09:13:43 -04:00
Alex Andreev 46653386b9 Replacing icon for Remove from Hotbar action (#4086)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-10-20 15:22:19 +03:00
Alex Andreev b0ddb5eb77 Moving Catalog Details panel under TopBar (#4087)
* Moving Catalog Details panel under TopBar

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Fine-tuning drawer height css rule

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-10-20 15:04:02 +03:00