-
Notifications
You must be signed in to change notification settings - Fork 0
DBP-35: redirect comments page to discord community #32
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
DBP-35: redirect comments page to discord community #32
Conversation
pan93412
commented
Oct 22, 2025
- feat(app-navbar): redirect "feedback" to our Discord community
- feat(not-found): implement 404 page
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Pull Request Overview
This PR redirects the comments/feedback page to a Discord community and implements a 404 error page. The changes replace the under-development comments feature with an external Discord link and add proper handling for non-existent routes.
- Removed the
/commentspage and updated navigation to redirect "意見分享" (feedback) to Discord - Implemented a new 404 page with user-friendly messaging in Traditional Chinese
- Refactored navigation items to support both internal routes and external links
Reviewed Changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| components/not-found-layout/index.tsx | Main 404 page component with card layout and logo |
| components/not-found-layout/current-page.tsx | Client-side component to display current URL on 404 page |
| components/not-found-layout/current-page.lazy.tsx | Lazy-loaded wrapper to disable SSR for current page URL |
| components/app-navbar.tsx | Updated navigation to support external links and replaced "經驗分享" with Discord link |
| app/not-found.tsx | Root 404 page entry point |
| app/(app)/comments/page.tsx | Removed deprecated comments page |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
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.
Pull Request Overview
Copilot reviewed 7 out of 8 changed files in this pull request and generated 2 comments.
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.