Skip to content

2026 04 18 Mybetterrates Component Rename

Date: 2026-04-18 Scope: Monorepo — Template site

Renamed MyBetterRatesEntityMyBetterRates to align with SmartDebt entity component naming pattern.

  • MyBetterRatesEntity.astroMyBetterRates.astro
  • variant prop → entity prop; hasVarianthasEntity; .mbr-variant-text.mbr-entity-text
  • MyBetterRatesEntityShowcase.astroMyBetterRatesShowcase.astro
  • components.astro — import + component tag
  • mbr-brand.astro — import + 9 usages
  • logo-test.astro — import + all variant=entity=
  • Header.astro — import + component tag
  • docs.astro — text references
  • CLAUDE.md (monorepo) — gotcha note
  • branding.spec.ts — test description string
  • Build: clean (25 pages, 0 errors)
  • E2E chromium: 23/28 passed; all 8 MyBetterRates tests green
  • 2 pre-existing failures unrelated to this change (logo snapshot mismatch, SmartDebt hidden-text test)