Skip to content

Commit 78a599d

Browse files
daggerokclaude
andcommitted
Rename catalog Frequency column and fix its position
Header was labeled "Dividend Frequency" and placed between Expense and Dividend Yield; the shared catalog contract calls it "Frequency", placed after SEC Yield and before YTD Return. Reordered the header row, body row cells, and CSV/TXT export to match, and merged the duplicate "Frequency" tooltip entry (an unused generic one was shadowing/being shadowed by the real one). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
1 parent 8fa9908 commit 78a599d

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

‎app.tsx‎

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,6 @@ const COLUMN_TOOLTIPS: Record<string, string> = {
147147
Type: 'Category — the asset-class part of the official WisdomTree grouping (see the Category column). Same source as the category tabs.',
148148
Expense: 'Gross Expense Ratio — Total annual fund operating expenses as a % of assets.',
149149
'Dividend Yield': 'Dividend Yield — the trailing-12-month yield published in the WisdomTree catalog when present; otherwise indicated (latest distribution per share x payments per year / market price) from Yahoo dividend history.',
150-
'Dividend Frequency': 'Dividend Frequency — sortable payment cadence from the Yahoo dividend history: 01 - Monthly, 04 - Quarterly, 06 - Semi-annually, 12 - Annually; 00 denotes unavailable/unknown and 99 denotes irregular.',
151150
'SEC Yield': 'SEC Yield (30-Day) — The 30-day SEC yield as published on the official WisdomTree product page; "—" when that page does not publish one.',
152151
'YTD Return': 'YTD Return — Market-price total return since the start of the year, computed from adjusted closes (Yahoo). Not an official NAV return.',
153152
'TR 1Y': 'TR 1Y (1-Year Total Return) — Official WisdomTree Market Price Return where published, otherwise adjusted market-price return from Yahoo.',
@@ -171,7 +170,7 @@ const COLUMN_TOOLTIPS: Record<string, string> = {
171170
Holdings: 'Rows in the fund\'s latest daily holdings file.',
172171
History: 'Rows in the fund\'s NAV history file.',
173172
'As Of': 'NAV / AUM as-of date.',
174-
Frequency: 'Distribution frequency (Monthly, Quarterly, ...).',
173+
Frequency: 'Frequency — sortable payment cadence from the Yahoo dividend history: 01 - Monthly, 04 - Quarterly, 06 - Semi-annually, 12 - Annually; 00 denotes unavailable/unknown and 99 denotes irregular.',
175174
'Ex-Date': 'Ex-dividend date of the latest distribution.',
176175
Dividend: 'Latest dividend per share.',
177176
Coupon: 'Bond annual coupon rate (%).',
@@ -896,9 +895,9 @@ function renderFundsTable(): void {
896895
${sortHeader('NAV', 'navValue', true)}
897896
${sortHeader('Net Assets', 'aumValue', true)}
898897
${sortHeader('Expense', 'terValue', true)}
899-
${sortHeader('Dividend Frequency', 'dividendFrequency')}
900898
${sortHeader('Dividend Yield', 'dividendYield', true)}
901899
${sortHeader('SEC Yield', 'secYield', true)}
900+
${sortHeader('Frequency', 'dividendFrequency')}
902901
${sortHeader('YTD Return', 'ytd', true)}
903902
${sortHeader('TR 1Y', 'yr1', true)}
904903
${sortHeader('TR 3Y', 'tr3y', true)}
@@ -938,9 +937,9 @@ function renderFundsTable(): void {
938937
<td class="py-2.5 px-4 text-right font-mono text-slate-700 dark:text-slate-300">${escapeHtml(fund.nav || '—')}</td>
939938
<td class="py-2.5 px-4 text-right font-mono text-slate-700 dark:text-slate-300">${formatMoney(fund.aumValue)}</td>
940939
<td class="py-2.5 px-4 text-right font-mono text-slate-700 dark:text-slate-300">${escapeHtml(fund.ter || '—')}</td>
941-
<td class="py-2.5 px-4 text-slate-700 dark:text-slate-300">${escapeHtml(fund.dividendFrequency || '—')}</td>
942940
<td class="py-2.5 px-4 text-right font-mono text-slate-700 dark:text-slate-300">${formatPercent(fund.dividendYield)}</td>
943941
<td class="py-2.5 px-4 text-right font-mono text-slate-700 dark:text-slate-300">${formatPercent(fund.secYield)}</td>
942+
<td class="py-2.5 px-4 text-slate-700 dark:text-slate-300">${escapeHtml(fund.dividendFrequency || '—')}</td>
944943
<td class="py-2.5 px-4 text-right font-mono text-slate-700 dark:text-slate-300">${formatPercent(fund.ytd)}</td>
945944
<td class="py-2.5 px-4 text-right font-mono text-slate-700 dark:text-slate-300">${formatPercent(fund.yr1)}</td>
946945
<td class="py-2.5 px-4 text-right font-mono text-slate-700 dark:text-slate-300">${formatPercent(fund.tr3y)}</td>
@@ -1513,7 +1512,7 @@ function currentExportRows(): { headers: string[]; rows: string[][]; scope: stri
15131512
}
15141513

15151514
return {
1516-
headers: ['Selected', 'Ticker', 'Fund Name', 'Type', 'NAV', 'Net Assets ($)', 'Expense (%)', 'Dividend Frequency', 'Dividend Yield (%)', 'SEC Yield (%)', 'YTD Return (%)', 'TR 1Y (%)', 'TR 3Y (%)', 'TR 5Y (%)', 'TR 10Y (%)', 'CAGR 3Y (%)', 'CAGR 5Y (%)', 'CAGR 10Y (%)', 'SI Ann. (%)', 'Return As Of', 'Inception', 'Holdings', 'History', 'As Of'],
1515+
headers: ['Selected', 'Ticker', 'Fund Name', 'Type', 'NAV', 'Net Assets ($)', 'Expense (%)', 'Dividend Yield (%)', 'SEC Yield (%)', 'Frequency', 'YTD Return (%)', 'TR 1Y (%)', 'TR 3Y (%)', 'TR 5Y (%)', 'TR 10Y (%)', 'CAGR 3Y (%)', 'CAGR 5Y (%)', 'CAGR 10Y (%)', 'SI Ann. (%)', 'Return As Of', 'Inception', 'Holdings', 'History', 'As Of'],
15171516
rows: filterRows(visibleFunds()).map(fund => [
15181517
state.selected.has(fund.ticker) ? 'yes' : 'no',
15191518
fund.ticker,
@@ -1522,9 +1521,9 @@ function currentExportRows(): { headers: string[]; rows: string[][]; scope: stri
15221521
fund.nav || '',
15231522
numberCell(fund.aumValue),
15241523
numberCell(fund.terValue),
1525-
fund.dividendFrequency || '',
15261524
numberCell(fund.dividendYield),
15271525
numberCell(fund.secYield),
1526+
fund.dividendFrequency || '',
15281527
numberCell(fund.ytd),
15291528
numberCell(fund.yr1),
15301529
numberCell(fund.tr3y),

0 commit comments

Comments
 (0)