Skip to content

Commit

Permalink
Use new Discord server url (#5482)
Browse files Browse the repository at this point in the history
* Use new Discord server url

* Add changeset

* Update changeset as suggested

Co-authored-by: Pete Bacon Darwin <pete@bacondarwin.com>

---------

Co-authored-by: Pete Bacon Darwin <pete@bacondarwin.com>
  • Loading branch information
DaniFoldi and petebacondarwin committed Apr 21, 2024
1 parent d3a67fe commit 1b7739e
Show file tree
Hide file tree
Showing 10 changed files with 26 additions and 16 deletions.
10 changes: 10 additions & 0 deletions .changeset/wise-beds-buy.md
@@ -0,0 +1,10 @@
---
"create-cloudflare": patch
"format-errors": patch
"@cloudflare/kv-asset-handler": patch
"miniflare": patch
"workers-playground": patch
"wrangler": patch
---

docs: show new Discord url everywhere for consistency. The old URL still works, but https://discord.cloudflare.com is preferred.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
@@ -1,5 +1,5 @@
blank_issues_enabled: true
contact_links:
- name: Support
url: https://discord.gg/CloudflareDev
url: https://discord.cloudflare.com
about: "Join us on Discord!"
2 changes: 1 addition & 1 deletion packages/create-cloudflare/src/summary.ts
Expand Up @@ -35,7 +35,7 @@ export const printSummary = async (ctx: C3Context) => {
"Read the documentation",
`https://developers.cloudflare.com/${ctx.template.platform}`,
],
["Stuck? Join us at", "https://discord.gg/cloudflaredev"],
["Stuck? Join us at", "https://discord.cloudflare.com"],
];

if (ctx.deployment.url) {
Expand Down
2 changes: 1 addition & 1 deletion packages/format-errors/src/index.ts
Expand Up @@ -111,7 +111,7 @@ export async function handlePrettyErrorRequest({
youch.addLink(() => {
return [
'<a href="https://developers.cloudflare.com/workers/" target="_blank" style="text-decoration:none">📚 Workers Docs</a>',
'<a href="https://discord.gg/cloudflaredev" target="_blank" style="text-decoration:none">💬 Workers Discord</a>',
'<a href="https://discord.cloudflare.com" target="_blank" style="text-decoration:none">💬 Workers Discord</a>',
].join("");
});
return new Response(await youch.toHTML(), {
Expand Down
2 changes: 1 addition & 1 deletion packages/kv-asset-handler/README.md
Expand Up @@ -12,7 +12,7 @@ Most users and sites will not need these customizations, and just want to serve

For users who _do_ want to customize their assets, and want to build complex experiences on top of their static assets, `kv-asset-handler` (and the default [Workers Sites template](https://github.com/cloudflare/worker-sites-template), which is provided for use with Wrangler + Workers Sites) allows you to customize caching behavior, headers, and anything else about how your Workers function loads the static assets for your site stored in Workers KV.

The Cloudflare Workers Discord server is an active place where Workers users get help, share feedback, and collaborate on making our platform better. The `#workers` channel in particular is a great place to chat about `kv-asset-handler`, and building cool experiences for your users using these tools! If you have questions, want to share what you're working on, or give feedback, [join us in Discord and say hello](https://discord.gg/cloudflaredev)!
The Cloudflare Workers Discord server is an active place where Workers users get help, share feedback, and collaborate on making our platform better. The `#workers` channel in particular is a great place to chat about `kv-asset-handler`, and building cool experiences for your users using these tools! If you have questions, want to share what you're working on, or give feedback, [join us in Discord and say hello](https://discord.cloudflare.com)!

- [Installation](#installation)
- [Usage](#usage)
Expand Down
2 changes: 1 addition & 1 deletion packages/miniflare/src/plugins/core/errors/index.ts
Expand Up @@ -266,7 +266,7 @@ export async function handlePrettyErrorRequest(
youch.addLink(() => {
return [
'<a href="https://developers.cloudflare.com/workers/" target="_blank" style="text-decoration:none">📚 Workers Docs</a>',
'<a href="https://discord.gg/cloudflaredev" target="_blank" style="text-decoration:none">💬 Workers Discord</a>',
'<a href="https://discord.cloudflare.com" target="_blank" style="text-decoration:none">💬 Workers Discord</a>',
].join("");
});
return new Response(await youch.toHTML(), {
Expand Down
2 changes: 1 addition & 1 deletion packages/workers-playground/src/QuickEditor/ToolsPane.tsx
Expand Up @@ -69,7 +69,7 @@ export default function ToolsPane() {
title="Join Cloudflare’s developer Discord"
target="_blank"
display={"inline-flex"}
href={`https://discord.gg/cloudflaredev`}
href={`https://discord.cloudflare.com`}
>
<Icon
type="discord"
Expand Down
2 changes: 1 addition & 1 deletion packages/wrangler/README.md
Expand Up @@ -3,7 +3,7 @@
<a href="https://www.npmjs.com/package/wrangler"><img alt="npm" src="https://img.shields.io/npm/dw/wrangler?style=flat-square"></a>
<img alt="GitHub contributors" src="https://img.shields.io/github/contributors/cloudflare/workers-sdk?style=flat-square">
<img alt="GitHub commit activity (branch)" src="https://img.shields.io/github/commit-activity/w/cloudflare/workers-sdk/main?style=flat-square">
<a href="https://discord.gg/CloudflareDev"><img alt="Discord" src="https://img.shields.io/discord/595317990191398933?color=%23F48120&style=flat-square"></a>
<a href="https://discord.cloudflare.com"><img alt="Discord" src="https://img.shields.io/discord/595317990191398933?color=%23F48120&style=flat-square"></a>
</section>

`wrangler` is a command line tool for building [Cloudflare Workers](https://workers.cloudflare.com/).
Expand Down
16 changes: 8 additions & 8 deletions packages/wrangler/src/__tests__/constellation.test.ts
Expand Up @@ -92,7 +92,7 @@ describe("constellation commands", () => {
"--------------------
🚧 Constellation is currently in open alpha and is not recommended for production data and traffic
🚧 Please report any bugs to https://github.com/cloudflare/workers-sdk/issues/new/choose
🚧 To give feedback, visit https://discord.gg/cloudflaredev
🚧 To give feedback, visit https://discord.cloudflare.com
--------------------
✅ Successfully created Project \\"new_project3\\"!"
Expand All @@ -106,7 +106,7 @@ describe("constellation commands", () => {
"--------------------
🚧 Constellation is currently in open alpha and is not recommended for production data and traffic
🚧 Please report any bugs to https://github.com/cloudflare/workers-sdk/issues/new/choose
🚧 To give feedback, visit https://discord.gg/cloudflaredev
🚧 To give feedback, visit https://discord.cloudflare.com
--------------------
┌──────────────────────────────────────┬──────────────┬─────────┬─────────────────────────────┐
Expand All @@ -129,7 +129,7 @@ describe("constellation commands", () => {
"--------------------
🚧 Constellation is currently in open alpha and is not recommended for production data and traffic
🚧 Please report any bugs to https://github.com/cloudflare/workers-sdk/issues/new/choose
🚧 To give feedback, visit https://discord.gg/cloudflaredev
🚧 To give feedback, visit https://discord.cloudflare.com
--------------------
About to delete Project 'new_project3' (4806cdcf-9aa7-4fa2-b6a1-77fe9e196680).
Expand All @@ -145,7 +145,7 @@ describe("constellation commands", () => {
"--------------------
🚧 Constellation is currently in open alpha and is not recommended for production data and traffic
🚧 Please report any bugs to https://github.com/cloudflare/workers-sdk/issues/new/choose
🚧 To give feedback, visit https://discord.gg/cloudflaredev
🚧 To give feedback, visit https://discord.cloudflare.com
--------------------
┌──────────────────────────────────────┬──────────────────────┬─────────────────┬───────────────┐
Expand All @@ -163,7 +163,7 @@ describe("constellation commands", () => {
"--------------------
🚧 Constellation is currently in open alpha and is not recommended for production data and traffic
🚧 Please report any bugs to https://github.com/cloudflare/workers-sdk/issues/new/choose
🚧 To give feedback, visit https://discord.gg/cloudflaredev
🚧 To give feedback, visit https://discord.cloudflare.com
--------------------
┌─────────┐
Expand All @@ -186,7 +186,7 @@ describe("constellation commands", () => {
"--------------------
🚧 Constellation is currently in open alpha and is not recommended for production data and traffic
🚧 Please report any bugs to https://github.com/cloudflare/workers-sdk/issues/new/choose
🚧 To give feedback, visit https://discord.gg/cloudflaredev
🚧 To give feedback, visit https://discord.cloudflare.com
--------------------
✅ Successfully uploaded Model \\"model2\\"!"
Expand All @@ -200,7 +200,7 @@ describe("constellation commands", () => {
"--------------------
🚧 Constellation is currently in open alpha and is not recommended for production data and traffic
🚧 Please report any bugs to https://github.com/cloudflare/workers-sdk/issues/new/choose
🚧 To give feedback, visit https://discord.gg/cloudflaredev
🚧 To give feedback, visit https://discord.cloudflare.com
--------------------
┌──────────────────────────────────────┬──────────────────────────────────────┬────────┬─────────────┬─────────────────────────────┐
Expand All @@ -225,7 +225,7 @@ describe("constellation commands", () => {
"--------------------
🚧 Constellation is currently in open alpha and is not recommended for production data and traffic
🚧 Please report any bugs to https://github.com/cloudflare/workers-sdk/issues/new/choose
🚧 To give feedback, visit https://discord.gg/cloudflaredev
🚧 To give feedback, visit https://discord.cloudflare.com
--------------------
About to delete Model 'model2' (2dd35b4e-0c7a-4c7a-a9e2-e33c0e17bc02).
Expand Down
2 changes: 1 addition & 1 deletion packages/wrangler/src/constellation/utils.ts
Expand Up @@ -11,7 +11,7 @@ export const getConstellationWarningFromEnv = getEnvironmentVariableFactory({
export const constellationBetaWarning =
getConstellationWarningFromEnv() !== undefined
? ""
: "--------------------\n🚧 Constellation is currently in open alpha and is not recommended for production data and traffic\n🚧 Please report any bugs to https://github.com/cloudflare/workers-sdk/issues/new/choose\n🚧 To give feedback, visit https://discord.gg/cloudflaredev\n--------------------\n";
: "--------------------\n🚧 Constellation is currently in open alpha and is not recommended for production data and traffic\n🚧 Please report any bugs to https://github.com/cloudflare/workers-sdk/issues/new/choose\n🚧 To give feedback, visit https://discord.cloudflare.com\n--------------------\n";

export const getProjectByName = async (
config: Config,
Expand Down

0 comments on commit 1b7739e

Please sign in to comment.