Skip to content

chore(template): reformat app and component content files#308

Merged
codebycarson merged 2 commits intomainfrom
pr/template-formatting
Mar 9, 2026
Merged

chore(template): reformat app and component content files#308
codebycarson merged 2 commits intomainfrom
pr/template-formatting

Conversation

@codebycarson
Copy link
Copy Markdown
Collaborator

This pull request standardizes string formatting across the codebase by replacing single quotes with double quotes and updating object property values to use double quotes. It also reorganizes import statements for consistency and readability. The changes impact multiple files in the Next.js template, including component files and resource definitions.

String formatting standardization:

Import and code organization:

  • Reordered import statements to group external library imports before local imports, improving readability and maintainability in files like layout.tsx, default/index.tsx, landing/index.tsx, and resources/page.tsx. [1] [2] [3] [4]

UI consistency improvements:

  • Updated inline style objects in badge components and link styles to use double quotes for color and background values, ensuring consistent formatting across UI elements. [1] [2] [3] [4] [5]

Resource definitions consistency:

  • Changed all resource and social link definitions in resources.ts to use double quotes for titles, descriptions, hrefs, and color values, aligning with the new formatting standard.

Notification and error message updates:

  • Standardized notification and error messages to use double quotes in default/index.tsx, improving code consistency and making string search and refactoring easier. [1] [2] [3]

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Mar 9, 2026

⚠️ No Changeset found

Latest commit: e6f7231

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@codebycarson codebycarson self-assigned this Mar 9, 2026
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Mar 9, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.69%. Comparing base (184d715) to head (e6f7231).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #308   +/-   ##
=======================================
  Coverage   79.69%   79.69%           
=======================================
  Files          83       83           
  Lines        1305     1305           
  Branches      158      187   +29     
=======================================
  Hits         1040     1040           
+ Misses        265      259    -6     
- Partials        0        6    +6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

This comment was marked as resolved.

Apply code-style normalization across the Next template: convert double quotes to single quotes, adjust import ordering and minor spacing/quote fixes in various app pages and components. Affected files under packages/create-sei/templates/next-template: src/app/development/page.tsx, src/app/layout.tsx, src/app/page.tsx, src/app/resources/page.tsx, src/app/resources/resources.ts, src/components/default/index.tsx, and src/components/landing/index.tsx. No functional logic changes.
@codebycarson codebycarson marked this pull request as ready for review March 9, 2026 19:03
@codebycarson codebycarson requested a review from besated March 9, 2026 19:03
@codebycarson codebycarson merged commit 2d59021 into main Mar 9, 2026
3 checks passed
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.

4 participants