Skip to content

Show largest holdings on the dashboard - #58

Merged
maximecd merged 2 commits into
mainfrom
maximecd/dashboard-add-section-below
Sep 2, 2026
Merged

maximecd merged 2 commits into
mainfrom
maximecd/dashboard-add-section-below

Conversation

@maximecd

@maximecd maximecd commented Sep 2, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds a holdings list under the Total assets and Allocation cards so you can see which positions moved over the selected period.
  • The engine dashboard now returns current holdings (same-asset across accounts, sized descending) with snapshot history; the UI shows value, period change, and a sparkline.
  • French title is "Ma performance"; English is "Largest holdings" because the figures are period value change, not investment return.

Test plan

  • Open the dashboard with a populated vault and confirm the new section sits under the two top cards.
  • Check the largest positions show name, ticker, current value, and the same period change as the Total assets range (default 1M).
  • Switch 7D / 1M / All and confirm each row’s change and sparkline follow the selected range, including "Not enough history" when a holding has fewer than two points.
  • Confirm unpriced, zero, and negative holdings are omitted.
  • Empty vault still shows the Add assets empty state with no holdings section.
  • Check French copy: section title "Ma performance".

Made with Cursor

maximecd and others added 2 commits September 2, 2026 11:34
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@maximecd
maximecd merged commit ba64614 into main Sep 2, 2026
3 checks passed
@maximecd
maximecd deleted the maximecd/dashboard-add-section-below branch October 27, 2026 14:35
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.

1 participant