Skip to content

feat: add Copy Link, Twitter/X and LinkedIn share buttons to dashboar…#2431

Open
111-Vaishali wants to merge 1 commit into
Umbrella-io:mainfrom
111-Vaishali:feat/share-stats-card
Open

feat: add Copy Link, Twitter/X and LinkedIn share buttons to dashboar…#2431
111-Vaishali wants to merge 1 commit into
Umbrella-io:mainfrom
111-Vaishali:feat/share-stats-card

Conversation

@111-Vaishali

Copy link
Copy Markdown

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.tsx

Screenshots

image [screenshot of the 3 buttons visible in dashboard header]

Related Issue

Closes #2265

@github-actions github-actions Bot added type:bug GSSoC type bonus: bug fix type:feature GSSoC type bonus: new feature type:design GSSoC type bonus: UI/design (+10 pts) type:performance GSSoC type bonus: performance (+15 pts) gssoc26 GSSoC 2026 contribution labels Jun 14, 2026
@github-actions

Copy link
Copy Markdown

GSSoC Label Checklist 🏷️

@Umbrella-io — please apply the appropriate labels before merging:

Difficulty (pick one):

  • level:beginner — 20 pts
  • level:intermediate — 35 pts
  • level:advanced — 55 pts
  • level:critical — 80 pts

Quality (optional):

  • quality:clean — ×1.2 multiplier
  • quality:exceptional — ×1.5 multiplier

Validation (required to score):

  • gssoc:approved — counts for points
  • gssoc:invalid / gssoc:spam / gssoc:ai-slop — does not score

Type labels (type:*) are auto-detected from files and title. Review and adjust if needed.
Points formula: (difficulty × quality_multiplier) + type_bonus

@111-Vaishali

Copy link
Copy Markdown
Author

Hi @Priyanshu-byte-coder, I've submitted a PR for this issue.
PR: #2265

@Priyanshu-byte-coder

Copy link
Copy Markdown
Member

This PR has merge conflicts with the current main branch. Please rebase or merge main into your branch to resolve the conflicts, then push the updated branch. Once conflicts are resolved, this PR will be merged.

git fetch origin main
git merge origin/main
# resolve conflicts
git push

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gssoc:approved GSSoC: PR approved for scoring gssoc26 GSSoC 2026 contribution type:bug GSSoC type bonus: bug fix type:design GSSoC type bonus: UI/design (+10 pts) type:feature GSSoC type bonus: new feature type:performance GSSoC type bonus: performance (+15 pts)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEAT] : Add shareable stats card with Twitter/X and LinkedIn share buttons

2 participants