Skip to content

feat: add downloadable profile share card for social sharing#1826

Open
Kokila-chandrakar wants to merge 3 commits into
Priyanshu-byte-coder:mainfrom
Kokila-chandrakar:feat-profile-share-card
Open

feat: add downloadable profile share card for social sharing#1826
Kokila-chandrakar wants to merge 3 commits into
Priyanshu-byte-coder:mainfrom
Kokila-chandrakar:feat-profile-share-card

Conversation

@Kokila-chandrakar
Copy link
Copy Markdown
Contributor

Description

This PR introduces a shareable profile card feature that allows users to generate a visual representation of their DevTrack profile.

Changes Made

  • Added a reusable ProfileShareCard component.
  • Added a Generate Share Card button in the profile sharing section.
  • Added profile card preview functionality.
  • Added PNG download support using html-to-image.
  • Included username, current streak, profile URL, and DevTrack branding in the generated card.

Benefits

  • Makes sharing achievements more engaging.
  • Improves social media visibility.
  • Provides a visually appealing alternative to plain text sharing.

Fixes #1785

@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 1, 2026

@Kokila-chandrakar 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.

@github-actions github-actions Bot added gssoc26 GSSoC 2026 contribution type:devops GSSoC type bonus: devops (+15 pts) type:feature GSSoC type bonus: new feature labels Jun 1, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 1, 2026

GSSoC Label Checklist 🏷️

@Priyanshu-byte-coder — 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

@Kokila-chandrakar Kokila-chandrakar force-pushed the feat-profile-share-card branch from 7ed86a3 to d60f886 Compare June 1, 2026 12:10
@Kokila-chandrakar
Copy link
Copy Markdown
Contributor Author

Hi @Priyanshu-byte-coder,

I checked the failing Playwright test (goal form posts a new goal). The failure appears to be related to the Goals widget, where the test is unable to find the "Add goal" button.

My changes in this PR are limited to the Share Profile / Share Card functionality, and I did not modify the Goals feature or its related components.

Could you please confirm whether this is an existing issue or if additional changes are required from my side?

Thank you.

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

Labels

gssoc26 GSSoC 2026 contribution type:devops GSSoC type bonus: devops (+15 pts) type:feature GSSoC type bonus: new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE]: generate shareable profile card image

1 participant