Skip to content

test: add type compiler tests for ThemeQuickPresets#8123

Merged
JhaSourav07 merged 1 commit into
JhaSourav07:mainfrom
deepsikha-dash:test/theme-quick-presets-type-compiler
Jul 17, 2026
Merged

test: add type compiler tests for ThemeQuickPresets#8123
JhaSourav07 merged 1 commit into
JhaSourav07:mainfrom
deepsikha-dash:test/theme-quick-presets-type-compiler

Conversation

@deepsikha-dash

Copy link
Copy Markdown
Contributor

Description

Fixes #6887

Pillar

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

Visual Preview

N/A

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.

@retenta-bot

retenta-bot Bot commented Jul 16, 2026

Copy link
Copy Markdown

This PR introduces important tests for the ThemeQuickPresets, which is crucial for maintaining the integrity of the theme design. Similar past decisions have focused on adding tests for timezone normalization and responsive layouts, emphasizing the importance of thorough testing in our codebase. Ensuring that our components are well-tested helps us maintain high quality and reliability. Thank you for your contribution, and I look forward to your updates!

@github-actions

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 3958.92 KB 3958.92 KB 0 B
Total CSS 327.67 KB 327.67 KB 0 B

@Aamod007 Aamod007 added level:beginner Small changes Usually isolated fixes or simple UI/text updates. quality:clean PR follows clean coding practices, proper formatting, documentation, and maintainability standards. type:testing Adding, updating, or fixing tests mentor:Aamod007 labels Jul 17, 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.

Great job adding type compiler validations for the \ThemeQuickPresets\ component. Ensuring the structure of \Props['theme']\ and the \onThemeChange\ callback signature are correct provides excellent static typing guarantees. The tests are well-structured and concise. Keep it up!

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

Copy link
Copy Markdown
Contributor

🎉 Congratulations @deepsikha-dash! 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:beginner Small changes Usually isolated fixes or simple UI/text updates. mentor:Aamod007 quality:clean PR follows clean coding practices, proper formatting, documentation, and maintainability standards. type:testing Adding, updating, or fixing tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test(ThemeQuickPresets-type-compiler): verify TypeScript Compiler Validation & Schema Constraints Stability (Variation 10)

3 participants