Skip to content

test(generateMonthlySVG): verify auto-theme CSS variables#1909

Merged
JhaSourav07 merged 1 commit into
JhaSourav07:mainfrom
mayank200529:test-monthly-svg-auto-theme-css-vars
May 30, 2026
Merged

test(generateMonthlySVG): verify auto-theme CSS variables#1909
JhaSourav07 merged 1 commit into
JhaSourav07:mainfrom
mayank200529:test-monthly-svg-auto-theme-css-vars

Conversation

@mayank200529
Copy link
Copy Markdown
Contributor

Description

Fixes #1048

Added a test for generateMonthlySVG with autoTheme: true.

The test verifies that the generated monthly SVG contains:

  • --cp-bg
  • --cp-accent
  • prefers-color-scheme: dark

Pillar

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

Visual Preview

Not applicable — test-only change.

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
Copy link
Copy Markdown
Contributor

vercel Bot commented May 30, 2026

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

A member of the Team first needs to authorize it.

@mayank200529 mayank200529 force-pushed the test-monthly-svg-auto-theme-css-vars branch from 18d7064 to aff13c1 Compare May 30, 2026 23:24
@github-actions github-actions Bot added the status:blocked This PR is blocked due to a failing CI check. label May 30, 2026
@github-actions
Copy link
Copy Markdown

🚨 Hey @mayank200529, the CI Pipeline is failing on this PR and it has been marked as status:blocked.

Please fix the issues before this can be reviewed. Here's how:

1. Run checks locally before pushing:

npm run format:check   # Check Prettier formatting
npm run lint           # Run ESLint
npm run typecheck      # TypeScript type check
npm run test           # Run unit tests (Vitest)
npm run build          # Verify production build passes

2. Auto-fix common issues:

npm run format         # Auto-fix formatting with Prettier
npm run lint -- --fix  # Auto-fix lint errors where possible

3. Check the full failure log here:
👉 View CI Run

Once you push a fix and the CI passes, the status:blocked label will be removed automatically. 💪

@mayank200529 mayank200529 force-pushed the test-monthly-svg-auto-theme-css-vars branch from aff13c1 to 9e5fc0b Compare May 30, 2026 23:29
@github-actions github-actions Bot removed the status:blocked This PR is blocked due to a failing CI check. label May 30, 2026
@mayank200529
Copy link
Copy Markdown
Contributor Author

@JhaSourav07 please authorize

@JhaSourav07 JhaSourav07 added GSSoC 2026 level:beginner Small changes Usually isolated fixes or simple UI/text updates. quality:exceptional Outstanding contribution with exceptional implementation quality, testing. gssoc:approved PR has been reviewed and accepted for valid contribution points mentor:Aamod007 labels May 30, 2026
@JhaSourav07 JhaSourav07 merged commit 30f4f66 into JhaSourav07:main May 30, 2026
8 of 9 checks passed
@github-actions github-actions Bot added this to the GSSoC 2026 milestone May 30, 2026
@github-actions
Copy link
Copy Markdown

🎉 Congratulations @mayank200529! 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 GSSoC 2026 level:beginner Small changes Usually isolated fixes or simple UI/text updates. mentor:Aamod007 quality:exceptional Outstanding contribution with exceptional implementation quality, testing.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test(generateMonthlySVG): verify auto-theme monthly SVG has CSS variables

2 participants