feat: add Copy Link, Twitter/X and LinkedIn share buttons to dashboar…#2431
Open
111-Vaishali wants to merge 1 commit into
Open
feat: add Copy Link, Twitter/X and LinkedIn share buttons to dashboar…#2431111-Vaishali wants to merge 1 commit into
111-Vaishali wants to merge 1 commit into
Conversation
GSSoC Label Checklist 🏷️@Umbrella-io — please apply the appropriate labels before merging: Difficulty (pick one):
Quality (optional):
Validation (required to score):
|
Author
|
Hi @Priyanshu-byte-coder, I've submitted a PR for this issue. |
Member
|
This PR has merge conflicts with the current git fetch origin main
git merge origin/main
# resolve conflicts
git push |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Adds three sharing buttons to the Dashboard header so users
can share their DevTrack stats with their network in one click.
Changes made
Copy Link — copies the user's public profile URL to
clipboard with a "✓ Copied!" confirmation for 2 seconds
(reuses the existing handleCopyLink logic that was already
written but never connected to any UI button)
Post on X (Twitter) — opens Twitter with a pre-filled
tweet containing the user's profile link and hashtags
Share on LinkedIn — opens LinkedIn share dialog with
the user's public profile URL
Both desktop header and mobile dropdown menu updated
File changed
src/components/DashboardHeader.tsxScreenshots
Related Issue
Closes #2265