Sebastian Malton
53c9d35832
Fix cluster icon click in sidebar redirecting to wrong route ( #4037 )
2021-10-14 08:50:24 -04:00
Sebastian Malton
e64060cc69
Conditionally render node taints upon value existance ( #3989 )
2021-10-13 10:34:28 -04:00
Alex Andreev
140a8591e0
Increase topbar z-index number ( #4028 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2021-10-13 15:32:51 +03:00
Sebastian Malton
9c94c19a4f
Add ability to configure lens release channel ( #3971 )
2021-10-12 08:32:06 -04:00
Sebastian Malton
b9cee0cbc7
Fix HelmChartDetails and HelmReleaseDetails Menu ( #3986 )
2021-10-12 08:30:46 -04:00
Sebastian Malton
5a25c44de6
Catch and display errors for release details ( #3905 )
2021-10-12 08:28:32 -04:00
Sebastian Malton
329f4706c0
Use the served and storage version of a CRD instead of the first ( #3999 )
2021-10-12 07:31:11 -04:00
Alex Andreev
b2b3c44695
Closing dock tabs with cmd+w on mac ( #3849 )
...
* Change Close menu item accelerator
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Listening global keydown event in <Dock/>
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Prevent terminal to fire custom event
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Refresh tooltip hint
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Make Tab line gray if Dock isn't focused
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2021-10-11 10:06:43 +03:00
07c8177a97
Feature/port forward dashboard ( #3922 )
...
* Added ability to add custom port on pod and service port forwarding (#3295 )
* Added ability to add custom port on pod and service port forwarding
Signed-off-by: rdeepc <12953177+rdeepc@users.noreply.github.com >
* Added ability to add custom port on pod and service port forwarding
- pod-container-port fixed init async and active port checking
- service-port-component fixed init async and active port checking
- port-forward-route promise and response fix
Signed-off-by: rdeepc <12953177+rdeepc@users.noreply.github.com >
* Added ability to add custom port on pod and service port forwarding
Signed-off-by: rdeepc <12953177+rdeepc@users.noreply.github.com >
* - Added Custom Port Selection for port forwarding
- Implemented Random Port if custom port is not provided
Signed-off-by: rdeepc <12953177+rdeepc@users.noreply.github.com >
Co-authored-by: Saumya Shovan Roy <saumyashovanroy@gmail.com >
* cherry-pick of hackweek work plus merge conflicts/build errors
added a route to get all port forwards
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
Added Forwarded Ports to cluster dashboard
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
working port-forward page (open, edit, remove)
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
added local storage to the port-forward store
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
automatically restore port-forward after pod is restarted
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
start port-forwards using random local port by default, rearranged pod and service port-forward UI
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
* refactor
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
* more refactoring, don't always open port-forwards in browser, refined reused port-forward dialog
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
* removed unimplemented forwarded port details page,modified logging
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
* addressed some review comments
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
* made port and forwardPort query params and cleaned up port-forward routing paths
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
* address more review comments and change dashboard tab name to 'Port Forwarding'
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
* changed port and forwardPort fields to be Numbers
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
* removed extraneous reset() call, reorder field declarations
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
* port-forward now gets the bundled kubectl path without going through the 'ensureKubectl' hoops
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
* more cleanup/tweaking
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
* fix bug where port-forward info did not update on pod details page when different pod (in same deployment?) is clicked
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
Co-authored-by: Saumya Shovan Roy (Deep) <12953177+rdeepc@users.noreply.github.com >
Co-authored-by: Saumya Shovan Roy <saumyashovanroy@gmail.com >
2021-10-07 15:51:26 -04:00
Sebastian Malton
e10c13cdf4
Switch integration tests to get application menus by IDs ( #3912 )
2021-10-07 15:30:52 -04:00
Juho Heikka and Sebastian Malton
724b9450a6
Change onBeforeRun API ( #3981 )
...
Co-authored-by: Sebastian Malton <sebastian@malton.name >
2021-10-07 12:43:50 -04:00
Sebastian Malton
913244b204
Catch metadata being undefined at KubeObject creation ( #3960 )
2021-10-07 10:09:21 -04:00
Sebastian Malton
31f84234a0
Fix taints on nodes view ( #3957 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-10-07 10:08:34 -04:00
chh and Sebastian Malton
4af796c532
Before hook for onRun of Catalog entities ( #3911 )
...
Co-authored-by: Sebastian Malton <sebastian@malton.name >
2021-10-05 15:36:44 -04:00
Sebastian Malton
4705a66632
Use JSON patch for editing components ( #3674 )
2021-10-04 16:28:19 -04:00
Sebastian Malton
f2c623f89e
Specify tableId for DeploymentReplicaSets ( #3950 )
2021-10-04 14:32:15 -04:00
Gabriel Henriques and gabriel.henriques gabriel.henriques
2ff91b0ecf
Added tooltipOnParentHover to taint tooltip on nodes list page ( #3939 )
...
Co-authored-by: gabriel.henriques gabriel.henriques <gabriel.henriques@g.globo >
2021-10-04 13:15:08 -04:00
Korvin Szanto
0c2140de8f
Make editor editable when user-supplied values is selected ( #3776 )
2021-10-04 11:50:40 -04:00
Arthur Knoepflin
31ee323baa
Add missing locale date in event view ( #3931 )
2021-10-04 11:44:22 -04:00
Korvin Szanto
b3c0a17aab
Check "user-supplied values only" by default when viewing a helm release ( #3938 )
2021-10-04 11:40:15 -04:00
Jari Kolehmainen
5b562836a4
fix watch leak on window unload ( #3858 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-10-01 10:29:43 -04:00
Sebastian Malton
b692bc3603
Make default catalog action to open entity ( #3915 )
2021-09-30 09:46:33 -04:00
Juho Heikka
8bbaf8c59e
Add terminal copy on select ( #3904 )
2021-09-29 08:55:39 -04:00
Juho Heikka
b41f923931
Merge pull request #3866 from lensapp/issue-3383-menu-position-bug
...
Fix menu rendering on when slightly off screen
2021-09-29 09:36:25 +03: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
Juho Heikka
b70ec5ddbd
Remove shouldComponentUpdate, put style to state
...
instead of straight to DOM so they will be in sync
Signed-off-by: Juho Heikka <juho.heikka@gmail.com >
2021-09-27 17:03:27 +03:00
Juho Heikka
2e1b3ea70c
Merge branch 'master' into issue-3383-menu-position-bug
2021-09-27 13:35:39 +03:00
Sebastian Malton
17e97f16c9
Fix title of service account dialog ( #3883 )
2021-09-23 22:27:03 -04:00
Sebastian Malton
3c77c06519
Add ability to search and activate entities via the command dialog ( #3692 )
2021-09-23 13:18:31 -04:00
Sebastian Malton
3fc5b83461
Add error message for no contexts in add cluster page ( #3868 )
2021-09-22 10:25:48 -04:00
Roman
963d801cf7
[UX]: navigation to cluster overview from sidebar's top icon ( #3867 )
...
* UX: navigate to "/cluster" overview page from sidebar's top icon
* highlight hotbar-icon border on click
2021-09-22 16:42:16 +03:00
Juho Heikka
eb789a0ab1
Fix menu rendering on when slightly off screen
...
Menu would bounce around in some cases because the
refreshPosition() would calculate different results
based on different state of the component and previous
render cycle CSS classes.
Also I found that the render function calls causes
in an infinite loop while open because of refreshPosition
will cause a state change which will rerender the function.
Fixed that with the shouldComponentUpdate which checks
if state has actually changed in between renders.
Signed-off-by: Juho Heikka <juho.heikka@gmail.com >
2021-09-22 09:42:51 +03:00
Alex Andreev
070fc1bb44
Fix long name layout in Cluster Settings ( #3854 )
...
* Fix long name layout in Cluster Settings
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Clean up
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2021-09-22 07:42:05 +03:00
Sebastian Malton
dfa0a35695
Fix error due to async validators for <Input> ( #3823 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-09-20 09:54:12 -04:00
Sebastian Malton
e251194cb5
Fix reference error when opening cluster view ( #3824 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-09-20 13:01:05 +03:00
Lauri Nevala
53ce818589
Revert "Fix check for user exec command ( #3664 )" ( #3827 )
...
This reverts commit 056b818ceb .
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
2021-09-17 11:13:04 +03:00
Sebastian Malton
be1a2ebe59
Fix shell connection readiness heuristic ( #3795 )
2021-09-15 17:40:36 -04:00
Sebastian Malton
056b818ceb
Fix check for user exec command ( #3664 )
2021-09-15 13:09:57 -04:00
Sebastian Malton
068c78d48d
Draggable region on macOS should be the same as the main header ( #3800 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-09-15 12:28:06 -04:00
Sebastian Malton
b43086a386
Don't change permissions when deleting a cluster ( #3798 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-09-15 12:27:48 -04:00
Juho Heikka
74f3826235
Second click on list item closes the details view ( #3809 )
...
Signed-off-by: Juho Heikka <juho.heikka@gmail.com >
2021-09-15 08:48:12 -04: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
Panu Horsmalahti
8e9dd50828
Add catalogAddMenu filter to CatalogCategory ( #3722 )
2021-09-13 11:33:11 -04:00
Panu Horsmalahti
936927af98
Add CatalogCategory filter to the extension API ( #3718 )
...
* Add CatalogCategory filter to the extension API.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
* Fix test.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2021-09-13 15:46:28 +03:00
chh
7bd0fed997
createMuiTheme (deprecated) > createTheme ( #3784 )
...
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com >
2021-09-13 09:45:53 +03: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
Jari Kolehmainen
b9aec3ad9f
don't add active entity automatically to a hotbar ( #3753 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-09-08 12:06:53 +02:00
Alex Andreev and Jari Kolehmainen
ffdf4a03cd
Use entity name as cluster name in sidebar ( #3751 )
...
* Using entity name as cluster name in sidebar
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Use entity name if preferences name is empty
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* simplify
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
Co-authored-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-09-08 12:44:23 +03:00
K.C.Ashish Kumar
9ae84182a1
Add namespace to the message. ( #3732 )
...
Signed-off-by: K.C.Ashish Kumar <ashish-kumar.kothapally-chandrakanth@broadcom.com >
2021-09-07 18:00:25 +03:00