Stripe-style UI overhaul + Expenses feed with month grouping #15
Reference in New Issue
Block a user
No description provided.
Delete Branch "stripe-ui"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Title
Stripe-style UI overhaul + Expenses feed with month grouping
Summary
Rework the khata-ui frontend to a Stripe-grade design system and add a
rich, monthly-grouped Expenses experience driven by react-openapi's
shared, spec-configured field renderers.
Highlights
Design overhaul
scale, streamlined surfaces/inputs/feedback tokens
richer empty states, breadcrumbed fetch-request flows
Expenses page
to the selected month
Shared react-openapi fields
CurrencyField+formatCurrency(cached Intl, sign-colored,sign-less amounts; form editing reuses NumberField)
resourceConfig.fieldTypesoverride mechanism (amount → currency)applyDisplayFormat — zero custom field renderers
resolveMediaUrlresolves relative/uploads/...against the APIbase for every image field (Admin + Expenses logos)
Fixes
cuts slow-click INP and DOM-nesting warnings
crashed Box/createTheme at runtime (v5/v7 mix)
Commits (10)
9808a1fdesign overhaul + expenses paged6856a5fix expenses list performance + dom nesting3dd833ashared currency field + expenses rendered from react-openapi fieldse8c585bfix expenses grouping to parse occurred_at as DD-MM-YYYY strictlycc940eeexpense list: split month totals, sticky headers + month pill47d799fexpense list: clickable month pill + fix scroll-to-month537aef9resolve relative media URLs against the API base in react-openapi8e9a13dexpense list: replace accordion with flat Stripe-style rows62dd06cexpense list: month accordions + month-year selector; drop unused x-data-grid806bd42dropped amount sign from CurrencyField.tsx