Skip to content

style: fix prettier formatting in 6 files#143

Merged
garrity-miepub merged 1 commit into
mainfrom
fix/prettier-formatting
Mar 19, 2026
Merged

style: fix prettier formatting in 6 files#143
garrity-miepub merged 1 commit into
mainfrom
fix/prettier-formatting

Conversation

@garrity-miepub

Copy link
Copy Markdown
Collaborator

Summary

Fixes the CI pnpm format check failure caused by 6 files with Prettier code style issues.

Files Fixed

File Type
src/components/AI/AIMessage.tsx Component
src/components/Colors/Colors.stories.tsx Story
src/components/WebChartReportViewer/WebChartReportViewer.tsx Component
src/styles/base.css Styles
src/styles/init.css Styles
src/test/test-utils.tsx Test utility

What Changed

All changes are whitespace/formatting only — no logic changes. Applied prettier --write to the 6 files flagged by prettier --check "src/**/*.{ts,tsx,css}".

Verification

  • pnpm format — passes (all files use Prettier code style)
  • pnpm lint — passes (no ESLint issues)

Run prettier --write on files flagged by CI format check:
- src/components/AI/AIMessage.tsx
- src/components/Colors/Colors.stories.tsx
- src/components/WebChartReportViewer/WebChartReportViewer.tsx
- src/styles/base.css
- src/styles/init.css
- src/test/test-utils.tsx
Copilot AI review requested due to automatic review settings March 19, 2026 20:28
@garrity-miepub

Copy link
Copy Markdown
Collaborator Author

Ran prettier --write on all 6 files flagged by the CI format check. No logic changes — purely whitespace/formatting fixes.

Verified locally:

  • pnpm format ✅ — "All matched files use Prettier code style!"
  • pnpm lint ✅ — no ESLint issues

Files fixed:

  • src/components/AI/AIMessage.tsx
  • src/components/Colors/Colors.stories.tsx
  • src/components/WebChartReportViewer/WebChartReportViewer.tsx
  • src/styles/base.css
  • src/styles/init.css
  • src/test/test-utils.tsx

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying ui with  Cloudflare Pages  Cloudflare Pages

Latest commit: c21ebd0
Status: ✅  Deploy successful!
Preview URL: https://75ba766f.ui-6d0.pages.dev
Branch Preview URL: https://fix-prettier-formatting.ui-6d0.pages.dev

View logs

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 resolves the CI pnpm format failure by applying Prettier formatting updates across a small set of TSX and CSS files, aligning them with the repo’s established code style.

Changes:

  • Reformatted TS/TSX code (multi-line imports, function signatures, and JSX prop/layout formatting) to satisfy Prettier.
  • Reformatted CSS custom property declarations (multi-line var(...) formatting) in shared style entrypoints.
  • Adjusted Storybook story layout indentation/structure to match Prettier output.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/components/AI/AIMessage.tsx Prettier formatting for JSX props/className composition.
src/components/Colors/Colors.stories.tsx Prettier formatting for helper calls and JSX indentation in the story page.
src/components/WebChartReportViewer/WebChartReportViewer.tsx Prettier formatting for multi-line imports and function calls.
src/styles/base.css Prettier formatting for multi-line CSS var(...) usage in theme tokens.
src/styles/init.css Prettier formatting for multi-line CSS var(...) usage in quick-start theme tokens.
src/test/test-utils.tsx Prettier formatting for helper render function signatures.

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

@garrity-miepub garrity-miepub merged commit d96c9cc into main Mar 19, 2026
14 checks passed
@garrity-miepub garrity-miepub deleted the fix/prettier-formatting branch March 19, 2026 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants