Files
botsmann/types
g-butandClaude Opus 4.5 1f9a6a4973 refactor: add governance shared components and utilities
- Create types/governance.ts with centralized type definitions
  (TaxPayment, CitizenData, AgencyData, etc.)
- Add lib/governance/utils.ts with shared utility functions
  (formatCurrency, getTransparencyScoreClasses, getStatusBadgeClasses)
- Create reusable governance components:
  - ProfileHeader: shared header component for profile pages
  - ProfileTabs: reusable tab navigation component
  - InfoBox: configurable info/warning/success/error boxes

These shared components and utilities support breaking down large
governance components (CitizenProfile.tsx 650 lines, AgencyProfile.tsx
437 lines) into smaller, more maintainable pieces while following
DRY principles.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-11 21:48:11 +01:00
..