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
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
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
Janne Savolainen
8d87bd0985
Merge remote-tracking branch 'origin/master' into eliminate-gst-from-app-paths
...
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
2022-01-11 13:56:23 +02:00
Sebastian Malton
f8ae1149fb
Make all of Command* injectable, with some others too
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2022-01-05 11:48:52 -05:00
Sebastian Malton
abe90ad92a
Add CRDs to Command Palette and fix bugs
...
- Deprecate the "scope" on command registrations as it is buggy and
generally unfixable
- Switch to mounting CommandContainer in each new frame so that there is
no need to broadcast anything other than opening palette
- Add CRD entries to the command registry within each cluster
- Add navigate to CommandActionContext to simplify handling of root
frame scoped URLs
- Switch to using DI for some of the deps
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2022-01-05 11:48:51 -05:00
Janne Savolainen
4224937260
Merge remote-tracking branch 'origin/master' into eliminate-gst-from-app-paths
...
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
2022-01-05 15:04:43 +02:00
Janne Savolainen and Mikko Aspiala
9d33fff906
Cascade different refactorings to eliminate global shared state from app paths
...
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
2022-01-05 13:26:49 +02:00
Janne Savolainen and Mikko Aspiala
6ca58570b0
Replace TopBarRegistry with reactive solution
...
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
2021-12-31 09:32:19 +02:00
Roman
2d279a6b99
using both sass + modules + tailwind (optional) ( #4604 )
...
using sass + css-modules + tailwind for styling, part of #3701
2021-12-23 12:29:36 +02:00
Sebastian Malton
6284bd1eb4
Fix crash in ClusterStatus ( #4533 )
2021-12-09 16:03:18 -05: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
Sebastian Malton
44f1f38a75
Fix: display of entity name while connecting ( #4415 )
2021-11-25 10:00:25 -05:00
Jari Kolehmainen
820b2d1b7a
Revert "Broadcast cluster's disconnected state before stopping KubeAuthProxy ( #4273 )" ( #4412 )
...
This reverts commit 8081d35f9c .
2021-11-24 16:18:30 +03:00
Sebastian Malton
8081d35f9c
Broadcast cluster's disconnected state before stopping KubeAuthProxy ( #4273 )
2021-11-23 14:34:37 -05:00
Sebastian Malton
0e5fc65806
Fix race condition in LensViews.handleVisibleClusterChange ( #4387 )
2021-11-22 09:43:26 -05:00
Roman
4c83f5becf
Replacing global themed sass-vars to css-vars ( #4322 )
...
* generating css-vars
* convert all global / theme sass vars to css vars with available default theme colors
* added missing colors to dark lens theme
2021-11-15 17:37:23 +02:00
Sebastian Malton
3522485c6f
Improve cluster connection visibility ( #4266 )
2021-11-12 08:49:21 -05:00
Sebastian Malton
de4c7e4cff
Fix race condition in refreshViews ( #4094 )
2021-11-10 12:07:55 -05:00
Sebastian Malton
c6dce043a7
Lint: comma-spacing (error) & comma-dangle (error) ( #4200 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-11-02 17:38:20 -04:00
Sebastian Malton
41863e87ce
Lint: object-curly-spacing (error) ( #4198 )
2021-11-01 08:45:45 -04:00
Jari Kolehmainen
62526c2192
Remove iframe completely on disconnect ( #4116 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-10-22 13:19:26 +03:00
Sebastian Malton
246305cd63
Fix accessible namespaces notification not navigating to correct settings ( #4048 )
2021-10-15 09:06:24 -04:00
Alex Andreev
6b123dc4c0
Redirect from /catalog to last catalog page ( #3807 )
...
* Redirect from /catalog to last catalog page
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Cleaning up
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Cleaning up more
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Splitting url params to pass in catalogURL()
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2021-09-29 09:04:54 +03:00
chh and Jim Ehrismann
64fb590377
Fix sass warnings ( #3783 )
...
* Fix sass warnings
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com >
* Add a space
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com >
* Update src/renderer/components/input/input.scss
Co-authored-by: Jim Ehrismann <40840436+jim-docker@users.noreply.github.com >
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com >
* Response to comments
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com >
Co-authored-by: Jim Ehrismann <40840436+jim-docker@users.noreply.github.com >
2021-09-14 10:09:09 +03:00
Alex Andreev
4fa0b8e329
Sidebar cluster avatar ( #3765 )
2021-09-13 11:33:30 -04:00
d72158cc63
Fix local cluster delete flow ( #3473 )
...
* Fix local cluster delete flow
- Now checks for the cluster being the current cluster and confirms the
action
- <ConfirmDialog> is fixed to work with several confirmations happinging
at once
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Custom delete cluster dialog
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Saving kubeconfig file refactoring
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Switching current-context from dialog
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Cleaning up css styles
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Show Delete menu item only for local cluster
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Make all dialogs rounded
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Releasing kubeconfig file after lock
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adding delete cluster dialog tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Cleaning up
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Delete cluster dialog refactoring
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fixing typo
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Removing temp file on error
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Updating tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Do not switch context if select is hidden
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Removing spread symbols
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Moving cluster delete event from catalog initializer to ipc
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Refactor warning messages
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Getting spread (...) back to fix Select render
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Using async form without promises
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Do not show context switcher if no contexts left
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Updating the tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* don't allow delete of the active cluster before setting to new active cluster (#3749 )
* don't allow user to delete the active cluster before setting to new active cluster
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
* fix lint issues
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
* Show delete button if no more contexts available
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com >
Co-authored-by: Jim Ehrismann <40840436+jim-docker@users.noreply.github.com >
2021-09-08 15:06:14 +03:00
Alex Andreev
16c4656a7d
TopBar home icon ( #3740 )
...
* Adding home button
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Highlight catalog entity on route match
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Wait for general entites to load
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adding WelcomePage catalog entity
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Highlight general entities in hotbar if their route matches
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fixing tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Moving active entities sync to helper function
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix welcome page test
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2021-09-07 15:18:46 +03:00
Alex Andreev
7981e79cbd
Topbar history buttons ( #3696 )
...
* HistoryStore initial draft
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adding history icons
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Jump history using electron methods
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Using 1 topbar component for all views
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Add Catalog title to sidebar
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Show cluster name in sidebar
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Updating topbar tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fixing Welcome tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Removing padding for external topbar items
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix cluster name prop
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Using material icons for history buttons
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2021-08-31 14:44:47 +03:00
59933507e4
Upgrade to electron 12 and Node 14 ( #3572 )
...
Upgrade to electron 12 and Node 14
- Compute cluster ID for tests
- Switch to temporary appData path while testing
Signed-off-by: Sebastian Malton <sebastian@malton.name >
Co-authored-by: Sebastian Malton <smalton@mirantis.com >
Co-authored-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-08-26 12:13:31 -04: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
chh
487173dc04
Add background-color, box-shadow and padding to .ClusterStatus ( #3582 )
2021-08-10 16:33:38 +03:00
Sebastian Malton
a6e91fc34a
Move cluster related types and function into seperate files ( #3530 )
2021-08-03 10:36:14 -04:00
Alex Andreev
4fe0a7d73e
Catalog render optimizations ( #3422 )
2021-07-21 08:51:46 -04:00
Alex Andreev
10ab882fed
Replace ... to smaller … HTML character ( #3450 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2021-07-20 12:23:45 +03:00
Josh Soref and Josh Soref
e87b4836be
Fix spelling ( #3181 )
...
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com >
2021-07-16 08:53:01 -04:00
Jari Kolehmainen
ad8dc8a7c9
New spinner for cluster connect status page ( #3324 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-07-09 12:19:37 -04:00
Alex Andreev
1f2692c18f
Fixing tooltips to use single component ( #3194 )
...
* Removing MaterialTooltip references
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Removing MaterialTooltip component
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Removing entity icon hover effect in catalog and settings
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Align share and close tooltip positions
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fixing EnityIcon selector
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Reverting back selector changes
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Removing explicit interactive prop
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Removing interactive prop from catalog icons
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2021-07-01 09:42:17 +03:00
Sebastian Malton
7058193295
Navigate back to last viewed catalog catagory ( #3163 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-23 15:53:22 -04:00
Alex Andreev
d9ceb8fa08
General catalog category ( #3106 )
...
* Adding General Entities and General Category
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Usign material icons for general entities
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Setting background for hotbar icon explicitly
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adding Catalog initially to first hotbar
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Tuning hotbar store tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Changing type from GeneralEntity to General
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Search for catalog hotbar item in tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Removing Catalog link from bottom bar
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Waiting for hotbar catalog entity
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Opening cluster list by data-testId
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Replacing types on interfaces
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fixing integration tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adding general entities throught initializers
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Removing icon refs from CatalogEntitySpec
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2021-06-21 10:59:54 +03:00
Alex Andreev
2ab92ec488
Add z-index prop to siblings of <main/> ( #3085 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2021-06-17 15:03:01 +03:00
Jari Kolehmainen
80f66f0569
Fix top-bar extension render errors ( #3049 )
...
* fix top-bar extension render errors
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* fix tests
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-06-14 11:50:52 +03:00
Jari Kolehmainen
a320516963
fix manage cluster proxy settings ( #3048 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-06-14 11:35:04 +03:00
Alex Andreev
d14a3e4a6d
Adding Topbar extension registries ( #2997 )
...
* Move topbars to cluster manager
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adding topBar extension registries
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* topbar test clean up
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Removing unused class
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Expanding CSS Module typings
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fixing welcomeURL path
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Remove unused import
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix TopBarRegistry references
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fixing topbar test
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Init missing registry
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2021-06-14 07:40:14 +03:00
Jari Kolehmainen
a064d5fbfd
Unset activeEntity on unmount ( #3034 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-06-11 08:58:34 -04:00
Sebastian Malton
280af6391e
Switch to more specific IPC helpers ( #2821 )
2021-06-10 10:34:22 -04:00
Sebastian Malton
6d10f011e5
Explicitly initialize registries
...
- Helps moves towards turning on banning CyclicImports
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-10 09:34:13 -04:00
Sebastian Malton
5ee2ab5b4a
Move all RouteParam's and URL builders to src/common ( #2778 )
...
- Prevents some circular dependencies
- Allowed main to use them as needed
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-10 08:52:09 -04:00
Sebastian Malton
817c8e00db
Simplify add cluster view ( #2716 )
...
- Only shows editor, and will save all text to file
- Reports some validation errors, but doesn't block the add cluster
button
- Cleanup kube helpers to facilitate clearer FS interactions
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-07 08:14:43 -04:00
Alex Andreev
026cbbac09
Generic TopBar component for Catalog/Cluster views ( #2882 )
...
* Rendering close button in cluster view
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Changing Icon hover style
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Moving onClick handler away
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Removing sidebar compact view
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Removing 'compact' refs in SidebarItem
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Wrapping Catalog with MainLayout
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Making sidebar resizing indicator visible on hover
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adding TopBar to catalog view
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Using TopBar in cluster views
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Cleaning up Sidebar styles
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Using getActiveClusterEntity() for searching
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix resizing anchor position
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Align cluster name on left
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Removing unused files
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Removing unused css var
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Showing Topbar in ClusterStatus page
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Removing TopBar from ClusterManager
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2021-06-07 11:46:40 +03:00