-
Notifications
You must be signed in to change notification settings - Fork 3
Labels
area: frontendChanges specifically for the UI/Tailwind components.Changes specifically for the UI/Tailwind components.good first issueGood for newcomersGood for newcomers
Description
Description
Our Next.js project has custom status code pages (pages/404.js and pages/_error.js). Some pages are incomplete or broken, and certain HTTP status codes (e.g., 401 Unauthorized, 403 Forbidden) are not currently testable because the app does not have a login/authentication system. This impacts the user experience and automated documentation tools.
Steps to Reproduce
- Run the Next.js project locally or deploy it.
- Navigate to a non-existent route to trigger the 404 page.
- Trigger a server error (500) via an API route or manually throw an error.
- Observe the layout and messages on the status code pages.
- Note: 401/403 pages cannot be tested without an authentication system.
Expected Behavior
- 404 and 500 pages render correctly with consistent layout and user-friendly messages.
- Error pages are responsive and accessible on all devices.
- If authentication is added in the future, 401 and 403 pages should be properly implemented.
Actual Behavior
- 404 and 500 pages may have layout issues or missing content.
- 401/403 pages are not implemented/testable because no login/auth system exists.
Screenshots/Logs
- Attach screenshots of broken pages or console errors.
- Include any server logs or terminal output.
Additional Context
- Check
pages/404.jsandpages/_error.jsfor layout or content issues. - Consider adding placeholder 401/403 pages for future authentication support.
- Ensure server-side rendering does not break when generating these pages.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area: frontendChanges specifically for the UI/Tailwind components.Changes specifically for the UI/Tailwind components.good first issueGood for newcomersGood for newcomers