mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Remove all references to slack (#7233)
* Remove all references to slack Signed-off-by: Sebastian Malton <sebastian@malton.name> * Fix readme Signed-off-by: Sebastian Malton <sebastian@malton.name> * Cleanup migration Signed-off-by: Sebastian Malton <sebastian@malton.name> * Remove existing slack link from weblink store Signed-off-by: Sebastian Malton <sebastian@malton.name> * Fix type error and wording on ErrorBoundary Signed-off-by: Sebastian Malton <sebastian@malton.name> * Don't export forumsUrl to extension API - Also just remove slack URL Signed-off-by: Sebastian Malton <sebastian@malton.name> * Update snapshots again Signed-off-by: Sebastian Malton <sebastian@malton.name> * Update snapshots again v3 Signed-off-by: Sebastian Malton <sebastian@malton.name> * Revert remove slackUrl Signed-off-by: Sebastian Malton <sebastian@malton.name> * Fix filtering Signed-off-by: Sebastian Malton <sebastian@malton.name> * Fix readme Signed-off-by: Sebastian Malton <sebastian@malton.name> * More of a fix Signed-off-by: Sebastian Malton <sebastian@malton.name> * Try again Signed-off-by: Sebastian Malton <sebastian@malton.name> * Slightly better for now Signed-off-by: Sebastian Malton <sebastian@malton.name> --------- Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
5ad582d88e
commit
3067e82e02
@ -1,11 +1,11 @@
|
|||||||
# Lens Desktop Core ("OpenLens")
|
# Lens Desktop Core ("OpenLens")
|
||||||
|
|
||||||
[](https://github.com/lensapp/lens/actions/workflows/test.yml)
|
[](https://github.com/lensapp/lens/actions/workflows/test.yml)
|
||||||
[](https://k8slens.dev/slack.html)
|
<img src="https://upload.wikimedia.org/wikipedia/commons/1/17/Discourse_icon.svg" width=25>[Explore our Forums](https://forums.k8slens.dev)
|
||||||
|
|
||||||
## The Repository
|
## The Repository
|
||||||
|
|
||||||
This repository is where Team Lens develops the core of the [Lens Desktop](https://k8slens.dev) product together with the community.
|
This repository is where Team Lens develops the core of the [Lens Desktop](https://k8slens.dev) product together with the community.
|
||||||
|
|
||||||
The core is a library, powered by [Electron](https://www.electronjs.org/) and [React](https://reactjs.org/). Unlike generic Electron + React frameworks / boilerplates, it is very opinionated for creating Lens Desktop-like applications and has support for Lens Extensions.
|
The core is a library, powered by [Electron](https://www.electronjs.org/) and [React](https://reactjs.org/). Unlike generic Electron + React frameworks / boilerplates, it is very opinionated for creating Lens Desktop-like applications and has support for Lens Extensions.
|
||||||
|
|
||||||
@ -31,4 +31,4 @@ See [Contributing](https://docs.k8slens.dev/contributing/) page.
|
|||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
See [License](LICENSE).
|
See [License](LICENSE).
|
||||||
|
|||||||
@ -7,15 +7,15 @@ To install your first extension you should goto the [extension page](lens://app/
|
|||||||
|
|
||||||
This documentation describes:
|
This documentation describes:
|
||||||
|
|
||||||
* How to build, run, test, and publish an extension.
|
- How to build, run, test, and publish an extension.
|
||||||
* How to take full advantage of the Lens Extension API.
|
- How to take full advantage of the Lens Extension API.
|
||||||
* Where to find [guides](extensions/guides/README.md) and [code samples](https://github.com/lensapp/lens-extension-samples) to help get you started.
|
- Where to find [guides](extensions/guides/README.md) and [code samples](https://github.com/lensapp/lens-extension-samples) to help get you started.
|
||||||
|
|
||||||
## What Extensions Can Do
|
## What Extensions Can Do
|
||||||
|
|
||||||
Here are some examples of what you can achieve with the Extension API:
|
Here are some examples of what you can achieve with the Extension API:
|
||||||
|
|
||||||
* Add custom components & views in the UI - Extending the Lens Workbench
|
- Add custom components & views in the UI - Extending the Lens Workbench
|
||||||
|
|
||||||
For an overview of the Lens Extension API, refer to the [Common Capabilities](extensions/capabilities/common-capabilities.md) page. [Extension Guides Overview](extensions/guides/README.md) also includes a list of code samples and guides that illustrate various ways of using the Lens Extension API.
|
For an overview of the Lens Extension API, refer to the [Common Capabilities](extensions/capabilities/common-capabilities.md) page. [Extension Guides Overview](extensions/guides/README.md) also includes a list of code samples and guides that illustrate various ways of using the Lens Extension API.
|
||||||
|
|
||||||
@ -23,11 +23,11 @@ For an overview of the Lens Extension API, refer to the [Common Capabilities](ex
|
|||||||
|
|
||||||
Here is what each section of the Lens Extension API docs can help you with:
|
Here is what each section of the Lens Extension API docs can help you with:
|
||||||
|
|
||||||
* **Getting Started** teaches fundamental concepts for building extensions with the Hello World sample.
|
- **Getting Started** teaches fundamental concepts for building extensions with the Hello World sample.
|
||||||
* **Extension Capabilities** dissects Lens's Extension API into smaller categories and points you to more detailed topics.
|
- **Extension Capabilities** dissects Lens's Extension API into smaller categories and points you to more detailed topics.
|
||||||
* **Extension Guides** includes guides and code samples that explain specific usages of Lens Extension API.
|
- **Extension Guides** includes guides and code samples that explain specific usages of Lens Extension API.
|
||||||
* **Testing and Publishing** includes in-depth guides on various extension development topics, such as testing and publishing extensions.
|
- **Testing and Publishing** includes in-depth guides on various extension development topics, such as testing and publishing extensions.
|
||||||
* **API Reference** contains exhaustive references for the Lens Extension API, Contribution Points, and many other topics.
|
- **API Reference** contains exhaustive references for the Lens Extension API, Contribution Points, and many other topics.
|
||||||
|
|
||||||
## What's New
|
## What's New
|
||||||
|
|
||||||
@ -45,7 +45,7 @@ See the [Lens v4 to v5 extension migration notes](extensions/extension-migration
|
|||||||
|
|
||||||
## Looking for Help
|
## Looking for Help
|
||||||
|
|
||||||
If you have questions for extension development, try asking on the [Lens Dev Slack](http://k8slens.slack.com/). It's a public chatroom for Lens developers, where Lens team members chime in from time to time.
|
If you have questions for extension development, try asking on the [Lens Forums](http://forums.k8slens.dev/). It's a public chatroom for Lens developers, where Lens team members chime in from time to time.
|
||||||
|
|
||||||
To provide feedback on the documentation or issues with the Lens Extension API, create new issues at [lensapp/lens](https://github.com/lensapp/lens/issues). Please use the labels `area/documentation` and/or `area/extension`.
|
To provide feedback on the documentation or issues with the Lens Extension API, create new issues at [lensapp/lens](https://github.com/lensapp/lens/issues). Please use the labels `area/documentation` and/or `area/extension`.
|
||||||
|
|
||||||
|
|||||||
48
mkdocs.yml
48
mkdocs.yml
@ -10,33 +10,33 @@ edit_uri: ""
|
|||||||
nav:
|
nav:
|
||||||
- Overview: README.md
|
- Overview: README.md
|
||||||
- Getting Started:
|
- Getting Started:
|
||||||
- Overview: extensions/get-started/overview.md
|
- Overview: extensions/get-started/overview.md
|
||||||
- Your First Extension: extensions/get-started/your-first-extension.md
|
- Your First Extension: extensions/get-started/your-first-extension.md
|
||||||
- Extension Anatomy: extensions/get-started/anatomy.md
|
- Extension Anatomy: extensions/get-started/anatomy.md
|
||||||
- Wrapping Up: extensions/get-started/wrapping-up.md
|
- Wrapping Up: extensions/get-started/wrapping-up.md
|
||||||
- Extension Capabilities:
|
- Extension Capabilities:
|
||||||
- Common Capabilities: extensions/capabilities/common-capabilities.md
|
- Common Capabilities: extensions/capabilities/common-capabilities.md
|
||||||
- Styling: extensions/capabilities/styling.md
|
- Styling: extensions/capabilities/styling.md
|
||||||
- Extension Guides:
|
- Extension Guides:
|
||||||
- Overview: extensions/guides/README.md
|
- Overview: extensions/guides/README.md
|
||||||
- Generator: extensions/guides/generator.md
|
- Generator: extensions/guides/generator.md
|
||||||
- Main Extension: extensions/guides/main-extension.md
|
- Main Extension: extensions/guides/main-extension.md
|
||||||
- Renderer Extension: extensions/guides/renderer-extension.md
|
- Renderer Extension: extensions/guides/renderer-extension.md
|
||||||
- Catalog: extensions/guides/catalog.md
|
- Catalog: extensions/guides/catalog.md
|
||||||
- Resource Stack: extensions/guides/resource-stack.md
|
- Resource Stack: extensions/guides/resource-stack.md
|
||||||
- Extending KubernetesCluster: extensions/guides/extending-kubernetes-cluster.md
|
- Extending KubernetesCluster: extensions/guides/extending-kubernetes-cluster.md
|
||||||
- Stores: extensions/guides/stores.md
|
- Stores: extensions/guides/stores.md
|
||||||
- Working with MobX: extensions/guides/working-with-mobx.md
|
- Working with MobX: extensions/guides/working-with-mobx.md
|
||||||
- Protocol Handlers: extensions/guides/protocol-handlers.md
|
- Protocol Handlers: extensions/guides/protocol-handlers.md
|
||||||
- IPC: extensions/guides/ipc.md
|
- IPC: extensions/guides/ipc.md
|
||||||
- Testing and Publishing:
|
- Testing and Publishing:
|
||||||
- Testing Extensions: extensions/testing-and-publishing/testing.md
|
- Testing Extensions: extensions/testing-and-publishing/testing.md
|
||||||
- Publishing Extensions: extensions/testing-and-publishing/publishing.md
|
- Publishing Extensions: extensions/testing-and-publishing/publishing.md
|
||||||
- API Reference: extensions/api/README.md
|
- API Reference: extensions/api/README.md
|
||||||
theme:
|
theme:
|
||||||
name: 'material'
|
name: "material"
|
||||||
highlightjs: true
|
highlightjs: true
|
||||||
language: 'en'
|
language: "en"
|
||||||
custom_dir: docs/custom_theme
|
custom_dir: docs/custom_theme
|
||||||
favicon: img/favicon.ico
|
favicon: img/favicon.ico
|
||||||
logo: img/lens-logo-icon.svg
|
logo: img/lens-logo-icon.svg
|
||||||
@ -79,9 +79,9 @@ extra:
|
|||||||
- icon: fontawesome/brands/twitter
|
- icon: fontawesome/brands/twitter
|
||||||
link: https://twitter.com/k8slens
|
link: https://twitter.com/k8slens
|
||||||
name: Lens on Twitter
|
name: Lens on Twitter
|
||||||
- icon: fontawesome/brands/slack
|
- icon: fontawesome/brands/discourse
|
||||||
link: http://k8slens.slack.com/
|
link: https://forums.k8slens.dev/
|
||||||
name: Lens on Slack
|
name: Lens Forums
|
||||||
- icon: fontawesome/solid/link
|
- icon: fontawesome/solid/link
|
||||||
link: https://k8slens.dev/
|
link: https://k8slens.dev/
|
||||||
name: Lens Website
|
name: Lens Website
|
||||||
|
|||||||
@ -18,6 +18,6 @@ export const apiKubePrefix = "/api-kube"; // k8s cluster apis
|
|||||||
|
|
||||||
// Links
|
// Links
|
||||||
export const issuesTrackerUrl = "https://github.com/lensapp/lens/issues" as string;
|
export const issuesTrackerUrl = "https://github.com/lensapp/lens/issues" as string;
|
||||||
export const slackUrl = "https://k8slens.dev/slack.html" as string;
|
|
||||||
export const supportUrl = "https://docs.k8slens.dev/support/" as string;
|
export const supportUrl = "https://docs.k8slens.dev/support/" as string;
|
||||||
export const docsUrl = "https://docs.k8slens.dev" as string;
|
export const docsUrl = "https://docs.k8slens.dev" as string;
|
||||||
|
export const forumsUrl = "https://forums.k8slens.dev" as string;
|
||||||
|
|||||||
@ -11,7 +11,7 @@ import isWindowsInjectable from "../../common/vars/is-windows.injectable";
|
|||||||
import { asLegacyGlobalFunctionForExtensionApi } from "../as-legacy-globals-for-extension-api/as-legacy-global-function-for-extension-api";
|
import { asLegacyGlobalFunctionForExtensionApi } from "../as-legacy-globals-for-extension-api/as-legacy-global-function-for-extension-api";
|
||||||
import { getLegacyGlobalDiForExtensionApi } from "../as-legacy-globals-for-extension-api/legacy-global-di-for-extension-api";
|
import { getLegacyGlobalDiForExtensionApi } from "../as-legacy-globals-for-extension-api/legacy-global-di-for-extension-api";
|
||||||
import getEnabledExtensionsInjectable from "./get-enabled-extensions/get-enabled-extensions.injectable";
|
import getEnabledExtensionsInjectable from "./get-enabled-extensions/get-enabled-extensions.injectable";
|
||||||
import { slackUrl, issuesTrackerUrl } from "../../common/vars";
|
import { issuesTrackerUrl } from "../../common/vars";
|
||||||
import { buildVersionInjectionToken } from "../../common/vars/build-semantic-version.injectable";
|
import { buildVersionInjectionToken } from "../../common/vars/build-semantic-version.injectable";
|
||||||
import { asLegacyGlobalForExtensionApi } from "../as-legacy-globals-for-extension-api/as-legacy-global-object-for-extension-api";
|
import { asLegacyGlobalForExtensionApi } from "../as-legacy-globals-for-extension-api/as-legacy-global-object-for-extension-api";
|
||||||
import userStoreInjectable from "../../common/user-store/user-store.injectable";
|
import userStoreInjectable from "../../common/user-store/user-store.injectable";
|
||||||
@ -53,6 +53,9 @@ export const App = {
|
|||||||
|
|
||||||
return di.inject(isLinuxInjectable);
|
return di.inject(isLinuxInjectable);
|
||||||
},
|
},
|
||||||
slackUrl,
|
/**
|
||||||
|
* @deprecated This value is now `""` and is left here for backwards compatability.
|
||||||
|
*/
|
||||||
|
slackUrl: "",
|
||||||
issuesTrackerUrl,
|
issuesTrackerUrl,
|
||||||
} as const;
|
} as const;
|
||||||
|
|||||||
@ -107,11 +107,11 @@ exports[`extension special characters in page registrations renders 1`] = `
|
|||||||
If you have any questions or feedback, please join our
|
If you have any questions or feedback, please join our
|
||||||
<a
|
<a
|
||||||
class="link"
|
class="link"
|
||||||
href="https://k8slens.dev/slack.html"
|
href="https://forums.k8slens.dev"
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Lens Community slack channel
|
Lens Forums
|
||||||
</a>
|
</a>
|
||||||
.
|
.
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
@ -107,11 +107,11 @@ exports[`navigate to extension page renders 1`] = `
|
|||||||
If you have any questions or feedback, please join our
|
If you have any questions or feedback, please join our
|
||||||
<a
|
<a
|
||||||
class="link"
|
class="link"
|
||||||
href="https://k8slens.dev/slack.html"
|
href="https://forums.k8slens.dev"
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Lens Community slack channel
|
Lens Forums
|
||||||
</a>
|
</a>
|
||||||
.
|
.
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
@ -107,11 +107,11 @@ exports[`add-cluster - navigation using application menu renders 1`] = `
|
|||||||
If you have any questions or feedback, please join our
|
If you have any questions or feedback, please join our
|
||||||
<a
|
<a
|
||||||
class="link"
|
class="link"
|
||||||
href="https://k8slens.dev/slack.html"
|
href="https://forums.k8slens.dev"
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Lens Community slack channel
|
Lens Forums
|
||||||
</a>
|
</a>
|
||||||
.
|
.
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
@ -108,11 +108,11 @@ exports[`installing update when started renders 1`] = `
|
|||||||
If you have any questions or feedback, please join our
|
If you have any questions or feedback, please join our
|
||||||
<a
|
<a
|
||||||
class="link"
|
class="link"
|
||||||
href="https://k8slens.dev/slack.html"
|
href="https://forums.k8slens.dev"
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Lens Community slack channel
|
Lens Forums
|
||||||
</a>
|
</a>
|
||||||
.
|
.
|
||||||
</p>
|
</p>
|
||||||
@ -393,11 +393,11 @@ exports[`installing update when started when user checks for updates renders 1`]
|
|||||||
If you have any questions or feedback, please join our
|
If you have any questions or feedback, please join our
|
||||||
<a
|
<a
|
||||||
class="link"
|
class="link"
|
||||||
href="https://k8slens.dev/slack.html"
|
href="https://forums.k8slens.dev"
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Lens Community slack channel
|
Lens Forums
|
||||||
</a>
|
</a>
|
||||||
.
|
.
|
||||||
</p>
|
</p>
|
||||||
@ -678,11 +678,11 @@ exports[`installing update when started when user checks for updates when new up
|
|||||||
If you have any questions or feedback, please join our
|
If you have any questions or feedback, please join our
|
||||||
<a
|
<a
|
||||||
class="link"
|
class="link"
|
||||||
href="https://k8slens.dev/slack.html"
|
href="https://forums.k8slens.dev"
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Lens Community slack channel
|
Lens Forums
|
||||||
</a>
|
</a>
|
||||||
.
|
.
|
||||||
</p>
|
</p>
|
||||||
@ -988,11 +988,11 @@ exports[`installing update when started when user checks for updates when new up
|
|||||||
If you have any questions or feedback, please join our
|
If you have any questions or feedback, please join our
|
||||||
<a
|
<a
|
||||||
class="link"
|
class="link"
|
||||||
href="https://k8slens.dev/slack.html"
|
href="https://forums.k8slens.dev"
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Lens Community slack channel
|
Lens Forums
|
||||||
</a>
|
</a>
|
||||||
.
|
.
|
||||||
</p>
|
</p>
|
||||||
@ -1298,11 +1298,11 @@ exports[`installing update when started when user checks for updates when new up
|
|||||||
If you have any questions or feedback, please join our
|
If you have any questions or feedback, please join our
|
||||||
<a
|
<a
|
||||||
class="link"
|
class="link"
|
||||||
href="https://k8slens.dev/slack.html"
|
href="https://forums.k8slens.dev"
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Lens Community slack channel
|
Lens Forums
|
||||||
</a>
|
</a>
|
||||||
.
|
.
|
||||||
</p>
|
</p>
|
||||||
@ -1583,11 +1583,11 @@ exports[`installing update when started when user checks for updates when no new
|
|||||||
If you have any questions or feedback, please join our
|
If you have any questions or feedback, please join our
|
||||||
<a
|
<a
|
||||||
class="link"
|
class="link"
|
||||||
href="https://k8slens.dev/slack.html"
|
href="https://forums.k8slens.dev"
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Lens Community slack channel
|
Lens Forums
|
||||||
</a>
|
</a>
|
||||||
.
|
.
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
@ -133,11 +133,11 @@ exports[`encourage user to update when sufficient time passed since update was d
|
|||||||
If you have any questions or feedback, please join our
|
If you have any questions or feedback, please join our
|
||||||
<a
|
<a
|
||||||
class="link"
|
class="link"
|
||||||
href="https://k8slens.dev/slack.html"
|
href="https://forums.k8slens.dev"
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Lens Community slack channel
|
Lens Forums
|
||||||
</a>
|
</a>
|
||||||
.
|
.
|
||||||
</p>
|
</p>
|
||||||
@ -418,11 +418,11 @@ exports[`encourage user to update when sufficient time passed since update was d
|
|||||||
If you have any questions or feedback, please join our
|
If you have any questions or feedback, please join our
|
||||||
<a
|
<a
|
||||||
class="link"
|
class="link"
|
||||||
href="https://k8slens.dev/slack.html"
|
href="https://forums.k8slens.dev"
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Lens Community slack channel
|
Lens Forums
|
||||||
</a>
|
</a>
|
||||||
.
|
.
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
@ -108,11 +108,11 @@ exports[`installing update using tray when started renders 1`] = `
|
|||||||
If you have any questions or feedback, please join our
|
If you have any questions or feedback, please join our
|
||||||
<a
|
<a
|
||||||
class="link"
|
class="link"
|
||||||
href="https://k8slens.dev/slack.html"
|
href="https://forums.k8slens.dev"
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Lens Community slack channel
|
Lens Forums
|
||||||
</a>
|
</a>
|
||||||
.
|
.
|
||||||
</p>
|
</p>
|
||||||
@ -393,11 +393,11 @@ exports[`installing update using tray when started when user checks for updates
|
|||||||
If you have any questions or feedback, please join our
|
If you have any questions or feedback, please join our
|
||||||
<a
|
<a
|
||||||
class="link"
|
class="link"
|
||||||
href="https://k8slens.dev/slack.html"
|
href="https://forums.k8slens.dev"
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Lens Community slack channel
|
Lens Forums
|
||||||
</a>
|
</a>
|
||||||
.
|
.
|
||||||
</p>
|
</p>
|
||||||
@ -678,11 +678,11 @@ exports[`installing update using tray when started when user checks for updates
|
|||||||
If you have any questions or feedback, please join our
|
If you have any questions or feedback, please join our
|
||||||
<a
|
<a
|
||||||
class="link"
|
class="link"
|
||||||
href="https://k8slens.dev/slack.html"
|
href="https://forums.k8slens.dev"
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Lens Community slack channel
|
Lens Forums
|
||||||
</a>
|
</a>
|
||||||
.
|
.
|
||||||
</p>
|
</p>
|
||||||
@ -988,11 +988,11 @@ exports[`installing update using tray when started when user checks for updates
|
|||||||
If you have any questions or feedback, please join our
|
If you have any questions or feedback, please join our
|
||||||
<a
|
<a
|
||||||
class="link"
|
class="link"
|
||||||
href="https://k8slens.dev/slack.html"
|
href="https://forums.k8slens.dev"
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Lens Community slack channel
|
Lens Forums
|
||||||
</a>
|
</a>
|
||||||
.
|
.
|
||||||
</p>
|
</p>
|
||||||
@ -1298,11 +1298,11 @@ exports[`installing update using tray when started when user checks for updates
|
|||||||
If you have any questions or feedback, please join our
|
If you have any questions or feedback, please join our
|
||||||
<a
|
<a
|
||||||
class="link"
|
class="link"
|
||||||
href="https://k8slens.dev/slack.html"
|
href="https://forums.k8slens.dev"
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Lens Community slack channel
|
Lens Forums
|
||||||
</a>
|
</a>
|
||||||
.
|
.
|
||||||
</p>
|
</p>
|
||||||
@ -1583,11 +1583,11 @@ exports[`installing update using tray when started when user checks for updates
|
|||||||
If you have any questions or feedback, please join our
|
If you have any questions or feedback, please join our
|
||||||
<a
|
<a
|
||||||
class="link"
|
class="link"
|
||||||
href="https://k8slens.dev/slack.html"
|
href="https://forums.k8slens.dev"
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Lens Community slack channel
|
Lens Forums
|
||||||
</a>
|
</a>
|
||||||
.
|
.
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
@ -133,11 +133,11 @@ exports[`force user to update when too long since update was downloaded when app
|
|||||||
If you have any questions or feedback, please join our
|
If you have any questions or feedback, please join our
|
||||||
<a
|
<a
|
||||||
class="link"
|
class="link"
|
||||||
href="https://k8slens.dev/slack.html"
|
href="https://forums.k8slens.dev"
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Lens Community slack channel
|
Lens Forums
|
||||||
</a>
|
</a>
|
||||||
.
|
.
|
||||||
</p>
|
</p>
|
||||||
@ -443,11 +443,11 @@ exports[`force user to update when too long since update was downloaded when app
|
|||||||
If you have any questions or feedback, please join our
|
If you have any questions or feedback, please join our
|
||||||
<a
|
<a
|
||||||
class="link"
|
class="link"
|
||||||
href="https://k8slens.dev/slack.html"
|
href="https://forums.k8slens.dev"
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Lens Community slack channel
|
Lens Forums
|
||||||
</a>
|
</a>
|
||||||
.
|
.
|
||||||
</p>
|
</p>
|
||||||
@ -800,11 +800,11 @@ exports[`force user to update when too long since update was downloaded when app
|
|||||||
If you have any questions or feedback, please join our
|
If you have any questions or feedback, please join our
|
||||||
<a
|
<a
|
||||||
class="link"
|
class="link"
|
||||||
href="https://k8slens.dev/slack.html"
|
href="https://forums.k8slens.dev"
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Lens Community slack channel
|
Lens Forums
|
||||||
</a>
|
</a>
|
||||||
.
|
.
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
@ -108,11 +108,11 @@ exports[`periodical checking of updates given updater is enabled and configurati
|
|||||||
If you have any questions or feedback, please join our
|
If you have any questions or feedback, please join our
|
||||||
<a
|
<a
|
||||||
class="link"
|
class="link"
|
||||||
href="https://k8slens.dev/slack.html"
|
href="https://forums.k8slens.dev"
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Lens Community slack channel
|
Lens Forums
|
||||||
</a>
|
</a>
|
||||||
.
|
.
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
@ -108,11 +108,11 @@ exports[`selection of update stability when started renders 1`] = `
|
|||||||
If you have any questions or feedback, please join our
|
If you have any questions or feedback, please join our
|
||||||
<a
|
<a
|
||||||
class="link"
|
class="link"
|
||||||
href="https://k8slens.dev/slack.html"
|
href="https://forums.k8slens.dev"
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Lens Community slack channel
|
Lens Forums
|
||||||
</a>
|
</a>
|
||||||
.
|
.
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
@ -108,11 +108,11 @@ exports[`opening catalog entity details panel renders 1`] = `
|
|||||||
If you have any questions or feedback, please join our
|
If you have any questions or feedback, please join our
|
||||||
<a
|
<a
|
||||||
class="link"
|
class="link"
|
||||||
href="https://k8slens.dev/slack.html"
|
href="https://forums.k8slens.dev"
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Lens Community slack channel
|
Lens Forums
|
||||||
</a>
|
</a>
|
||||||
.
|
.
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
@ -199,11 +199,11 @@ exports[`Command Pallet: keyboard shortcut tests when on linux renders 1`] = `
|
|||||||
If you have any questions or feedback, please join our
|
If you have any questions or feedback, please join our
|
||||||
<a
|
<a
|
||||||
class="link"
|
class="link"
|
||||||
href="https://k8slens.dev/slack.html"
|
href="https://forums.k8slens.dev"
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Lens Community slack channel
|
Lens Forums
|
||||||
</a>
|
</a>
|
||||||
.
|
.
|
||||||
</p>
|
</p>
|
||||||
@ -575,11 +575,11 @@ exports[`Command Pallet: keyboard shortcut tests when on linux when pressing ESC
|
|||||||
If you have any questions or feedback, please join our
|
If you have any questions or feedback, please join our
|
||||||
<a
|
<a
|
||||||
class="link"
|
class="link"
|
||||||
href="https://k8slens.dev/slack.html"
|
href="https://forums.k8slens.dev"
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Lens Community slack channel
|
Lens Forums
|
||||||
</a>
|
</a>
|
||||||
.
|
.
|
||||||
</p>
|
</p>
|
||||||
@ -951,11 +951,11 @@ exports[`Command Pallet: keyboard shortcut tests when on linux when pressing SHI
|
|||||||
If you have any questions or feedback, please join our
|
If you have any questions or feedback, please join our
|
||||||
<a
|
<a
|
||||||
class="link"
|
class="link"
|
||||||
href="https://k8slens.dev/slack.html"
|
href="https://forums.k8slens.dev"
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Lens Community slack channel
|
Lens Forums
|
||||||
</a>
|
</a>
|
||||||
.
|
.
|
||||||
</p>
|
</p>
|
||||||
@ -1339,11 +1339,11 @@ exports[`Command Pallet: keyboard shortcut tests when on linux when pressing SHI
|
|||||||
If you have any questions or feedback, please join our
|
If you have any questions or feedback, please join our
|
||||||
<a
|
<a
|
||||||
class="link"
|
class="link"
|
||||||
href="https://k8slens.dev/slack.html"
|
href="https://forums.k8slens.dev"
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Lens Community slack channel
|
Lens Forums
|
||||||
</a>
|
</a>
|
||||||
.
|
.
|
||||||
</p>
|
</p>
|
||||||
@ -1624,11 +1624,11 @@ exports[`Command Pallet: keyboard shortcut tests when on macOS renders 1`] = `
|
|||||||
If you have any questions or feedback, please join our
|
If you have any questions or feedback, please join our
|
||||||
<a
|
<a
|
||||||
class="link"
|
class="link"
|
||||||
href="https://k8slens.dev/slack.html"
|
href="https://forums.k8slens.dev"
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Lens Community slack channel
|
Lens Forums
|
||||||
</a>
|
</a>
|
||||||
.
|
.
|
||||||
</p>
|
</p>
|
||||||
@ -1909,11 +1909,11 @@ exports[`Command Pallet: keyboard shortcut tests when on macOS when pressing ESC
|
|||||||
If you have any questions or feedback, please join our
|
If you have any questions or feedback, please join our
|
||||||
<a
|
<a
|
||||||
class="link"
|
class="link"
|
||||||
href="https://k8slens.dev/slack.html"
|
href="https://forums.k8slens.dev"
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Lens Community slack channel
|
Lens Forums
|
||||||
</a>
|
</a>
|
||||||
.
|
.
|
||||||
</p>
|
</p>
|
||||||
@ -2194,11 +2194,11 @@ exports[`Command Pallet: keyboard shortcut tests when on macOS when pressing SHI
|
|||||||
If you have any questions or feedback, please join our
|
If you have any questions or feedback, please join our
|
||||||
<a
|
<a
|
||||||
class="link"
|
class="link"
|
||||||
href="https://k8slens.dev/slack.html"
|
href="https://forums.k8slens.dev"
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Lens Community slack channel
|
Lens Forums
|
||||||
</a>
|
</a>
|
||||||
.
|
.
|
||||||
</p>
|
</p>
|
||||||
@ -2491,11 +2491,11 @@ exports[`Command Pallet: keyboard shortcut tests when on macOS when pressing SHI
|
|||||||
If you have any questions or feedback, please join our
|
If you have any questions or feedback, please join our
|
||||||
<a
|
<a
|
||||||
class="link"
|
class="link"
|
||||||
href="https://k8slens.dev/slack.html"
|
href="https://forums.k8slens.dev"
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Lens Community slack channel
|
Lens Forums
|
||||||
</a>
|
</a>
|
||||||
.
|
.
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
@ -108,11 +108,11 @@ exports[`Showing correct entity settings renders 1`] = `
|
|||||||
If you have any questions or feedback, please join our
|
If you have any questions or feedback, please join our
|
||||||
<a
|
<a
|
||||||
class="link"
|
class="link"
|
||||||
href="https://k8slens.dev/slack.html"
|
href="https://forums.k8slens.dev"
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Lens Community slack channel
|
Lens Forums
|
||||||
</a>
|
</a>
|
||||||
.
|
.
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
@ -107,11 +107,11 @@ exports[`extensions - navigation using application menu renders 1`] = `
|
|||||||
If you have any questions or feedback, please join our
|
If you have any questions or feedback, please join our
|
||||||
<a
|
<a
|
||||||
class="link"
|
class="link"
|
||||||
href="https://k8slens.dev/slack.html"
|
href="https://forums.k8slens.dev"
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Lens Community slack channel
|
Lens Forums
|
||||||
</a>
|
</a>
|
||||||
.
|
.
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
@ -107,11 +107,11 @@ exports[`preferences - navigation using application menu renders 1`] = `
|
|||||||
If you have any questions or feedback, please join our
|
If you have any questions or feedback, please join our
|
||||||
<a
|
<a
|
||||||
class="link"
|
class="link"
|
||||||
href="https://k8slens.dev/slack.html"
|
href="https://forums.k8slens.dev"
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Lens Community slack channel
|
Lens Forums
|
||||||
</a>
|
</a>
|
||||||
.
|
.
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
@ -108,11 +108,11 @@ exports[`show-about-using-tray renders 1`] = `
|
|||||||
If you have any questions or feedback, please join our
|
If you have any questions or feedback, please join our
|
||||||
<a
|
<a
|
||||||
class="link"
|
class="link"
|
||||||
href="https://k8slens.dev/slack.html"
|
href="https://forums.k8slens.dev"
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Lens Community slack channel
|
Lens Forums
|
||||||
</a>
|
</a>
|
||||||
.
|
.
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
@ -108,11 +108,11 @@ exports[`status-bar-items-originating-from-extensions when application starts wh
|
|||||||
If you have any questions or feedback, please join our
|
If you have any questions or feedback, please join our
|
||||||
<a
|
<a
|
||||||
class="link"
|
class="link"
|
||||||
href="https://k8slens.dev/slack.html"
|
href="https://forums.k8slens.dev"
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Lens Community slack channel
|
Lens Forums
|
||||||
</a>
|
</a>
|
||||||
.
|
.
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
@ -108,11 +108,11 @@ exports[`extendability-using-extension-api given an extension with a weakly type
|
|||||||
If you have any questions or feedback, please join our
|
If you have any questions or feedback, please join our
|
||||||
<a
|
<a
|
||||||
class="link"
|
class="link"
|
||||||
href="https://k8slens.dev/slack.html"
|
href="https://forums.k8slens.dev"
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Lens Community slack channel
|
Lens Forums
|
||||||
</a>
|
</a>
|
||||||
.
|
.
|
||||||
</p>
|
</p>
|
||||||
@ -402,11 +402,11 @@ exports[`extendability-using-extension-api given an extension with top-bar items
|
|||||||
If you have any questions or feedback, please join our
|
If you have any questions or feedback, please join our
|
||||||
<a
|
<a
|
||||||
class="link"
|
class="link"
|
||||||
href="https://k8slens.dev/slack.html"
|
href="https://forums.k8slens.dev"
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Lens Community slack channel
|
Lens Forums
|
||||||
</a>
|
</a>
|
||||||
.
|
.
|
||||||
</p>
|
</p>
|
||||||
@ -687,11 +687,11 @@ exports[`extendability-using-extension-api given an extension with top-bar items
|
|||||||
If you have any questions or feedback, please join our
|
If you have any questions or feedback, please join our
|
||||||
<a
|
<a
|
||||||
class="link"
|
class="link"
|
||||||
href="https://k8slens.dev/slack.html"
|
href="https://forums.k8slens.dev"
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Lens Community slack channel
|
Lens Forums
|
||||||
</a>
|
</a>
|
||||||
.
|
.
|
||||||
</p>
|
</p>
|
||||||
@ -972,11 +972,11 @@ exports[`extendability-using-extension-api renders 1`] = `
|
|||||||
If you have any questions or feedback, please join our
|
If you have any questions or feedback, please join our
|
||||||
<a
|
<a
|
||||||
class="link"
|
class="link"
|
||||||
href="https://k8slens.dev/slack.html"
|
href="https://forums.k8slens.dev"
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Lens Community slack channel
|
Lens Forums
|
||||||
</a>
|
</a>
|
||||||
.
|
.
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
@ -107,11 +107,11 @@ exports[`welcome - navigation using application menu renders 1`] = `
|
|||||||
If you have any questions or feedback, please join our
|
If you have any questions or feedback, please join our
|
||||||
<a
|
<a
|
||||||
class="link"
|
class="link"
|
||||||
href="https://k8slens.dev/slack.html"
|
href="https://forums.k8slens.dev"
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Lens Community slack channel
|
Lens Forums
|
||||||
</a>
|
</a>
|
||||||
.
|
.
|
||||||
</p>
|
</p>
|
||||||
@ -1142,11 +1142,11 @@ exports[`welcome - navigation using application menu when navigated somewhere el
|
|||||||
If you have any questions or feedback, please join our
|
If you have any questions or feedback, please join our
|
||||||
<a
|
<a
|
||||||
class="link"
|
class="link"
|
||||||
href="https://k8slens.dev/slack.html"
|
href="https://forums.k8slens.dev"
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Lens Community slack channel
|
Lens Forums
|
||||||
</a>
|
</a>
|
||||||
.
|
.
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
@ -10,8 +10,8 @@ export const lensWebsiteLinkName = "Lens Website";
|
|||||||
export const lensDocumentationWeblinkId = "lens-documentation-link";
|
export const lensDocumentationWeblinkId = "lens-documentation-link";
|
||||||
export const lensDocumentationWeblinkName = "Lens Documentation";
|
export const lensDocumentationWeblinkName = "Lens Documentation";
|
||||||
|
|
||||||
export const lensSlackWeblinkId = "lens-slack-link";
|
export const lensForumsWeblinkId = "lens-forums-link";
|
||||||
export const lensSlackWeblinkName = "Lens Community Slack";
|
export const lensForumsWeblinkName = "Lens Forums";
|
||||||
|
|
||||||
export const lensTwitterWeblinkId = "lens-twitter-link";
|
export const lensTwitterWeblinkId = "lens-twitter-link";
|
||||||
export const lensTwitterWeblinkName = "Lens on Twitter";
|
export const lensTwitterWeblinkName = "Lens on Twitter";
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
* Licensed under MIT License. See LICENSE in root directory for more information.
|
* Licensed under MIT License. See LICENSE in root directory for more information.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { docsUrl, slackUrl } from "../../../common/vars";
|
import { docsUrl, forumsUrl } from "../../../common/vars";
|
||||||
import type { WeblinkData } from "../../../common/weblinks-store/weblink-store";
|
import type { WeblinkData } from "../../../common/weblinks-store/weblink-store";
|
||||||
import { getInjectable } from "@ogre-tools/injectable";
|
import { getInjectable } from "@ogre-tools/injectable";
|
||||||
import { weblinkStoreMigrationInjectionToken } from "../../../common/weblinks-store/migration-token";
|
import { weblinkStoreMigrationInjectionToken } from "../../../common/weblinks-store/migration-token";
|
||||||
@ -20,7 +20,7 @@ const v514WeblinkStoreMigrationInjectable = getInjectable({
|
|||||||
weblinks.push(
|
weblinks.push(
|
||||||
{ id: "https://k8slens.dev", name: links.lensWebsiteLinkName, url: "https://k8slens.dev" },
|
{ id: "https://k8slens.dev", name: links.lensWebsiteLinkName, url: "https://k8slens.dev" },
|
||||||
{ id: docsUrl, name: links.lensDocumentationWeblinkName, url: docsUrl },
|
{ id: docsUrl, name: links.lensDocumentationWeblinkName, url: docsUrl },
|
||||||
{ id: slackUrl, name: links.lensSlackWeblinkName, url: slackUrl },
|
{ id: forumsUrl, name: links.lensForumsWeblinkName, url: forumsUrl },
|
||||||
{ id: "https://twitter.com/k8slens", name: links.lensTwitterWeblinkName, url: "https://twitter.com/k8slens" },
|
{ id: "https://twitter.com/k8slens", name: links.lensTwitterWeblinkName, url: "https://twitter.com/k8slens" },
|
||||||
{ id: "https://medium.com/k8slens", name: links.lensBlogWeblinkName, url: "https://medium.com/k8slens" },
|
{ id: "https://medium.com/k8slens", name: links.lensBlogWeblinkName, url: "https://medium.com/k8slens" },
|
||||||
{ id: "https://kubernetes.io/docs/home/", name: links.kubernetesDocumentationWeblinkName, url: "https://kubernetes.io/docs/home/" },
|
{ id: "https://kubernetes.io/docs/home/", name: links.kubernetesDocumentationWeblinkName, url: "https://kubernetes.io/docs/home/" },
|
||||||
|
|||||||
@ -16,40 +16,40 @@ const v545Beta1WeblinkStoreMigrationInjectable = getInjectable({
|
|||||||
const weblinksRaw = store.get("weblinks");
|
const weblinksRaw = store.get("weblinks");
|
||||||
const weblinks = (Array.isArray(weblinksRaw) ? weblinksRaw : []) as WeblinkData[];
|
const weblinks = (Array.isArray(weblinksRaw) ? weblinksRaw : []) as WeblinkData[];
|
||||||
|
|
||||||
const lensWebsiteLink = weblinks.find(weblink => weblink.name === links.lensWebsiteLinkName);
|
const lensWebsite = weblinks.find(weblink => weblink.name === links.lensWebsiteLinkName);
|
||||||
|
|
||||||
if (lensWebsiteLink) {
|
if (lensWebsite) {
|
||||||
lensWebsiteLink.id = links.lensWebsiteWeblinkId;
|
lensWebsite.id = links.lensWebsiteWeblinkId;
|
||||||
}
|
}
|
||||||
|
|
||||||
const lensDocumentationWeblinkLink = weblinks.find(weblink => weblink.name === links.lensDocumentationWeblinkName);
|
const lensDocumentationWeblink = weblinks.find(weblink => weblink.name === links.lensDocumentationWeblinkName);
|
||||||
|
|
||||||
if (lensDocumentationWeblinkLink) {
|
if (lensDocumentationWeblink) {
|
||||||
lensDocumentationWeblinkLink.id = links.lensDocumentationWeblinkId;
|
lensDocumentationWeblink.id = links.lensDocumentationWeblinkId;
|
||||||
}
|
}
|
||||||
|
|
||||||
const lensSlackWeblinkLink = weblinks.find(weblink => weblink.name === links.lensSlackWeblinkName);
|
const lensForumsWeblink = weblinks.find(weblink => weblink.name === links.lensForumsWeblinkName);
|
||||||
|
|
||||||
if (lensSlackWeblinkLink) {
|
if (lensForumsWeblink) {
|
||||||
lensSlackWeblinkLink.id = links.lensSlackWeblinkId;
|
lensForumsWeblink.id = links.lensForumsWeblinkId;
|
||||||
}
|
}
|
||||||
|
|
||||||
const lensTwitterWeblinkLink = weblinks.find(weblink => weblink.name === links.lensTwitterWeblinkName);
|
const lensTwitterWeblink = weblinks.find(weblink => weblink.name === links.lensTwitterWeblinkName);
|
||||||
|
|
||||||
if (lensTwitterWeblinkLink) {
|
if (lensTwitterWeblink) {
|
||||||
lensTwitterWeblinkLink.id = links.lensTwitterWeblinkId;
|
lensTwitterWeblink.id = links.lensTwitterWeblinkId;
|
||||||
}
|
}
|
||||||
|
|
||||||
const lensBlogWeblinkLink = weblinks.find(weblink => weblink.name === links.lensBlogWeblinkName);
|
const lensBlogWeblink = weblinks.find(weblink => weblink.name === links.lensBlogWeblinkName);
|
||||||
|
|
||||||
if (lensBlogWeblinkLink) {
|
if (lensBlogWeblink) {
|
||||||
lensBlogWeblinkLink.id = links.lensBlogWeblinkId;
|
lensBlogWeblink.id = links.lensBlogWeblinkId;
|
||||||
}
|
}
|
||||||
|
|
||||||
const kubernetesDocumentationWeblinkLink = weblinks.find(weblink => weblink.name === links.kubernetesDocumentationWeblinkName);
|
const kubernetesDocumentationWeblink = weblinks.find(weblink => weblink.name === links.kubernetesDocumentationWeblinkName);
|
||||||
|
|
||||||
if (kubernetesDocumentationWeblinkLink) {
|
if (kubernetesDocumentationWeblink) {
|
||||||
kubernetesDocumentationWeblinkLink.id = links.kubernetesDocumentationWeblinkId;
|
kubernetesDocumentationWeblink.id = links.kubernetesDocumentationWeblinkId;
|
||||||
}
|
}
|
||||||
|
|
||||||
store.set("weblinks", weblinks);
|
store.set("weblinks", weblinks);
|
||||||
|
|||||||
@ -3,11 +3,11 @@
|
|||||||
* Licensed under MIT License. See LICENSE in root directory for more information.
|
* Licensed under MIT License. See LICENSE in root directory for more information.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { docsUrl, slackUrl } from "../../../common/vars";
|
import { docsUrl, forumsUrl } from "../../../common/vars";
|
||||||
import type { WeblinkData } from "../../../common/weblinks-store/weblink-store";
|
import type { WeblinkData } from "../../../common/weblinks-store/weblink-store";
|
||||||
import { getInjectable } from "@ogre-tools/injectable";
|
import { getInjectable } from "@ogre-tools/injectable";
|
||||||
import { weblinkStoreMigrationInjectionToken } from "../../../common/weblinks-store/migration-token";
|
import { weblinkStoreMigrationInjectionToken } from "../../../common/weblinks-store/migration-token";
|
||||||
import { lensDocumentationWeblinkId, lensSlackWeblinkId } from "../links";
|
import { lensDocumentationWeblinkId, lensForumsWeblinkId } from "../links";
|
||||||
import { applicationInformationToken } from "@k8slens/application";
|
import { applicationInformationToken } from "@k8slens/application";
|
||||||
|
|
||||||
const currentVersionWeblinkStoreMigrationInjectable = getInjectable({
|
const currentVersionWeblinkStoreMigrationInjectable = getInjectable({
|
||||||
@ -20,10 +20,10 @@ const currentVersionWeblinkStoreMigrationInjectable = getInjectable({
|
|||||||
run(store) {
|
run(store) {
|
||||||
const weblinksRaw = store.get("weblinks");
|
const weblinksRaw = store.get("weblinks");
|
||||||
const weblinks = (Array.isArray(weblinksRaw) ? weblinksRaw : []) as WeblinkData[];
|
const weblinks = (Array.isArray(weblinksRaw) ? weblinksRaw : []) as WeblinkData[];
|
||||||
const slackWeblink = weblinks.find(weblink => weblink.id === lensSlackWeblinkId);
|
const forumsWeblink = weblinks.find(weblink => weblink.id === lensForumsWeblinkId);
|
||||||
|
|
||||||
if (slackWeblink) {
|
if (forumsWeblink) {
|
||||||
slackWeblink.url = slackUrl;
|
forumsWeblink.url = forumsUrl;
|
||||||
}
|
}
|
||||||
|
|
||||||
const docsWeblink = weblinks.find(weblink => weblink.id === lensDocumentationWeblinkId);
|
const docsWeblink = weblinks.find(weblink => weblink.id === lensDocumentationWeblinkId);
|
||||||
@ -32,7 +32,9 @@ const currentVersionWeblinkStoreMigrationInjectable = getInjectable({
|
|||||||
docsWeblink.url = docsUrl;
|
docsWeblink.url = docsUrl;
|
||||||
}
|
}
|
||||||
|
|
||||||
store.set("weblinks", weblinks);
|
const removedSlackLink = weblinks.filter(weblink => weblink.id !== "lens-slack-link");
|
||||||
|
|
||||||
|
store.set("weblinks", removedSlackLink);
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|||||||
@ -10,7 +10,7 @@ import type { IComputedValue } from "mobx";
|
|||||||
import type { CarouselProps } from "react-material-ui-carousel";
|
import type { CarouselProps } from "react-material-ui-carousel";
|
||||||
import LegacyCarousel from "react-material-ui-carousel";
|
import LegacyCarousel from "react-material-ui-carousel";
|
||||||
import { Icon } from "../icon";
|
import { Icon } from "../icon";
|
||||||
import { slackUrl } from "../../../common/vars";
|
import { forumsUrl } from "../../../common/vars";
|
||||||
import { withInjectables } from "@ogre-tools/injectable-react";
|
import { withInjectables } from "@ogre-tools/injectable-react";
|
||||||
import welcomeMenuItemsInjectable from "./welcome-menu-items/welcome-menu-items.injectable";
|
import welcomeMenuItemsInjectable from "./welcome-menu-items/welcome-menu-items.injectable";
|
||||||
import type { WelcomeMenuRegistration } from "./welcome-menu-items/welcome-menu-registration";
|
import type { WelcomeMenuRegistration } from "./welcome-menu-items/welcome-menu-registration";
|
||||||
@ -93,12 +93,12 @@ const NonInjectedWelcome = observer(({
|
|||||||
<br />
|
<br />
|
||||||
{"If you have any questions or feedback, please join our "}
|
{"If you have any questions or feedback, please join our "}
|
||||||
<a
|
<a
|
||||||
href={slackUrl}
|
href={forumsUrl}
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
className="link"
|
className="link"
|
||||||
>
|
>
|
||||||
Lens Community slack channel
|
Lens Forums
|
||||||
</a>
|
</a>
|
||||||
.
|
.
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
@ -9,7 +9,7 @@ import type { ErrorInfo } from "react";
|
|||||||
import React from "react";
|
import React from "react";
|
||||||
import { observer } from "mobx-react";
|
import { observer } from "mobx-react";
|
||||||
import { Button } from "../button";
|
import { Button } from "../button";
|
||||||
import { issuesTrackerUrl, slackUrl } from "../../../common/vars";
|
import { issuesTrackerUrl, forumsUrl } from "../../../common/vars";
|
||||||
import type { SingleOrMany } from "../../utils";
|
import type { SingleOrMany } from "../../utils";
|
||||||
import type { ObservableHistory } from "mobx-observable-history";
|
import type { ObservableHistory } from "mobx-observable-history";
|
||||||
import { withInjectables } from "@ogre-tools/injectable-react";
|
import { withInjectables } from "@ogre-tools/injectable-react";
|
||||||
@ -53,15 +53,15 @@ class NonInjectedErrorBoundary extends React.Component<ErrorBoundaryProps & Depe
|
|||||||
</h5>
|
</h5>
|
||||||
<p>
|
<p>
|
||||||
|
|
||||||
{"To help us improve the product please report bugs to "}
|
{"To help us improve the product please report bugs on"}
|
||||||
<a
|
<a
|
||||||
href={slackUrl}
|
href={forumsUrl}
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Slack
|
Lens Forums
|
||||||
</a>
|
</a>
|
||||||
{" community or "}
|
{" or on our"}
|
||||||
<a
|
<a
|
||||||
href={issuesTrackerUrl}
|
href={issuesTrackerUrl}
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user