Jari Kolehmainen
c381a6d863
disable sentry in cluster frame ( #4161 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
2021-11-01 19:08:58 -04:00
Jari Kolehmainen
2b3b40192a
Remove iframe completely on disconnect ( #4116 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-11-01 19:08:57 -04:00
Jari Kolehmainen
6ee234619d
remove unnecessary global watches in cluster view ( #4073 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-11-01 19:08:57 -04:00
Jari Kolehmainen
87e4a18bb0
fix watch leak on window unload ( #3858 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-11-01 19:08:57 -04:00
Jim Ehrismann
689014a0c8
Revert "Electron 13.4.0 ( #3820 )"
...
This reverts commit 65d7fca691 .
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
2021-11-01 19:08:57 -04:00
Jari Kolehmainen
b00ca67d70
use random api prefix on kubectl-proxy ( #4137 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-11-01 12:29:32 -04:00
Jari Kolehmainen
213b556014
remove cors headers from LensProxy ( #4126 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-11-01 12:29:32 -04:00
Jari Kolehmainen
65d7fca691
Electron 13.4.0 ( #3820 )
...
* electron 13.4.0
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* electron 13.4.0
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* refactor deprecated window event handler
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
2021-11-01 12:29:16 -04:00
bc36d48677
Release v5.2.5 ( #3926 )
...
Co-authored-by: Jim Ehrismann <40840436+jim-docker@users.noreply.github.com >
Co-authored-by: Sebastian Malton <sebastian@malton.name >
2021-10-01 17:12:01 -04:00
edc7849307
Release/v5.2.4 ( #3876 )
...
* 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 >
* fix missing query parameter (#3875 )
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* Disable log file writing on renderer (#3874 )
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* release v5.2.4
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com >
Co-authored-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-09-23 12:33:27 -04:00
Sebastian Malton
9c516cbde4
Fix error due to async validators for <Input> ( #3823 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-09-21 08:38:15 +03:00
Jari Kolehmainen
ae726f936e
Fix node-fetch load on renderer ( #3836 )
...
* fix node-fetch load on renderer
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* cleanup
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* cleanup
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-09-21 08:37:17 +03:00
Sebastian Malton
249abfad67
Fix reference error when opening cluster view ( #3824 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-09-21 08:36:58 +03:00
Lauri Nevala
b89a357feb
Release v5.2.2 ( #3828 )
...
* Revert "Fix check for user exec command (#3664 )" (#3827 )
This reverts commit 056b818ceb .
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
* release v5.2.2
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
2021-09-17 12:41:01 +03:00
20ca49327e
Release/v5.2.1 ( #3819 )
...
* Use PATCH verb to scale deployments and statefulsets (#3744 )
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
* Stop Sentry from capturing console.error and logger.error (#3785 )
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com >
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
* Sidebar cluster avatar (#3765 )
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
* Second click on list item closes the details view (#3809 )
Signed-off-by: Juho Heikka <juho.heikka@gmail.com >
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
* Fix fallback to bundled kubectl (#3812 )
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
* Fix cluster's accessibleNamespaces being reset on restarting Lens (#3817 )
Signed-off-by: Sebastian Malton <sebastian@malton.name >
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
* Don't change permissions when deleting a cluster (#3798 )
Signed-off-by: Sebastian Malton <sebastian@malton.name >
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
* Draggable region on macOS should be the same as the main header (#3800 )
Signed-off-by: Sebastian Malton <sebastian@malton.name >
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
* Fix check for user exec command (#3664 )
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
* Fix shell connection readiness heuristic (#3795 )
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
* release v5.2.1
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
* Fix test action
Signed-off-by: Sebastian Malton <sebastian@malton.name >
Co-authored-by: Lauri Nevala <lauri.nevala@gmail.com >
Co-authored-by: chh <1474479+chenhunghan@users.noreply.github.com >
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com >
Co-authored-by: Juho Heikka <juho.heikka@gmail.com >
Co-authored-by: Sebastian Malton <sebastian@malton.name >
2021-09-16 19:20:41 -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
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
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
chh
995cdac328
Slow down the carousel (default is 4000 ms ( #3742 )
2021-09-06 16:25:21 +03:00
chh
d6d66682f6
Make back/forward/refresh work the same as the arrow button in topbar ( #3720 )
...
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com >
2021-09-02 14:21:36 +03:00
chh
40a2d9e05c
Fix the back/forward button on topbar ( #3719 )
...
* Check only webcontent type === 'window' instead of using webContents.getFocusedWebContents(), as other webview can capture focus
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com >
* Update test
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com >
2021-09-02 14:21:17 +03:00
chh
366a2f99a1
Make ipc.boradcast not stopping at uncaught exceptions, improve typing, improve error logs ( #3717 )
...
* Improve typing, print better error message instead of stop at throwing at view.getType(); continue to send to subframe even if one throws
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com >
* Remove console.log
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com >
* Remove extra line
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com >
2021-09-02 13:20:18 +03:00
Jim Ehrismann
3bec593bce
fix logic to determine if the telemetry tab should be rendered on the preferences page ( #3714 )
...
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
2021-09-01 13:06:41 -04:00
chh
27e0de96ee
Use --iconActiveBackground/--iconActiveColor for welcome banner indicator ( #3712 )
2021-09-01 17:11:14 +03:00
Lauri Nevala
f58898467d
Use correct working directory (OpenLensDev) on dev mode ( #3709 )
...
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
2021-09-01 16:32:33 +03:00
Lauri Nevala
c0398effc5
Detect rancher desktop ( #3711 )
2021-09-01 16:32:10 +03:00
Jari Kolehmainen
41fcd73c69
expose logger to extensions ( #3708 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-09-01 13:15:38 +03:00
Lauri Nevala
584d45c5e0
Allow to configure default namespace used in terminal ( #3706 )
...
* Allow to configure default namespace used in terminal
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
* Fix lint issues
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
2021-09-01 12:50:11 +03:00
Sebastian Malton
d132a4c7e7
Fix node shell secret pulling ( #3668 )
...
- On some KE errors are thrown if trying to get a secret with an empty
name, instead of just ignoring the entry
- Clean up the node shell settings
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-09-01 12:49:00 +03:00
Lauri Nevala
36b64f73bc
Ignore clusters without kubeconfigPath on kubeconfig sync migration ( #3707 )
...
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
2021-09-01 12:44:13 +03:00
Sebastian Malton and Panu Horsmalahti
6fdb2f0b58
Support filtering catalog entities ( #3647 )
...
* Support filtering catalog entities
- This allows extensions and OpenLens to restrict which of the entities
the sources have provied are "visible" to the rest of Lens
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Fix lint
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* switch to filtering only for catalog view
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Fix test
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
* Add test to iter reduce
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
Co-authored-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2021-08-31 16:00:56 +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
Jari Kolehmainen
9d6bed8786
Build and release amd64 & arm64 together (macOS) ( #3700 )
...
* build and release amd64 & arm64 together
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* fixes
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-08-31 11:00:27 +03:00
Jari Kolehmainen and Sebastian Malton
56bd8cd0b1
Support MacOS arm64 build ( #3682 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
Co-authored-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
Co-authored-by: Sebastian Malton <sebastian@malton.name >
2021-08-26 14:46:46 -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
Alex Andreev
e2812a5bcd
Fixing cropped long namespace names ( #3678 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2021-08-26 15:07:01 +03:00
Alex Andreev
c508596ded
Fix: font-size jumping in Catalog sidebar ( #3667 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2021-08-24 16:38:38 -04:00
Sebastian Malton
5f89b3e31f
Fix filtering deprecated charts ( #3635 )
2021-08-24 08:29:36 -04:00
chh
54ac311933
Add WelcomeBanner.width extension API ( #3663 )
...
* Allow to add WelcomeBannerRegistration.width and use that to caculate to width of Banner container
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com >
* Export at const
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com >
2021-08-24 10:05:08 +03:00
Alex Andreev
7b48ab0279
Do not copy if title isn't of type 'string' ( #3657 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2021-08-23 15:27:54 +03:00
chh
d3ce43e73d
Add 'welcome banner' extension API ( #3656 )
...
* Add react-material-ui-carousel
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com >
* Add welcomeBanners extension api
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com >
2021-08-23 14:31:24 +03:00
Sebastian Malton
902224a6dc
Always display a Node's taints' values ( #3646 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-08-19 13:40:16 -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
Sebastian Malton
7d8a6a3e25
Validate and set defaults for HelmChart creation ( #3492 )
2021-08-18 08:06:57 -04:00
Lauri Nevala
21a41b7ea9
Fix metrics loading on Ingress, PVC and StatefulSet details ( #3632 )
...
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
2021-08-18 14:00:06 +03:00
Jari Kolehmainen
d1cfb5fed9
Fix nodes view observability ( #3630 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-08-18 11:50:40 +03:00
Jari Kolehmainen
016d012439
Fix KubeApi.watch leak on abort ( #3629 )
...
* fix KubeApi.watch leak on abort
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* make linter happy
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-08-18 11:50:03 +03:00
Sebastian Malton
1833a1c722
Fix StatefulSet.getImages to handle null case ( #3619 )
2021-08-17 13:02:33 -04:00