feat(not-found): add click-to-copy functionality to 404 terminal#1880
Conversation
|
@imposterbharathkumarburugu15-cpu is attempting to deploy a commit to the jhasourav07's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
👋 Hey @imposterbharathkumarburugu15-cpu, welcome to CommitPulse! 🎉 Thanks for opening your first pull request — this is a big deal and we appreciate the effort! While you wait for a review, please double-check:
A maintainer will review your PR shortly. Hang tight! 🚀 |
|
👋 Hey @imposterbharathkumarburugu15-cpu, it looks like you didn't use our PR template! The section Please update your PR description to include all required sections so we can review this properly:
You can find the full template in CONTRIBUTING.md. Just edit your PR description and the |
|
🚨 Hey @imposterbharathkumarburugu15-cpu, the CI Pipeline is failing on this PR and it has been marked as Please fix the issues before this can be reviewed. Here's how: 1. Run checks locally before pushing: npm run format:check # Check Prettier formatting
npm run lint # Run ESLint
npm run typecheck # TypeScript type check
npm run test # Run unit tests (Vitest)
npm run build # Verify production build passes2. Auto-fix common issues: npm run format # Auto-fix formatting with Prettier
npm run lint -- --fix # Auto-fix lint errors where possible3. Check the full failure log here: Once you push a fix and the CI passes, the |
Description
Fixes #1798
This PR adds click-to-copy functionality to the custom 404 terminal page, making the terminal block interactive and allowing users to easily copy the displayed terminal output.
Changes Made
navigator.clipboard.writeText()Pillar
Checklist
Visual Preview
Before
Users had to manually highlight and copy terminal content.
After
Users can click anywhere on the terminal block to instantly copy the terminal output and receive visual feedback through a toast notification.
Screenshots