diff --git a/docs/clusters/adding-clusters.md b/docs/clusters/adding-clusters.md
index d153d8c9bf..c9a533a700 100644
--- a/docs/clusters/adding-clusters.md
+++ b/docs/clusters/adding-clusters.md
@@ -2,7 +2,7 @@
Add clusters by clicking the **Add Cluster** button in the left-side menu.
-1. Click the **Add Cluster** button (indicated with a '+' icon).
+1. Click the **Add Cluster** button (indicated with a '+' icon). Or [click here](lens://app/cluster).
2. Enter the path to your kubeconfig file. You'll need to have a kubeconfig file for the cluster you want to add. You can either browse for the path from the file system or or enter it directly.
Selected [cluster contexts](https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/#context) are added as a separate item in the left-side cluster menu to allow you to operate easily on multiple clusters and/or contexts.
diff --git a/docs/extensions/README.md b/docs/extensions/README.md
index 7866b65497..f8906d75ee 100644
--- a/docs/extensions/README.md
+++ b/docs/extensions/README.md
@@ -1,6 +1,9 @@
# Lens Extension API
-Customize and enhance the Lens experience with the Lens Extension API. Use the extension API to create menus or page content. The same extension API was used to create many of Lens's core features.
+Customize and enhance the Lens experience with the Lens Extension API.
+Use the extension API to create menus or page content.
+The same extension API was used to create many of Lens's core features.
+To install your first extension you should goto the [extension page](lens://app/extensions) in lens.
This documentation describes:
diff --git a/docs/getting-started/README.md b/docs/getting-started/README.md
index ed6537bd76..8f5811c1be 100644
--- a/docs/getting-started/README.md
+++ b/docs/getting-started/README.md
@@ -72,5 +72,6 @@ To stay current with the Lens features, you can review the [release notes](https
## Next Steps
+- [Launch Lens](lens://app/landing)
- [Add clusters](../clusters/adding-clusters.md)
- [Watch introductory videos](./introductory-videos.md)
diff --git a/docs/getting-started/preferences.md b/docs/getting-started/preferences.md
index 527f5e6df5..8146965cc5 100644
--- a/docs/getting-started/preferences.md
+++ b/docs/getting-started/preferences.md
@@ -1,12 +1,11 @@
# Preferences
-
## Color Themes
The Color Themes option in Lens preferences lets you set the colors in the Lens user interface to suit your liking.
-1. Go to **File** > **Preferences** (**Lens** > **Preferences** on Mac).
-2. Select your preferred theme from the **Color Theme** dropdown.
+1. Go to **File** > **Preferences** (**Lens** > **Preferences** on Mac). Or follow [this link](lens://app/preferences?highlight=appearance).
+2. Select your preferred theme from the **Color Theme** dropdown.

@@ -19,10 +18,9 @@ Lens collects telemetry data, which is used to help us understand how to improve
If you don't wish to send usage data to Mirantis, you can disable the "Telemetry & Usage Tracking" in the Lens preferences.
-1. Go to **File** > **Preferences** (**Lens** > **Preferences** on Mac).
+1. Go to **File** > **Preferences** (**Lens** > **Preferences** on Mac). Or follow [this link](lens://app/preferences?highlight=telemetry-tracking).
2. Scroll down to **Telemetry & Usage Tracking**
-3. Uncheck **Allow Telemetry & Usage Tracking**.
+3. Uncheck **Allow Telemetry & Usage Tracking**.
This will silence all telemetry events from Lens going forward. Telemetry information may have been collected and sent up until the point when you disable this setting.

-
diff --git a/extensions/telemetry/renderer.tsx b/extensions/telemetry/renderer.tsx
index 1078d18f4c..d8ba4225df 100644
--- a/extensions/telemetry/renderer.tsx
+++ b/extensions/telemetry/renderer.tsx
@@ -8,6 +8,7 @@ export default class TelemetryRendererExtension extends LensRendererExtension {
appPreferences = [
{
title: "Telemetry & Usage Tracking",
+ id: "telemetry-tracking",
components: {
Hint: () => ,
Input: () =>
diff --git a/src/common/protocol-handler/router.ts b/src/common/protocol-handler/router.ts
index b18eb84368..7b7659992f 100644
--- a/src/common/protocol-handler/router.ts
+++ b/src/common/protocol-handler/router.ts
@@ -184,10 +184,12 @@ export abstract class LensProtocolRouter extends Singleton {
* @param pathSchema the URI path schema to match against for this handler
* @param handler a function that will be called if a protocol path matches
*/
- public addInternalHandler(urlSchema: string, handler: RouteHandler): void {
+ public addInternalHandler(urlSchema: string, handler: RouteHandler): this {
pathToRegexp(urlSchema); // verify now that the schema is valid
logger.info(`${LensProtocolRouter.LoggingPrefix}: internal registering ${urlSchema}`);
this.internalRoutes.set(urlSchema, handler);
+
+ return this;
}
/**
diff --git a/src/common/utils/buildUrl.ts b/src/common/utils/buildUrl.ts
index e3bad9b302..ba2b31d2d0 100644
--- a/src/common/utils/buildUrl.ts
+++ b/src/common/utils/buildUrl.ts
@@ -3,14 +3,20 @@ import { compile } from "path-to-regexp";
export interface IURLParams