Skip to content

Commit 3067e82

Browse files
authored
Remove all references to slack (lensapp#7233)
* Remove all references to slack Signed-off-by: Sebastian Malton <[email protected]> * Fix readme Signed-off-by: Sebastian Malton <[email protected]> * Cleanup migration Signed-off-by: Sebastian Malton <[email protected]> * Remove existing slack link from weblink store Signed-off-by: Sebastian Malton <[email protected]> * Fix type error and wording on ErrorBoundary Signed-off-by: Sebastian Malton <[email protected]> * Don't export forumsUrl to extension API - Also just remove slack URL Signed-off-by: Sebastian Malton <[email protected]> * Update snapshots again Signed-off-by: Sebastian Malton <[email protected]> * Update snapshots again v3 Signed-off-by: Sebastian Malton <[email protected]> * Revert remove slackUrl Signed-off-by: Sebastian Malton <[email protected]> * Fix filtering Signed-off-by: Sebastian Malton <[email protected]> * Fix readme Signed-off-by: Sebastian Malton <[email protected]> * More of a fix Signed-off-by: Sebastian Malton <[email protected]> * Try again Signed-off-by: Sebastian Malton <[email protected]> * Slightly better for now Signed-off-by: Sebastian Malton <[email protected]> --------- Signed-off-by: Sebastian Malton <[email protected]>
1 parent 5ad582d commit 3067e82

File tree

29 files changed

+165
-160
lines changed

29 files changed

+165
-160
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Lens Desktop Core ("OpenLens")
22

33
[![Build Status](https://github.com/lensapp/lens/actions/workflows/test.yml/badge.svg)](https://github.com/lensapp/lens/actions/workflows/test.yml)
4-
[![Chat on Slack](https://img.shields.io/badge/chat-on%20slack-blue.svg?logo=slack&longCache=true&style=flat)](https://k8slens.dev/slack.html)
4+
<img src="https://upload.wikimedia.org/wikipedia/commons/1/17/Discourse_icon.svg" width=25>[Explore our Forums](https://forums.k8slens.dev)
55

66
## The Repository
77

8-
This repository is where Team Lens develops the core of the [Lens Desktop](https://k8slens.dev) product together with the community.
8+
This repository is where Team Lens develops the core of the [Lens Desktop](https://k8slens.dev) product together with the community.
99

1010
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.
1111

@@ -31,4 +31,4 @@ See [Contributing](https://docs.k8slens.dev/contributing/) page.
3131

3232
## License
3333

34-
See [License](LICENSE).
34+
See [License](LICENSE).

docs/README.md

+10-10
Original file line numberDiff line numberDiff line change
@@ -7,27 +7,27 @@ To install your first extension you should goto the [extension page](lens://app/
77

88
This documentation describes:
99

10-
* How to build, run, test, and publish an extension.
11-
* How to take full advantage of the Lens Extension API.
12-
* Where to find [guides](extensions/guides/README.md) and [code samples](https://github.com/lensapp/lens-extension-samples) to help get you started.
10+
- How to build, run, test, and publish an extension.
11+
- How to take full advantage of the Lens Extension API.
12+
- Where to find [guides](extensions/guides/README.md) and [code samples](https://github.com/lensapp/lens-extension-samples) to help get you started.
1313

1414
## What Extensions Can Do
1515

1616
Here are some examples of what you can achieve with the Extension API:
1717

18-
* Add custom components & views in the UI - Extending the Lens Workbench
18+
- Add custom components & views in the UI - Extending the Lens Workbench
1919

2020
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.
2121

2222
## How to Build Extensions
2323

2424
Here is what each section of the Lens Extension API docs can help you with:
2525

26-
* **Getting Started** teaches fundamental concepts for building extensions with the Hello World sample.
27-
* **Extension Capabilities** dissects Lens's Extension API into smaller categories and points you to more detailed topics.
28-
* **Extension Guides** includes guides and code samples that explain specific usages of Lens Extension API.
29-
* **Testing and Publishing** includes in-depth guides on various extension development topics, such as testing and publishing extensions.
30-
* **API Reference** contains exhaustive references for the Lens Extension API, Contribution Points, and many other topics.
26+
- **Getting Started** teaches fundamental concepts for building extensions with the Hello World sample.
27+
- **Extension Capabilities** dissects Lens's Extension API into smaller categories and points you to more detailed topics.
28+
- **Extension Guides** includes guides and code samples that explain specific usages of Lens Extension API.
29+
- **Testing and Publishing** includes in-depth guides on various extension development topics, such as testing and publishing extensions.
30+
- **API Reference** contains exhaustive references for the Lens Extension API, Contribution Points, and many other topics.
3131

3232
## What's New
3333

@@ -45,7 +45,7 @@ See the [Lens v4 to v5 extension migration notes](extensions/extension-migration
4545

4646
## Looking for Help
4747

48-
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.
48+
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.
4949

5050
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`.
5151

mkdocs.yml

+24-24
Original file line numberDiff line numberDiff line change
@@ -10,33 +10,33 @@ edit_uri: ""
1010
nav:
1111
- Overview: README.md
1212
- Getting Started:
13-
- Overview: extensions/get-started/overview.md
14-
- Your First Extension: extensions/get-started/your-first-extension.md
15-
- Extension Anatomy: extensions/get-started/anatomy.md
16-
- Wrapping Up: extensions/get-started/wrapping-up.md
13+
- Overview: extensions/get-started/overview.md
14+
- Your First Extension: extensions/get-started/your-first-extension.md
15+
- Extension Anatomy: extensions/get-started/anatomy.md
16+
- Wrapping Up: extensions/get-started/wrapping-up.md
1717
- Extension Capabilities:
18-
- Common Capabilities: extensions/capabilities/common-capabilities.md
19-
- Styling: extensions/capabilities/styling.md
18+
- Common Capabilities: extensions/capabilities/common-capabilities.md
19+
- Styling: extensions/capabilities/styling.md
2020
- Extension Guides:
21-
- Overview: extensions/guides/README.md
22-
- Generator: extensions/guides/generator.md
23-
- Main Extension: extensions/guides/main-extension.md
24-
- Renderer Extension: extensions/guides/renderer-extension.md
25-
- Catalog: extensions/guides/catalog.md
26-
- Resource Stack: extensions/guides/resource-stack.md
27-
- Extending KubernetesCluster: extensions/guides/extending-kubernetes-cluster.md
28-
- Stores: extensions/guides/stores.md
29-
- Working with MobX: extensions/guides/working-with-mobx.md
30-
- Protocol Handlers: extensions/guides/protocol-handlers.md
31-
- IPC: extensions/guides/ipc.md
21+
- Overview: extensions/guides/README.md
22+
- Generator: extensions/guides/generator.md
23+
- Main Extension: extensions/guides/main-extension.md
24+
- Renderer Extension: extensions/guides/renderer-extension.md
25+
- Catalog: extensions/guides/catalog.md
26+
- Resource Stack: extensions/guides/resource-stack.md
27+
- Extending KubernetesCluster: extensions/guides/extending-kubernetes-cluster.md
28+
- Stores: extensions/guides/stores.md
29+
- Working with MobX: extensions/guides/working-with-mobx.md
30+
- Protocol Handlers: extensions/guides/protocol-handlers.md
31+
- IPC: extensions/guides/ipc.md
3232
- Testing and Publishing:
33-
- Testing Extensions: extensions/testing-and-publishing/testing.md
34-
- Publishing Extensions: extensions/testing-and-publishing/publishing.md
33+
- Testing Extensions: extensions/testing-and-publishing/testing.md
34+
- Publishing Extensions: extensions/testing-and-publishing/publishing.md
3535
- API Reference: extensions/api/README.md
3636
theme:
37-
name: 'material'
37+
name: "material"
3838
highlightjs: true
39-
language: 'en'
39+
language: "en"
4040
custom_dir: docs/custom_theme
4141
favicon: img/favicon.ico
4242
logo: img/lens-logo-icon.svg
@@ -79,9 +79,9 @@ extra:
7979
- icon: fontawesome/brands/twitter
8080
link: https://twitter.com/k8slens
8181
name: Lens on Twitter
82-
- icon: fontawesome/brands/slack
83-
link: http://k8slens.slack.com/
84-
name: Lens on Slack
82+
- icon: fontawesome/brands/discourse
83+
link: https://forums.k8slens.dev/
84+
name: Lens Forums
8585
- icon: fontawesome/solid/link
8686
link: https://k8slens.dev/
8787
name: Lens Website

packages/core/src/common/vars.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ export const apiKubePrefix = "/api-kube"; // k8s cluster apis
1818

1919
// Links
2020
export const issuesTrackerUrl = "https://github.com/lensapp/lens/issues" as string;
21-
export const slackUrl = "https://k8slens.dev/slack.html" as string;
2221
export const supportUrl = "https://docs.k8slens.dev/support/" as string;
2322
export const docsUrl = "https://docs.k8slens.dev" as string;
23+
export const forumsUrl = "https://forums.k8slens.dev" as string;

packages/core/src/extensions/common-api/app.ts

+5-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import isWindowsInjectable from "../../common/vars/is-windows.injectable";
1111
import { asLegacyGlobalFunctionForExtensionApi } from "../as-legacy-globals-for-extension-api/as-legacy-global-function-for-extension-api";
1212
import { getLegacyGlobalDiForExtensionApi } from "../as-legacy-globals-for-extension-api/legacy-global-di-for-extension-api";
1313
import getEnabledExtensionsInjectable from "./get-enabled-extensions/get-enabled-extensions.injectable";
14-
import { slackUrl, issuesTrackerUrl } from "../../common/vars";
14+
import { issuesTrackerUrl } from "../../common/vars";
1515
import { buildVersionInjectionToken } from "../../common/vars/build-semantic-version.injectable";
1616
import { asLegacyGlobalForExtensionApi } from "../as-legacy-globals-for-extension-api/as-legacy-global-object-for-extension-api";
1717
import userStoreInjectable from "../../common/user-store/user-store.injectable";
@@ -53,6 +53,9 @@ export const App = {
5353

5454
return di.inject(isLinuxInjectable);
5555
},
56-
slackUrl,
56+
/**
57+
* @deprecated This value is now `""` and is left here for backwards compatability.
58+
*/
59+
slackUrl: "",
5760
issuesTrackerUrl,
5861
} as const;

packages/core/src/features/__snapshots__/extension-special-characters-in-page-registrations.test.tsx.snap

+2-2
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,11 @@ exports[`extension special characters in page registrations renders 1`] = `
107107
If you have any questions or feedback, please join our
108108
<a
109109
class="link"
110-
href="https://k8slens.dev/slack.html"
110+
href="https://forums.k8slens.dev"
111111
rel="noreferrer"
112112
target="_blank"
113113
>
114-
Lens Community slack channel
114+
Lens Forums
115115
</a>
116116
.
117117
</p>

packages/core/src/features/__snapshots__/navigate-to-extension-page.test.tsx.snap

+2-2
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,11 @@ exports[`navigate to extension page renders 1`] = `
107107
If you have any questions or feedback, please join our
108108
<a
109109
class="link"
110-
href="https://k8slens.dev/slack.html"
110+
href="https://forums.k8slens.dev"
111111
rel="noreferrer"
112112
target="_blank"
113113
>
114-
Lens Community slack channel
114+
Lens Forums
115115
</a>
116116
.
117117
</p>

packages/core/src/features/add-cluster/__snapshots__/navigation-using-application-menu.test.tsx.snap

+2-2
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,11 @@ exports[`add-cluster - navigation using application menu renders 1`] = `
107107
If you have any questions or feedback, please join our
108108
<a
109109
class="link"
110-
href="https://k8slens.dev/slack.html"
110+
href="https://forums.k8slens.dev"
111111
rel="noreferrer"
112112
target="_blank"
113113
>
114-
Lens Community slack channel
114+
Lens Forums
115115
</a>
116116
.
117117
</p>

packages/core/src/features/application-update/__snapshots__/installing-update.test.ts.snap

+12-12
Original file line numberDiff line numberDiff line change
@@ -108,11 +108,11 @@ exports[`installing update when started renders 1`] = `
108108
If you have any questions or feedback, please join our
109109
<a
110110
class="link"
111-
href="https://k8slens.dev/slack.html"
111+
href="https://forums.k8slens.dev"
112112
rel="noreferrer"
113113
target="_blank"
114114
>
115-
Lens Community slack channel
115+
Lens Forums
116116
</a>
117117
.
118118
</p>
@@ -393,11 +393,11 @@ exports[`installing update when started when user checks for updates renders 1`]
393393
If you have any questions or feedback, please join our
394394
<a
395395
class="link"
396-
href="https://k8slens.dev/slack.html"
396+
href="https://forums.k8slens.dev"
397397
rel="noreferrer"
398398
target="_blank"
399399
>
400-
Lens Community slack channel
400+
Lens Forums
401401
</a>
402402
.
403403
</p>
@@ -678,11 +678,11 @@ exports[`installing update when started when user checks for updates when new up
678678
If you have any questions or feedback, please join our
679679
<a
680680
class="link"
681-
href="https://k8slens.dev/slack.html"
681+
href="https://forums.k8slens.dev"
682682
rel="noreferrer"
683683
target="_blank"
684684
>
685-
Lens Community slack channel
685+
Lens Forums
686686
</a>
687687
.
688688
</p>
@@ -988,11 +988,11 @@ exports[`installing update when started when user checks for updates when new up
988988
If you have any questions or feedback, please join our
989989
<a
990990
class="link"
991-
href="https://k8slens.dev/slack.html"
991+
href="https://forums.k8slens.dev"
992992
rel="noreferrer"
993993
target="_blank"
994994
>
995-
Lens Community slack channel
995+
Lens Forums
996996
</a>
997997
.
998998
</p>
@@ -1298,11 +1298,11 @@ exports[`installing update when started when user checks for updates when new up
12981298
If you have any questions or feedback, please join our
12991299
<a
13001300
class="link"
1301-
href="https://k8slens.dev/slack.html"
1301+
href="https://forums.k8slens.dev"
13021302
rel="noreferrer"
13031303
target="_blank"
13041304
>
1305-
Lens Community slack channel
1305+
Lens Forums
13061306
</a>
13071307
.
13081308
</p>
@@ -1583,11 +1583,11 @@ exports[`installing update when started when user checks for updates when no new
15831583
If you have any questions or feedback, please join our
15841584
<a
15851585
class="link"
1586-
href="https://k8slens.dev/slack.html"
1586+
href="https://forums.k8slens.dev"
15871587
rel="noreferrer"
15881588
target="_blank"
15891589
>
1590-
Lens Community slack channel
1590+
Lens Forums
15911591
</a>
15921592
.
15931593
</p>

packages/core/src/features/application-update/child-features/application-update-using-top-bar/__snapshots__/installing-update-using-topbar-button.test.tsx.snap

+4-4
Original file line numberDiff line numberDiff line change
@@ -133,11 +133,11 @@ exports[`encourage user to update when sufficient time passed since update was d
133133
If you have any questions or feedback, please join our
134134
<a
135135
class="link"
136-
href="https://k8slens.dev/slack.html"
136+
href="https://forums.k8slens.dev"
137137
rel="noreferrer"
138138
target="_blank"
139139
>
140-
Lens Community slack channel
140+
Lens Forums
141141
</a>
142142
.
143143
</p>
@@ -418,11 +418,11 @@ exports[`encourage user to update when sufficient time passed since update was d
418418
If you have any questions or feedback, please join our
419419
<a
420420
class="link"
421-
href="https://k8slens.dev/slack.html"
421+
href="https://forums.k8slens.dev"
422422
rel="noreferrer"
423423
target="_blank"
424424
>
425-
Lens Community slack channel
425+
Lens Forums
426426
</a>
427427
.
428428
</p>

0 commit comments

Comments
 (0)