Skip to content

Commit d4edacd

Browse files
committed
docs(website): replace community page with a feedback hub
GitHub Discussions was turned off for the repo after the 12 open ideas were migrated to issues. The annotation UI's "Feedback" CTA pointed at the now-disabled discussions/categories/ideas page. Replace the small community.mdx page (Slack + email) with a feedback.mdx page structured by intent: bug report, feature request, Slack for open-ended questions, email as fallback. The annotation UI's Feedback button now lands users on this page instead of a raw issues list. - Rename packages/website/src/content/docs/community.mdx -> feedback.mdx and rewrite content into sections by intent. - astro.config.mjs: relabel the sidebar entry, add a native Astro redirect from /community/ to /feedback/ so existing bookmarks keep working (emits an HTML stub with meta-refresh + canonical link). - packages/shared/src/links.ts: replace GITHUB_DISCUSSIONS_URL with FEEDBACK_URL = https://plan.contextbridge.ai/feedback/. - packages/annotation: route the header's feedbackHref through the new constant, update the test accordingly.
1 parent 017fedc commit d4edacd

6 files changed

Lines changed: 39 additions & 22 deletions

File tree

‎packages/annotation/src/App.test.tsx‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { AnnotationPayload, AnnotationSubmission } from '@contextbridge/shared/annotationSchema';
2-
import { DOCS_URL, GITHUB_DISCUSSIONS_URL, GITHUB_REPO_URL, SLACK_COMMUNITY_URL } from '@contextbridge/shared/links';
2+
import { DOCS_URL, FEEDBACK_URL, GITHUB_REPO_URL, SLACK_COMMUNITY_URL } from '@contextbridge/shared/links';
33
import { createDeferred } from '@contextbridge/shared/testHelpers';
44
import type { UpdateNotice } from '@contextbridge/shared/updateNoticeSchema';
55
import { headerTestIds } from '@contextbridge/ui/components/Header';
@@ -556,11 +556,11 @@ Run \`${longCode}\` now.
556556
expect(screen.getByTestId(headerTestIds.helpSlackItem)).toHaveAttribute('href', SLACK_COMMUNITY_URL);
557557
});
558558

559-
it('renders a feedback button linking to GitHub Discussions', () => {
559+
it('renders a feedback button linking to the feedback page', () => {
560560
renderApp({ initialPayload: { contentKind: 'plan', content: '# Ready' } });
561561

562562
const feedbackButton = screen.getByTestId(headerTestIds.feedbackButton);
563-
expect(feedbackButton).toHaveAttribute('href', GITHUB_DISCUSSIONS_URL);
563+
expect(feedbackButton).toHaveAttribute('href', FEEDBACK_URL);
564564
expect(feedbackButton).toHaveAttribute('target', '_blank');
565565
expect(feedbackButton).toHaveTextContent('Feedback');
566566
});

‎packages/annotation/src/App.tsx‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { AnnotationPayload, CommentThread } from '@contextbridge/shared/annotationSchema';
2-
import { DOCS_URL, GITHUB_DISCUSSIONS_URL, GITHUB_REPO_URL, SLACK_COMMUNITY_URL } from '@contextbridge/shared/links';
2+
import { DOCS_URL, FEEDBACK_URL, GITHUB_REPO_URL, SLACK_COMMUNITY_URL } from '@contextbridge/shared/links';
33
import type { UpdateNotice } from '@contextbridge/shared/updateNoticeSchema';
44
import { Header } from '@contextbridge/ui/components/Header';
55
import {
@@ -82,7 +82,7 @@ export function App({ initialPayload, initialThreads, initialGlobalComment }: Ap
8282
<main className="min-h-screen bg-background text-foreground" data-testid={appTestIds.container}>
8383
<Header
8484
docsHref={DOCS_URL}
85-
feedbackHref={GITHUB_DISCUSSIONS_URL}
85+
feedbackHref={FEEDBACK_URL}
8686
githubRepoHref={GITHUB_REPO_URL}
8787
slackHelpHref={SLACK_COMMUNITY_URL}
8888
version={buildInfo.version}
@@ -97,7 +97,7 @@ export function App({ initialPayload, initialThreads, initialGlobalComment }: Ap
9797
<main className="min-h-screen bg-background text-foreground" data-testid={appTestIds.container}>
9898
<Header
9999
docsHref={DOCS_URL}
100-
feedbackHref={GITHUB_DISCUSSIONS_URL}
100+
feedbackHref={FEEDBACK_URL}
101101
githubRepoHref={GITHUB_REPO_URL}
102102
slackHelpHref={SLACK_COMMUNITY_URL}
103103
version={buildInfo.version}

‎packages/shared/src/links.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ export const DOCS_URL = 'https://plan.contextbridge.ai';
22
export const QUICKSTART_URL = 'https://plan.contextbridge.ai/quickstart/';
33
export const SLACK_COMMUNITY_URL = 'https://go.contextbridge.ai/join-community';
44
export const GITHUB_REPO_URL = 'https://github.com/contextbridge/planbridge';
5-
export const GITHUB_DISCUSSIONS_URL = 'https://github.com/contextbridge/planbridge/discussions/categories/ideas';
5+
export const FEEDBACK_URL = 'https://plan.contextbridge.ai/feedback/';

‎packages/website/astro.config.mjs‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ import starlightLlmsTxt from 'starlight-llms-txt';
88

99
export default defineConfig({
1010
site: 'https://plan.contextbridge.ai',
11+
redirects: {
12+
'/community/': '/feedback/',
13+
},
1114
prefetch: {
1215
prefetchAll: true,
1316
defaultStrategy: 'viewport',
@@ -156,7 +159,7 @@ export default defineConfig({
156159
label: 'About',
157160
items: [
158161
{ label: 'Privacy & telemetry', slug: 'privacy' },
159-
{ label: 'Community', slug: 'community' },
162+
{ label: 'Feedback', slug: 'feedback' },
160163
],
161164
},
162165
{

‎packages/website/src/content/docs/community.mdx‎

Lines changed: 0 additions & 14 deletions
This file was deleted.
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
title: Feedback
3+
description: Where to send bugs, feature requests, questions, and notes about PlanBridge.
4+
---
5+
6+
PlanBridge is open source and developed in the open. Pick the channel that matches what you want to do.
7+
8+
## Report a bug
9+
10+
Open a GitHub issue. Include the version (`contextbridge --version`), your harness (Claude Code, Codex), and the command or steps that triggered the bug.
11+
12+
**[File a bug report →](https://github.com/contextbridge/planbridge/issues/new?template=bug_report.yml)**
13+
14+
## Request a feature
15+
16+
Open a GitHub issue. Lead with the problem you are trying to solve, not the feature you imagine.
17+
18+
**[File a feature request →](https://github.com/contextbridge/planbridge/issues/new?template=feature_request.yml)**
19+
20+
## Ask questions or talk through ideas
21+
22+
Slack is the fastest way to reach the team for open-ended questions, workflow advice, or design conversations before you file an issue.
23+
24+
**[Join the ContextBridge Slack →](https://go.contextbridge.ai/join-community)**
25+
26+
## Email
27+
28+
For anything that does not fit a public channel, write to [`[email protected]`](mailto:[email protected]?subject=PlanBridge).

0 commit comments

Comments
 (0)