Skip to content

feat: add Dividends column to holdings table#692

Open
kwaich wants to merge 2 commits intoafadil:mainfrom
kwaich:feat/holdings-dividends-column
Open

feat: add Dividends column to holdings table#692
kwaich wants to merge 2 commits intoafadil:mainfrom
kwaich:feat/holdings-dividends-column

Conversation

@kwaich
Copy link
Contributor

@kwaich kwaich commented Mar 8, 2026

Description

Adds a Dividends column to the holdings table showing total lifetime income earned per holding. The column is hidden by default and can be enabled via the column visibility toggle (consistent with Asset Type and Book Cost columns).

Implementation details:

  • Fetches income summary via the existing getIncomeSummary query (INCOME_SUMMARY query key) — no new backend changes
  • Looks up each holding by asset ID in IncomeSummary.byAsset (TOTAL period)
  • Respects balance privacy setting and is sortable

Checklist

By submitting this PR, I agree to the
CLA.

kwaich added 2 commits March 9, 2026 01:16
Add an optional Dividends column to the holdings table that shows
total income per holding sourced from the income summary (TOTAL period).
Column is hidden by default and togglable via the column visibility menu.
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