-
Notifications
You must be signed in to change notification settings - Fork 4.4k
feat(docs): SEO enhancements and page feedback #2341
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
SEO improvements: - JSON-LD TechArticle schema for search engines - Proper TOC sidebar layout (removed main wrapper) - Updated source.config.ts for better content handling Page feedback: - feedback.tsx - Page rating component - /api/feedback - Feedback collection endpoint 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Cant see any feedback button: @sohamganatra |
- source.config.ts: Add keywords field to docsSchema for search indexing (Zod strips unknown keys by default, so keywords weren't being passed) - feedback.tsx: Prevent duplicate submissions by adding isSubmitting state, disabling buttons during submission, and awaiting async calls - feedback.tsx: Remove invalid aria-describedby referencing non-existent hint 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
| </div> | ||
| )} | ||
| </div> | ||
| ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Feedback component created but never rendered on pages
High Severity
The Feedback component is fully implemented but never imported or rendered anywhere in the application. The component exists in fumadocs/components/feedback.tsx and the API endpoint in /api/feedback is created, but the Feedback component is not added to the docs page.tsx layout nor included in mdx-components.tsx for MDX usage. This explains the PR comment from a user who cannot see any feedback button. The entire page feedback feature is non-functional because the UI component is never displayed.
Additional Locations (1)
|
Superseded by smaller PRs for easier review:
|
Summary
Adds SEO improvements and page feedback functionality.
SEO Improvements
Page Feedback
feedback.tsx- Thumbs up/down rating component/api/feedback- Feedback collection endpointTest Plan
🤖 Generated with Claude Code