Skip to content

feat(customize): Add Export Options for PNG, WebP, and PDF in Customizer Generator#8245

Merged
JhaSourav07 merged 1 commit into
JhaSourav07:mainfrom
nishtha-agarwal-211:feat/add-png-webp-pdf-export
Jul 23, 2026
Merged

feat(customize): Add Export Options for PNG, WebP, and PDF in Customizer Generator#8245
JhaSourav07 merged 1 commit into
JhaSourav07:mainfrom
nishtha-agarwal-211:feat/add-png-webp-pdf-export

Conversation

@nishtha-agarwal-211

Copy link
Copy Markdown
Contributor

Description

Fixes #8243

Added PNG, WebP, and PDF export capabilities to the Customizer generator page (/customize). Users can now download high-resolution raster images (PNG & WebP) and vector documents (PDF) directly from their browser with instantaneous toast feedback, retaining exact theme colors, custom gradients, dimensions, and typography.

Pillar

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

Visual Preview

  • Export Action Bar: Added Download PNG, Download WebP, and Download PDF action buttons to ExportPanel.tsx.
  • Toast Feedback: Instant sonner notifications triggered on successful/failed export.

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.

Copilot AI review requested due to automatic review settings July 21, 2026 17:42
@vercel

vercel Bot commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

@nishtha-agarwal-211 is attempting to deploy a commit to the jhasourav07's projects Team on Vercel.

A member of the Team first needs to authorize it.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@retenta-bot

retenta-bot Bot commented Jul 21, 2026

Copy link
Copy Markdown

This pull request enhances the Customizer generator by adding export options for PNG, WebP, and PDF formats, which improves user experience by providing high-resolution downloads directly from the browser. It's worth noting that similar past decisions focused on enhancing the ExportPanel's functionality, particularly regarding timezone normalization and calendar boundary handling. These improvements ensure that the application maintains accuracy and consistency across various settings. Thank you for your contribution, and I look forward to your updates!

@retenta-bot retenta-bot Bot changed the title feat(customize): add PNG, WebP, and PDF export options to customize generator page (#8243) feat(customize): Add Export Options for PNG, WebP, and PDF in Customizer Generator Jul 21, 2026
Comment thread app/customize/components/ExportPanel.tsx Fixed
@nishtha-agarwal-211
nishtha-agarwal-211 force-pushed the feat/add-png-webp-pdf-export branch from 35fdc04 to 4aa7884 Compare July 21, 2026 17:46
@github-actions github-actions Bot added the status:blocked This PR is blocked due to a failing CI check. label Jul 21, 2026
@nishtha-agarwal-211
nishtha-agarwal-211 force-pushed the feat/add-png-webp-pdf-export branch from 4aa7884 to e54ddeb Compare July 21, 2026 18:13
@nishtha-agarwal-211
nishtha-agarwal-211 force-pushed the feat/add-png-webp-pdf-export branch from e54ddeb to ed6fccf Compare July 21, 2026 18:56
@github-actions github-actions Bot removed the status:blocked This PR is blocked due to a failing CI check. label Jul 21, 2026
@github-actions

Copy link
Copy Markdown
Contributor

📦 Next.js Bundle Size Report (Gzipped Sizes)

Asset PR Size Base Size Difference Status
static/chunks/6139-[hash].js 1.57 KB - +1.57 KB (++100%) 🆕 New
static/chunks/6247-[hash].js 35.85 KB 35.63 KB +0.22 KB (+0.62%) 🔴 Regression
static/chunks/app/customize/page-[hash].js 21.49 KB 20.88 KB +0.62 KB (+2.95%) 🔴 Regression
static/css/[hash].css 41.13 KB 41.08 KB +0.04 KB (+0.10%) 🔴 Regression

📊 Summary of Totals

Category PR Size Base Size Difference
Total JS 3993.37 KB 3985.28 KB +8.09 KB (+0.20%)
Total CSS 331.81 KB 331.41 KB +0.40 KB (+0.12%)

@Aamod007 Aamod007 added level:critical High-priority or mission-critical contributions affecting core systems, security, or infrastructure quality:clean PR follows clean coding practices, proper formatting, documentation, and maintainability standards. type:feature New features, additions, or enhancements mentor:Aamod007 labels Jul 23, 2026

@Aamod007 Aamod007 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a massive usability upgrade! Adding native PNG, WebP, and PDF exports to the Customizer makes it so much easier for users to download their personalized badges in their preferred format. The updates to the i18n locales and the test files show great attention to detail.

Fantastic work on this!

Label Justification:

  • \level:critical: Assigned based on 12 files changed across components, tests, and internationalization locales.
  • \quality:clean: Excellent feature completeness including i18n support and robust test updates.
  • \ ype:feature: Introduces new export capabilities to the Customizer.
  • \mentor:Aamod007: Assigned as required.

@JhaSourav07 JhaSourav07 added the gssoc:approved PR has been reviewed and accepted for valid contribution points label Jul 23, 2026
@JhaSourav07
JhaSourav07 merged commit efd1ec4 into JhaSourav07:main Jul 23, 2026
9 of 10 checks passed
@github-actions github-actions Bot added this to the GSSoC 2026 milestone Jul 23, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🎉 Congratulations @nishtha-agarwal-211! Your PR has been successfully merged. 🚀

Thank you for contributing to CommitPulse. Your work helps us build a better tool for the community.

⚠️ Important for GSSoC Contributors:
You are strictly advised to join our Discord Server as it is mandatory for all GSSoC participants. All important announcements, point claims, and community discussions happen there.

Keep building! 💻✨

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

Labels

gssoc:approved PR has been reviewed and accepted for valid contribution points level:critical High-priority or mission-critical contributions affecting core systems, security, or infrastructure mentor:Aamod007 quality:clean PR follows clean coding practices, proper formatting, documentation, and maintainability standards. type:feature New features, additions, or enhancements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: add PNG, WebP, and PDF export options to customize generator page

5 participants