Skip to content

test: Add Timezone Boundary Tests for AdvancedSettingsPanel - #8311

Open
deepsikha-dash wants to merge 2 commits into
JhaSourav07:mainfrom
deepsikha-dash:test-advancedsettingspanel-timezone-boundaries-6865
Open

test: Add Timezone Boundary Tests for AdvancedSettingsPanel#8311
deepsikha-dash wants to merge 2 commits into
JhaSourav07:mainfrom
deepsikha-dash:test-advancedsettingspanel-timezone-boundaries-6865

Conversation

@deepsikha-dash

Copy link
Copy Markdown
Contributor

Description

Fixes #6865

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.

@vercel

vercel Bot commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

@deepsikha-dash 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 Jul 25, 2026

Copy link
Copy Markdown

This PR introduces important tests for the timezone logic, which is crucial for ensuring accurate functionality in the AdvancedSettingsPanel. It aligns with previous decisions made to enhance code quality, such as the recent fix for dead code in the calculateStreak function. Ensuring that our timezone logic is robust will help maintain the integrity of user contributions. Thank you for your contributions, and I look forward to your updates!

@retenta-bot retenta-bot Bot changed the title test: add timezone boundary tests for AdvancedSettingsPanel test: Add Timezone Boundary Tests for AdvancedSettingsPanel Jul 25, 2026
@github-actions github-actions Bot added the status:blocked This PR is blocked due to a failing CI check. label Jul 25, 2026
@github-actions github-actions Bot removed the status:blocked This PR is blocked due to a failing CI check. label Jul 25, 2026
@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 4052.50 KB 4052.50 KB 0 B
Total CSS 338.94 KB 338.94 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. mentor:Aamod007 type:testing Adding, updating, or fixing tests labels Jul 27, 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.

Timezone boundary tests for AdvancedSettingsPanel — 102 lines of focused test coverage. CI failing, please fix.

Labels: level:beginner (1 file), quality:clean, type:testing, mentor:Aamod007

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

Re-reviewing after noting the only CI failure is Vercel authorization (not code-related). All other checks (Format · Lint · Typecheck · Test, Production Build, CodeQL) pass. Approving — the Vercel deploy auth is a repo-level config issue, not a code problem.

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

Labels

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(AdvancedSettingsPanel-timezone-boundaries): verify Timezone Normalization & Calendar Data Boundary Alignment (Variation 8)

2 participants