Skip to content

Fix SVG Support for Full GitHub Usernames with Responsive Font Scaling - #8889

Open
VanshikaSingh28 wants to merge 1 commit into
JhaSourav07:mainfrom
VanshikaSingh28:fix/svg-badge-username-truncation-1370
Open

Fix SVG Support for Full GitHub Usernames with Responsive Font Scaling#8889
VanshikaSingh28 wants to merge 1 commit into
JhaSourav07:mainfrom
VanshikaSingh28:fix/svg-badge-username-truncation-1370

Conversation

@VanshikaSingh28

Copy link
Copy Markdown
Contributor

…e font scaling (#1370)

Description

Fixes #1370

Pillar

  • 🎨 Pillar 1 — New Theme Design
  • 📐 Pillar 2 — Geometric SVG Improvement
  • 🕐 Pillar 3 — Timezone Logic Optimization
  • 🛠️ Other (Bug fix, refactoring, docs)

Visual Preview

Checklist before requesting a review:

  • I have read the CONTRIBUTING.md file.
  • I have tested these changes locally (localhost:3000/api/streak?user=YOUR_USERNAME).
  • I have run npm run format and npm run lint locally and resolved all errors (CI will fail otherwise).
  • My commits follow the Conventional Commits format (e.g., feat(themes): ..., fix(calculate): ...).
  • I have updated README.md if I added a new theme or URL parameter.
  • I have started the repo.
  • I have made sure that i have only one commit to merge in this PR.
  • The SVG output matches the CommitPulse "premium quality" aesthetic standard (no raw elements, smooth animations, correct fonts).
  • (Recommended) I joined the CommitPulse Discord community for contributor discussions, mentorship, and faster PR support.

@vercel

vercel Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

@VanshikaSingh28 is attempting to deploy a commit to the jhasourav07's projects Team on Vercel.

A member of the Team first needs to authorize it.

@retenta-bot

retenta-bot Bot commented Aug 6, 2026

Copy link
Copy Markdown

This PR enhances the SVG rendering by supporting longer GitHub usernames and improving font scaling, which aligns with our goal of providing a better user experience. It is similar to previous decisions made regarding visually themed fallback SVGs for API errors, where we aimed to enhance visual consistency based on user preferences. Thank you for your contribution, and I look forward to your updates!

@retenta-bot retenta-bot Bot changed the title fix(svg): support full GitHub usernames up to 39 chars with responsiv… Fix SVG Support for Full GitHub Usernames with Responsive Font Scaling Aug 6, 2026
@github-actions

github-actions Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

📦 Next.js Bundle Size Report (Gzipped Sizes)

✨ No significant bundle size changes detected.

📊 Summary of Totals

Category PR Size Base Size Difference
Total JS 4939.27 KB 4939.27 KB 0 B
Total CSS 348.46 KB 348.46 KB 0 B

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: long GitHub usernames are aggressively truncated in SVG badge

1 participant