From 1b7739e0af99860aa063f01c0a6e7712ac072fdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1niel=20F=C3=B6ldi?= Date: Sun, 21 Apr 2024 22:17:48 +0200 Subject: [PATCH] Use new Discord server url (#5482) * Use new Discord server url * Add changeset * Update changeset as suggested Co-authored-by: Pete Bacon Darwin --------- Co-authored-by: Pete Bacon Darwin --- .changeset/wise-beds-buy.md | 10 ++++++++++ .github/ISSUE_TEMPLATE/config.yml | 2 +- packages/create-cloudflare/src/summary.ts | 2 +- packages/format-errors/src/index.ts | 2 +- packages/kv-asset-handler/README.md | 2 +- .../miniflare/src/plugins/core/errors/index.ts | 2 +- .../src/QuickEditor/ToolsPane.tsx | 2 +- packages/wrangler/README.md | 2 +- .../wrangler/src/__tests__/constellation.test.ts | 16 ++++++++-------- packages/wrangler/src/constellation/utils.ts | 2 +- 10 files changed, 26 insertions(+), 16 deletions(-) create mode 100644 .changeset/wise-beds-buy.md diff --git a/.changeset/wise-beds-buy.md b/.changeset/wise-beds-buy.md new file mode 100644 index 00000000000..8fcfd5a854d --- /dev/null +++ b/.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. diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index f03d05cea5b..829596314f1 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.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!" diff --git a/packages/create-cloudflare/src/summary.ts b/packages/create-cloudflare/src/summary.ts index 6d2ff1c6945..a0e21ee561e 100644 --- a/packages/create-cloudflare/src/summary.ts +++ b/packages/create-cloudflare/src/summary.ts @@ -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) { diff --git a/packages/format-errors/src/index.ts b/packages/format-errors/src/index.ts index e5dfd10a2e2..74d2bdc507c 100644 --- a/packages/format-errors/src/index.ts +++ b/packages/format-errors/src/index.ts @@ -111,7 +111,7 @@ export async function handlePrettyErrorRequest({ youch.addLink(() => { return [ 'πŸ“š Workers Docs', - 'πŸ’¬ Workers Discord', + 'πŸ’¬ Workers Discord', ].join(""); }); return new Response(await youch.toHTML(), { diff --git a/packages/kv-asset-handler/README.md b/packages/kv-asset-handler/README.md index 2241d62a5ba..467b4e42274 100644 --- a/packages/kv-asset-handler/README.md +++ b/packages/kv-asset-handler/README.md @@ -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) diff --git a/packages/miniflare/src/plugins/core/errors/index.ts b/packages/miniflare/src/plugins/core/errors/index.ts index 0549d45e3ff..8538754a10e 100644 --- a/packages/miniflare/src/plugins/core/errors/index.ts +++ b/packages/miniflare/src/plugins/core/errors/index.ts @@ -266,7 +266,7 @@ export async function handlePrettyErrorRequest( youch.addLink(() => { return [ 'πŸ“š Workers Docs', - 'πŸ’¬ Workers Discord', + 'πŸ’¬ Workers Discord', ].join(""); }); return new Response(await youch.toHTML(), { diff --git a/packages/workers-playground/src/QuickEditor/ToolsPane.tsx b/packages/workers-playground/src/QuickEditor/ToolsPane.tsx index 304806f6eb3..21047fe4f7d 100644 --- a/packages/workers-playground/src/QuickEditor/ToolsPane.tsx +++ b/packages/workers-playground/src/QuickEditor/ToolsPane.tsx @@ -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`} > npm GitHub contributors GitHub commit activity (branch) -Discord +Discord `wrangler` is a command line tool for building [Cloudflare Workers](https://workers.cloudflare.com/). diff --git a/packages/wrangler/src/__tests__/constellation.test.ts b/packages/wrangler/src/__tests__/constellation.test.ts index d942c95c9fd..5fd21df7c61 100644 --- a/packages/wrangler/src/__tests__/constellation.test.ts +++ b/packages/wrangler/src/__tests__/constellation.test.ts @@ -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\\"!" @@ -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 -------------------- β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” @@ -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). @@ -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 -------------------- β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” @@ -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 -------------------- β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β” @@ -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\\"!" @@ -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 -------------------- β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” @@ -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). diff --git a/packages/wrangler/src/constellation/utils.ts b/packages/wrangler/src/constellation/utils.ts index e714d1e9e64..34210631622 100644 --- a/packages/wrangler/src/constellation/utils.ts +++ b/packages/wrangler/src/constellation/utils.ts @@ -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,