feat: add fresh copy success toast for badge markdown#1747
feat: add fresh copy success toast for badge markdown#1747codedbydollys10 wants to merge 1 commit into
Conversation
|
@codedbydollys10 is attempting to deploy a commit to the PRIYANSHU DOSHI's projects Team on Vercel. A member of the Team first needs to authorize it. |
GSSoC Label Checklist 🏷️@Priyanshu-byte-coder — please apply the appropriate labels before merging: Difficulty (pick one):
Quality (optional):
Validation (required to score):
|
|
Hello @Priyanshu-byte-coder The failing Playwright test appears unrelated to this change. This PR only modifies The CI failure occurs in |
Summary
Added a toast/snackbar notification when badge markdown is copied from the Badge Section.
Closes #160
Type of Change
Changes Made
role="status"andaria-live="polite"✓ Copied!button stateHow to Test
Navigate to the Badge Section
Click the Streak badge copy button
Verify:
✓ Copied!button state still appearsWait ~2 seconds and confirm the toast disappears
Repeat for:
Screenshots (if UI change)
Checklist
Accessibility Checklist
role="status"addedaria-live="polite"addedAdditional Notes
Implementation was intentionally limited to
src/components/BadgeSection.tsxto keep the change focused and minimize merge conflict risk.