Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions src/viewer/ui/AdpSummary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export const AdpSummary = memo(function AdpSummary({ store, hidden, today }: { s

<div className="gap-4 md:columns-2 lg:gap-6 xl:columns-1">
{/* the right column in the owner's order (2026-12-01, 2026-12-03): Fund, Contributions, Allocation by tax,
Allocation by fund, Dividends and earnings. The fund held now, and its official documents (owner: "move plate
Dividends and earnings, Allocation by fund. The fund held now, and its official documents (owner: "move plate
fund on top"; its facts "is not allocation"); (owner: "official info from official site of that fund") */}
{holdings.map((h) => {
const info = fundInfo(h.fund);
Expand Down Expand Up @@ -180,14 +180,8 @@ export const AdpSummary = memo(function AdpSummary({ store, hidden, today }: { s
<Allocation id="adp-tax" slices={taxes} />
</Card>

{/* the funds held now as an allocation, a donut or bars like Fidelity's allocation cards (owner 2026-12-01: "rename
Fund to allocation ... table and donut view") */}
<Card id="adp-allocation" pulse={mark(slices)} title={t('Fund allocation')} tools={<ViewSwitch id="adp-allocation" />} expand={<AllocationBig id="adp-allocation" slices={slices} />}>
<Allocation id="adp-allocation" slices={slices} />
</Card>

{/* the fund's dividends and earnings, reinvested in it (the fund pays no cash), the last card
(owner 2026-12-03: "move dividends to bottom") */}
{/* the fund's dividends and earnings, reinvested in it (the fund pays no cash), above Fund
allocation (owner 2026-12-03: "move dividends to bottom", then "move Fund alloc. to the bottom") */}
<Card id="adp-income" pulse={mark(Array.from(sums.values()).map((v) => v.dividends))} title={t('Dividends and earnings')} lead={chips('adpIncomeSpans')}
expand={<AdpHistoryTable rows={incomeRows} resetKey={hidden.join()} name="adp-income-history" head={(shown) => <HistoryTotals shown={shown} />} />}>
<div className="flex flex-wrap justify-between gap-x-6 gap-y-3" data-adp-income>
Expand All @@ -197,6 +191,12 @@ export const AdpSummary = memo(function AdpSummary({ store, hidden, today }: { s
</div>
</Card>

{/* the funds held now as an allocation, a donut or bars like Fidelity's allocation cards (owner 2026-12-01: "rename
Fund to allocation ... table and donut view") */}
<Card id="adp-allocation" pulse={mark(slices)} title={t('Fund allocation')} tools={<ViewSwitch id="adp-allocation" />} expand={<AllocationBig id="adp-allocation" slices={slices} />}>
<Allocation id="adp-allocation" slices={slices} />
</Card>

</div>
</div>
);
Expand Down