Skip to content

refactor(ui): adopt Badge component consistently - #163

Merged
RhysSullivan merged 2 commits into
UsefulSoftwareCo:mainfrom
mrzmyr:ui/badge-consistency
Apr 10, 2026
Merged

refactor(ui): adopt Badge component consistently#163
RhysSullivan merged 2 commits into
UsefulSoftwareCo:mainfrom
mrzmyr:ui/badge-consistency

Conversation

@mrzmyr

@mrzmyr mrzmyr commented Apr 10, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Replaces ad-hoc <span class="rounded ..."> pill markup with the shared <Badge> component across billing, team, source-detail, and tools pages.
  • Documents the preference in AGENTS.md so new code reaches for <Badge> / <CardStack> instead of reinventing them inline.

Pure refactor — visual output is equivalent, the styling is just routed through the shared component so it stays consistent when Badge changes.

Changes

  • AGENTS.md
  • apps/cloud/src/routes/billing.tsx
  • apps/cloud/src/routes/billing_.plans.tsx
  • apps/cloud/src/routes/team.tsx
  • packages/react/src/pages/source-detail.tsx
  • packages/react/src/pages/tools.tsx

mrzmyr and others added 2 commits April 10, 2026 21:19
Replaces hand-rolled `<span class="rounded ...">` pill markup with
the shared `<Badge>` component in billing, team, source detail, and
tools pages. Also documents the preference in AGENTS.md so new code
reaches for `<Badge>` and `<CardStack>` instead of reinventing them.

No behaviour change — the visual output is equivalent to the
previous inline styles, just routed through the shared component so
the styling stays consistent across the app.
@RhysSullivan
RhysSullivan merged commit 060e9ff into UsefulSoftwareCo:main Apr 10, 2026
RhysSullivan added a commit that referenced this pull request May 31, 2026
* refactor(ui): adopt Badge component consistently

Replaces hand-rolled `<span class="rounded ...">` pill markup with
the shared `<Badge>` component in billing, team, source detail, and
tools pages. Also documents the preference in AGENTS.md so new code
reaches for `<Badge>` and `<CardStack>` instead of reinventing them.

No behaviour change — the visual output is equivalent to the
previous inline styles, just routed through the shared component so
the styling stays consistent across the app.

* Update AGENTS.md

---------

Co-authored-by: Rhys Sullivan <39114868+RhysSullivan@users.noreply.github.com>
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