Skip to content

fix(ci): resolve Prettier formatting discrepancies in multiple files - #8924

Open
nishtha-agarwal-211 wants to merge 1 commit into
JhaSourav07:mainfrom
nishtha-agarwal-211:fix/prettier-formatting-ui-components
Open

fix(ci): resolve Prettier formatting discrepancies in multiple files#8924
nishtha-agarwal-211 wants to merge 1 commit into
JhaSourav07:mainfrom
nishtha-agarwal-211:fix/prettier-formatting-ui-components

Conversation

@nishtha-agarwal-211

Copy link
Copy Markdown
Contributor

Description

Fixes #8915

Resolves CI code quality check (npm run format:check) failure by fixing Prettier code formatting style discrepancies in BurnoutRiskTable.tsx, InteractiveViewer.tsx, customization.md, and achievements.ts.

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 (Formatting fix)

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 starred 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 lite review requested due to automatic review settings August 6, 2026 09:39
@vercel

vercel Bot commented Aug 6, 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.

@retenta-bot

retenta-bot Bot commented Aug 6, 2026

Copy link
Copy Markdown

This PR resolves formatting issues that were causing CI failures, which is crucial for maintaining code quality. It's great to see the attention to detail in ensuring that all formatting checks pass. Please ensure that similar formatting checks are consistently applied in future contributions. Thank you for your efforts in keeping the codebase clean!

@retenta-bot retenta-bot Bot changed the title fix(ci): resolve prettier code formatting style discrepancies fix(ci): resolve Prettier formatting discrepancies in multiple files Aug 6, 2026

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.

Pull request overview

This PR aims to resolve CI npm run format:check failures by applying Prettier formatting fixes across a couple of TS/TSX files and a documentation file.

Changes:

  • Re-formatted TypeScript union types for readability/Prettier compliance.
  • Re-formatted React/TSX code blocks in InteractiveViewer.tsx to match Prettier output.
  • Updated docs/customization.md table formatting (currently introduces a malformed table row).

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
types/achievements.ts Prettier-driven formatting of union type definition.
docs/customization.md Attempts to adjust markdown table formatting, but currently breaks the table separator row.
components/InteractiveViewer.tsx Prettier formatting of Array.from and map render blocks.
components/burnout/BurnoutRiskTable.tsx Prettier-driven formatting of union type definition.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/customization.md
@github-actions github-actions Bot added the status:blocked This PR is blocked due to a failing CI check. label Aug 6, 2026
@github-actions

github-actions Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

🚨 Hey @nishtha-agarwal-211, 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. 💪

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

Labels

status:blocked This PR is blocked due to a failing CI check.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: Fix Prettier code formatting in UI components

2 participants