Skip to content

Polish FR locale, visual hierarchy, and DCA UX - #12

Merged
PiLep merged 3 commits into
mainfrom
cursor/polish-fr-dca-ux-afc4
Jul 28, 2026
Merged

Polish FR locale, visual hierarchy, and DCA UX#12
PiLep merged 3 commits into
mainfrom
cursor/polish-fr-dca-ux-afc4

Conversation

@PiLep

@PiLep PiLep commented Jul 28, 2026

Copy link
Copy Markdown
Owner

Summary

Polish and improve the DCA portfolio app for a French, mobile-first daily-review workflow.

Part 1 — Corrections

  • Locale FR: all UI/dynamic copy in French (signals, badges, filters, asset detail, add dialog); formatCurrency / formatDate / formatDateTime / formatShares centralized on fr-FR (30 378,27 €, ≈ 111 parts)
  • Visual hierarchy: month vs since-purchase badges differentiated; DCA daily amount separated from a distinct Orienter CTA; meta line no longer shouty uppercase

Part 2 — Initiatives

  • CSV freshness chip (« Importé il y a X j »)
  • Regime score breakdown (MM200 / biais haussier / crypto)
  • Long-term DCA projection 5 / 10 years (capital invested only)
  • ~90-day portfolio trend sparkline
  • Polished empty states (portfolio, signals, DCA, journal)
  • Signaux filters in FR (Acheter / Vendre / Neutre)

Intentionally skipped

  • Compound-return projections (too speculative)
  • Persisted NAV history (no ledger; directional series is enough)
  • Stripping the multi-indicator engine (behavior unchanged; MM200 framed as primary)

Test plan

  • npm test (60 tests)
  • tsc --noEmit
  • CI test + security green
  • Smoke on 390px: portfolio hero badges + Orienter, regime breakdown, CSV chip, DCA 5/10y block
Open in Web Open in Cursor 

cursoragent and others added 2 commits July 28, 2026 16:54
Centralize fr-FR formatting, translate dynamic signals and UI copy,
clarify month vs since-purchase badges and the Orienter CTA, and add
CSV freshness, regime score breakdown, 5/10y DCA projection, portfolio
trend sparkline, and clearer empty states.

Co-authored-by: Pile <pierre@kanta.fr>
Keep the add-position dialog consistent with the fr-FR locale pass.

Co-authored-by: Pile <pierre@kanta.fr>
@cursor
cursor Bot marked this pull request as ready for review July 28, 2026 16:58
Co-authored-by: Pile <pierre@kanta.fr>
@PiLep
PiLep merged commit da59f8a into main Jul 28, 2026
3 checks passed
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