feat: add share profile button to dashboard#2457
Conversation
GSSoC Label Checklist 🏷️@Umbrella-io — please apply the appropriate labels before merging: Difficulty (pick one):
Quality (optional):
Validation (required to score):
|
|
Hi @Priyanshu-byte-coder! I checked the failing CI jobs and they appear to be unrelated to the changes in this PR. The failures are currently occurring in existing Playwright tests:
This PR only adds the Share Profile button and clipboard copy functionality in the dashboard header. Locally, all checks pass:
Please let me know if you'd like me to investigate and fix the Playwright failures as part of this PR. |
6d45f13
into
Umbrella-io:main
|
🎉 Merged! Thanks for contributing to DevTrack. If the project has been useful to you, a ⭐ star on the repo is the easiest way to support it — it helps DevTrack get discovered by more developers. Keep an eye on open issues for your next contribution! |
Summary
Adds a Share Profile button to the dashboard header that allows users to quickly copy their public profile URL to the clipboard. The button provides visual feedback by switching from a Link icon to a Check icon and displays a success toast after copying.
Closes #2452
Type of Change
What Changed
How to Test
Expected result:
Screenshots / Recordings
Checklist
console.log, debug code, or commented-out blocksnpm run lintpasses locallynpm run type-check)Accessibility (UI changes only)
Additional Context
The copied URL uses NEXT_PUBLIC_APP_URL when available, with a fallback to the production DevTrack URL. The Share Profile functionality is implemented as a reusable component and integrated into both desktop and mobile dashboard header layouts.