Skip to content

[963] refactor: Move inline style declarations in BridgeNotesPanel to CSS classes - #996

Merged
Mosas2000 merged 1 commit into
StellaBridge:mainfrom
ToryMic:fix/963-healthscorecard-inline-styles
Jul 29, 2026
Merged

[963] refactor: Move inline style declarations in BridgeNotesPanel to CSS classes#996
Mosas2000 merged 1 commit into
StellaBridge:mainfrom
ToryMic:fix/963-healthscorecard-inline-styles

Conversation

@ToryMic

@ToryMic ToryMic commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Closes #963


Closes 963

What

Moved the HealthScoreCard status styling from inline background-color declarations to Tailwind class helpers while keeping the existing progress width behavior.

Why

This keeps the bridge health UI aligned with the repo's utility-class styling pattern and avoids inline color styling in the card.

How tested

  • npx eslint --fix frontend/src/components/HealthScoreCard.tsx — passed
  • cd frontend && npm run lint — failed in untouched test files (HealthScoreCard.test.tsx, Analytics.test.tsx)
  • cd frontend && npm test — failed before execution due missing vitest-axe/matchers in src/test/setup.ts
  • cd frontend && npm run build — failed in untouched store files and missing workspace modules

Caveats

Repo-wide frontend lint/test/build failures are pre-existing and unrelated to this refactor; the changed file itself was limited to frontend/src/components/HealthScoreCard.tsx.

@drips-wave

drips-wave Bot commented Jul 29, 2026

Copy link
Copy Markdown

@ToryMic Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Mosas2000
Mosas2000 merged commit e106a60 into StellaBridge:main Jul 29, 2026
15 checks passed
@Mosas2000

Copy link
Copy Markdown
Contributor

Great work

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.

refactor: Move inline style declarations in BridgeNotesPanel to CSS classes

2 participants