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
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
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
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
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
Sebastian Malton
5f89b3e31f
Fix filtering deprecated charts ( #3635 )
2021-08-24 08:29:36 -04: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
Jari Kolehmainen
443186d4f5
fix apiBase initialization on main ( #3595 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-08-12 10:34:45 +03:00
Jari Kolehmainen
2760178196
fix k0s distribution detector ( #3589 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-08-11 09:16:41 +03:00
Jari Kolehmainen
58a446bd45
Refactor k8s api to common ( #3553 )
...
* refactor kube api to common
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* refactor more utils to common
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* refactor more utils to common
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* fix tests
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* switch to use node-fetch on both sides
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* cleanup
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* improve logger
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* fix lint errors
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* fix/improve tests
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* fix tests
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* fix node-fetch require error on prod build
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* preload fix
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* fixes
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* read serverAddress from apiBase
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* cleanup
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-08-10 13:26:14 +03:00
Sebastian Malton
476aa74101
Inject handlers into LensProxy to remove circular-deps ( #3546 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-08-04 19:18:01 -04:00
Sebastian Malton
ee158e33df
Move lookupApi into apiManager ( #3540 )
2021-08-04 11:36:13 -04:00
Sebastian Malton
574aea40b4
Make DetectoryRegistry a Singleton and initialize in a function ( #3538 )
2021-08-04 08:48:33 -04:00
Sebastian Malton
9a8616f05e
Create c&p folder before starting kube sync ( #3428 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-08-04 08:02:21 -04:00
Sebastian Malton
a6e91fc34a
Move cluster related types and function into seperate files ( #3530 )
2021-08-03 10:36:14 -04:00
Sebastian Malton
b9bb990690
Add new SentryTransport to winston ( #3432 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-08-03 08:38:23 -04:00
Jari Kolehmainen
dc5a885855
bundle kubectl 1.21.2 ( #3267 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-08-02 19:11:17 +03:00
Sebastian Malton
f35178175b
Ignore certain file globs when under dir kube sync ( #3452 )
...
- .DS_Store
- *.lock
- *.swp
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-08-02 15:02:55 +03:00
Sebastian Malton
ad86502368
Fix KubernetesClusters overriding entity names too often ( #3524 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-07-29 12:11:45 +03:00
Jim Ehrismann
fd5881fe33
increase timeout for getPortFrom() ( #3511 )
...
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
2021-07-23 17:16:09 -04:00
Sebastian Malton
b71e71cdfc
Fix entity accessibleNamespaces ( #3507 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-07-23 12:48:49 -04:00
Jan Jansen
c8f27e537b
Add accessibleNamespaces to KubernetesClusterModel ( #3487 )
...
Fixes #3485
Signed-off-by: Jan Jansen <jan.jansen@gdata.de >
2021-07-23 11:40:13 -04:00
Sebastian Malton
da53aa0d79
Treat default weblinks same as any other weblinks ( #3385 )
...
- Use seenWeblink and check for non-arrays
- Spread out link validation
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-07-22 20:28:01 -04:00
Alex Andreev
c6a4d55d86
Improving metric queries ( #3424 )
2021-07-22 09:57:14 -04:00
Jim Ehrismann
b5e6bc36fe
Fix kube auth proxy race condition ( #3458 )
...
* fix race condition by relying on mobx when() to indicate when the kube auth proxy is ready
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
* tweak KubeAuthProxy.run() return behaviour
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
2021-07-21 11:50:43 -04:00
Sebastian Malton
f03cc59688
Wait for a file to be stable before computing diff ( #3427 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-07-20 09:32:37 -04:00
Sebastian Malton
600d2c8607
Log as errors the places where getPortFrom can fail ( #3425 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-07-19 13:40:47 -04:00
Sebastian Malton
c1554d90f2
Catch Cluster create error in cluster-manager ( #3401 )
...
* Catch Cluster create error in cluster-manager
- Only warn if the file is missing. The file must have disapeared
betweeen kubeconfig-sync detecting it and cluster-manager performing
the addCluster call
- For all other errors log an error
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Fix spelling
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Use logger
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-07-19 07:34:18 +03:00
Alexandre Barone
8c5457cf89
Fix broken shell when workdir not exists ( #3349 )
...
Signed-off-by: devodev <abalexandrebarone@gmail.com >
2021-07-16 14:07:06 -04: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
Sebastian Malton
ea4a5a4c57
getPortFrom should log the lines it retrived if it fails to get a port ( #3395 )
2021-07-15 14:19:33 -04:00
Sebastian Malton
0a8cf96415
Add kube-version and distro on detail panel ( #3335 )
2021-07-14 08:30:57 -04:00
Sebastian Malton
c335b0f054
Only create TerminalStore after ThemeStore ( #3359 )
...
- Use Proxy for backwards compatability
- Fix a bunch of unit tests that needed all the Singleton's created
- Add comments on the order required for the store migrations
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-07-13 12:36:46 -04:00
Violetta Shakirova
621f5ba0b3
Make node shell image configurable ( #3249 )
...
Signed-off-by: vshakirova <vshakirova@mirantis.com >
2021-07-12 11:21:46 -04:00
Sebastian Malton
26fb2e796e
Fix not being able to configure non-Lens prometheus settings ( #3355 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-07-12 10:13:11 -04:00
Jari Kolehmainen
50ec37f158
Set res.statusCode before flushing headers ( #3353 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-07-12 10:07:54 -04:00
chh
f86360d641
Fix Sentry integration bugs ( #3325 )
2021-07-12 09:42:51 -04:00
Sebastian Malton
77f8ea67bd
Cleanup sentry integration ( #3315 )
2021-07-08 16:57:29 -04:00
chh
05b1a2fc5d
Add Sentry to capture exceptions and console.error messages, add a checkbox in preference to enable/disable error reporting ( #3252 )
2021-07-08 19:22:12 +03:00
Sebastian Malton
3b31dadf19
Fix listing charts failing due to bad versions ( #3308 )
2021-07-08 11:35:54 -04:00
Sebastian Malton
497e47b277
Automatically sync all kubeConfigPaths ( #3227 )
2021-07-07 16:29:58 -04:00
Sebastian Malton
17a8044647
Add logging on proxy error ( #3303 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-07-07 09:42:16 -04:00
Sebastian Malton
a301283adc
Fix unhandled exception in visibility handler ( #3291 )
...
- If an KubernetesCluster entity is being deleted then the
catalogEntityRegistry.getById() will return undefined. This leads to
an unhandled exception in the handler because we tried to read
apiVersion. This commit changes it so that we get the apiVersion and
kind from KubernetesCluster class itself
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-07-07 09:30:07 +03:00
Sebastian Malton
b03eb443c9
Await kubeconfigPathP for fish shell args ( #3286 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-07-07 09:20:17 +03:00