style: fix prettier formatting in 6 files#143
Merged
Conversation
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
Collaborator
Author
|
Ran Verified locally:
Files fixed:
|
Deploying ui with
|
| 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 |
Contributor
There was a problem hiding this comment.
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes the CI
pnpm formatcheck failure caused by 6 files with Prettier code style issues.Files Fixed
src/components/AI/AIMessage.tsxsrc/components/Colors/Colors.stories.tsxsrc/components/WebChartReportViewer/WebChartReportViewer.tsxsrc/styles/base.csssrc/styles/init.csssrc/test/test-utils.tsxWhat Changed
All changes are whitespace/formatting only — no logic changes. Applied
prettier --writeto the 6 files flagged byprettier --check "src/**/*.{ts,tsx,css}".Verification
pnpm format— passes (all files use Prettier code style)pnpm lint— passes (no ESLint issues)