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
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
Jim Ehrismann
bc34045a4f
Revert "attempt to fix integration test inexplicably failing (2) (skip failing test)" ( #4413 )
...
This reverts commit 85f26d4660 .
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
2021-11-24 11:57:27 -05:00
Jim Ehrismann
7d4a2a5735
Merge pull request #4407 from lensapp/release/v5.3.0-beta.3
...
release v5.3.0-beta.3
2021-11-24 08:32:53 -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
Jim Ehrismann
85f26d4660
attempt to fix integration test inexplicably failing (2) (skip failing test)
...
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
2021-11-23 22:55:23 -05:00
Sebastian Malton
8081d35f9c
Broadcast cluster's disconnected state before stopping KubeAuthProxy ( #4273 )
2021-11-23 14:34:37 -05: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
Roman
368e2d9a00
Monaco editor refactoring ( #4225 )
...
* monaco editor refactoring
Signed-off-by: Roman <ixrock@gmail.com >
* clean up / responding to comments
Signed-off-by: Roman <ixrock@gmail.com >
* move custom monaco themes to own folder
Signed-off-by: Roman <ixrock@gmail.com >
* fix lint
Signed-off-by: Roman <ixrock@gmail.com >
* removed unused rules from webpack's config (renderer)
Signed-off-by: Roman <ixrock@gmail.com >
2021-11-03 17:19:17 +02: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
Alex Andreev
e643b37c7f
Cluster overview css fixes ( #4104 )
2021-10-22 09:13:43 -04:00
Sebastian Malton
125a073007
Add context menu into sidebar ( #4044 )
2021-10-19 09:19:25 -04:00
Alex Andreev
4fa0b8e329
Sidebar cluster avatar ( #3765 )
2021-09-13 11:33:30 -04: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
pashevskii and Alex Andreev
e4c393244a
Replace Ace Editor with monaco ( #2949 )
...
Signed-off-by: Pavel Ashevskii <pashevskii@mirantis.com >
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com >
2021-08-12 13:00:52 +03:00
Sebastian Malton
4fc340d0c6
Cleanup integration and unit tests ( #3531 )
...
- Make mockWindow a function and call it when needed
- Change timeouts so that better error messages happen more often in
integration tests
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-08-03 08:51:52 -04:00
Sebastian Malton
eba44d76aa
Fix integration test not assigning to clusterAdded correctly ( #3168 )
2021-06-24 09:21:53 -04:00
Sebastian Malton
e49576ee8c
Fix <Icon>'s not using tooltip and fix toolbar not being boolean ( #3038 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-23 09:14:59 -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
Luca Kröger
22c9d03edb
Add container attach feature ( #2927 )
2021-06-07 10:47:27 -04:00
Sebastian Malton
5ed4537979
Turn on noUnusedLocals, noImplicitReturns, importsNotUsedAsValues: error, and isolatedModules ( #2777 )
2021-05-19 12:11:54 -04:00
Jari Kolehmainen
f8b939bf59
Check license header using eslint ( #2780 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-05-17 09:43:53 -04:00
Jari Kolehmainen and Sebastian Malton
8fff064e0c
Fix kubeconfig-sync issues ( #2692 )
...
- Removed `getFreePort` as its use is always a race condition. Change
all uses of it to retrive the port after listening
- Added `getPortFrom` as a helper function to read a port from a stream
- Remove `Cluster.ownerRef` as it is outdated and no longer needed for 5.0
- Remove `Cluster.enabled`, no longer needed because of above
- Removed `Cluster.init`, moved its contents into `Cluster.constructor`
as nothing in that function is asyncronous. Currently only being run
on `main` as a stop gap until `renderer` gets its own version of
`Cluster`
- Refactored `LensProxy` so as to prevent `pty.node` (a NodeJS
extension) being included in `webpack.extension.ts`'s run
- Removed the passing around of the proxy port as that can now be
accessed from an instance of `LensProxy`
- purge ContextHandler's cache on disconnect
Co-authored-by: Sebastian Malton <sebastian@malton.name >
2021-05-04 15:21:15 -04:00
Jari Kolehmainen
b1274cbb33
Extensible welcome page ( #2637 )
...
* welcome/landing page
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* fix integration tests
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-04-27 11:24:39 +03:00
Alex Andreev
d5bc7425f5
Polishing settings styles ( #2534 )
...
* Polishing settings css
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fixing inputs border-radius
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Removing Box component
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Removing unused import
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Remove content region style fixes
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Revert theme colors
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Set new colors in theme files
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Change Cluster extectedText
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2021-04-19 15:19:09 +03:00
Jari Kolehmainen
e948fc047c
Allow register actions to "add to catalog" button ( #2497 )
...
* registrable add-to-catalog button
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* cleanup
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* fix integration tests
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* fix integration tests
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-04-13 14:51:43 +03:00
Jari Kolehmainen
99a464c61d
Catalog & Hotbar - initial groundwork ( #2418 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-04-09 09:11:58 +03:00
Sebastian Malton
8eb8fb6234
Fix integration test lifecycle fuctions not failing tests ( #2259 )
2021-03-30 10:14:59 -04:00
Roman
aedcc6d70e
Persist local-storage in external json-file ( #2279 )
2021-03-18 08:36:34 -04:00
713ec8c69d
Basic workspace overview ( #2047 )
...
* basic workspace overview
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
* css tweaks for landing page as a PageLayout
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
* address review comments
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
* more review comment addressing, added overview to workspace command palette
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
* added back the landing page startup hint
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
* refactoring as per review comments
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
* added original landing page back only for default workspace with no clusters
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
* Workspace overview layout tweaks (#2302 )
* tweaks workspace overview layout
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* cluster settings on top
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* header logo for add cluster page
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* tweak landing page
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* combine left menu icons
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* always show bottom status bar
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* tweak
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* integration test fixes
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* change cluster menu
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* first attempt to fix integration test
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
* lint
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
* get selectors right for integration test
Signed-off-by: Jim Ehrismann <jehrismann@miranits.com >
Co-authored-by: Jim Ehrismann <jehrismann@mirantis.com >
Co-authored-by: Jim Ehrismann <jehrismann@miranits.com >
* address review comments, and rebased to master
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
Co-authored-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
Co-authored-by: Jim Ehrismann <jehrismann@miranits.com >
2021-03-11 09:56:12 +02:00
Jari Kolehmainen
b5e7be7591
Initial command palette feature ( #1957 )
...
* wip: command palette
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* register shortcut to global menu
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* introduce openCommandDialog & closeCommandDialog
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* fix ipc broadcast to frames from renderer
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* tweak
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* add more commands
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* cleanup
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* ipc fix
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* add integration tests
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* ipc fix
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* implement workspace edit
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* workspace edit fixes
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* make tests green
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* fixes from code review
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* cleanup ipc
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* cleanup CommandRegistry
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* ipc fix
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* fix ClusterManager cluster auto-init
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* ensure cluster view is active before sending a command
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* switch to last active cluster when workspace change
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* tweak integration tests
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* run integration tests serially
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* cleanup
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* fixes based on code review
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* cleanup
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* cleanup more
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* cleanup
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* add workspace fixes
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* cleanup
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-02-02 12:34:13 +02:00