Skip to content

Commit

Permalink
Add guidance to c3 on where to file issues (#7093)
Browse files Browse the repository at this point in the history
Co-authored-by: Edmund Hung <[email protected]>
  • Loading branch information
lrapoport-cf and edmundhung authored Oct 29, 2024
1 parent 7eade00 commit 6cf64de
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/metal-ladybugs-teach.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"create-cloudflare": patch
---

Added link to where to file issues
6 changes: 6 additions & 0 deletions packages/create-cloudflare/src/__tests__/dialog.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@ describe("dialog helpers", () => {
📖 Explore Documentation
https://developers.cloudflare.com/workers
🐛 Report an Issue
https://github.com/cloudflare/workers-sdk/issues/new/choose
💬 Join our Community
https://discord.cloudflare.com
────────────────────────────────────────────────────────────
Expand Down Expand Up @@ -127,6 +130,9 @@ describe("dialog helpers", () => {
📖 Explore Documentation
https://developers.cloudflare.com/pages
🐛 Report an Issue
https://github.com/cloudflare/workers-sdk/issues/new/choose
💬 Join our Community
https://discord.cloudflare.com
────────────────────────────────────────────────────────────
Expand Down
5 changes: 5 additions & 0 deletions packages/create-cloudflare/src/dialog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ export const printSummary = (ctx: C3Context) => {
]);
const documentationUrl = `https://developers.cloudflare.com/${ctx.template.platform}`;
const discordUrl = `https://discord.cloudflare.com`;
const reportIssueUrl =
"https://github.com/cloudflare/workers-sdk/issues/new/choose";

// Prepare the dialog
const lines = [
Expand All @@ -93,6 +95,9 @@ export const printSummary = (ctx: C3Context) => {
`📖 Explore Documentation`,
`${blue.underline(hyperlink(documentationUrl))}`,
``,
`🐛 Report an Issue`,
`${blue.underline(hyperlink(reportIssueUrl))}`,
``,
`💬 Join our Community`,
`${blue.underline(hyperlink(discordUrl))}`,
);
Expand Down

0 comments on commit 6cf64de

Please sign in to comment.