[PR #6661] apply tabular number styles more consistently #6656

Closed
opened 2026-02-28 21:31:08 -06:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/actualbudget/actual/pull/6661

State: closed
Merged: Yes


Closes https://github.com/actualbudget/actual/issues/6654

Found these mainly through searching for format('financial'). I think I've got a lot of them but if you spot any let me know and I'll add them in. I've split down by commit if it's easier to review that way.

I've clicked through every component I changed, and the app looks far more consistent. I wasn't too sure at first but I now quite like the way the numbers are more defined and monospaced now.

cc @StephenBrown2

Bundle Stats

Bundle Files count Total bundle size % Changed
desktop-client 28 14.49 MB → 14.5 MB (+7.8 kB) +0.05%
loot-core 1 5.83 MB 0%
api 1 4.37 MB 0%
View detailed bundle stats

desktop-client

Total

Files count Total bundle size % Changed
28 14.49 MB → 14.5 MB (+7.8 kB) +0.05%
Changeset
File Δ Size
src/components/FinancialText.tsx 🆕 +775 B 0 B → 775 B
src/components/spreadsheet/CellValue.tsx 📈 +1.14 kB (+34.28%) 3.33 kB → 4.48 kB
src/components/reports/Change.tsx 📈 +285 B (+31.91%) 893 B → 1.15 kB
src/components/budget/goals/editor/WeekAutomationReadOnly.tsx 📈 +185 B (+29.65%) 624 B → 809 B
src/components/budget/goals/editor/SimpleAutomationReadOnly.tsx 📈 +184 B (+29.44%) 625 B → 809 B
src/components/reports/graphs/CashFlowGraph.tsx 📈 +636 B (+7.08%) 8.77 kB → 9.39 kB
src/components/util/FinancialInput.tsx 📈 +238 B (+5.58%) 4.17 kB → 4.4 kB
src/components/reports/spreadsheets/cash-flow-spreadsheet.tsx 📈 +291 B (+4.58%) 6.21 kB → 6.5 kB
src/components/reports/graphs/CrossoverGraph.tsx 📈 +272 B (+3.88%) 6.84 kB → 7.1 kB
src/components/reports/graphs/renderCustomLabel.tsx 📈 +19 B (+3.87%) 491 B → 510 B
src/components/budget/envelope/budgetsummary/ToBudgetAmount.tsx 📈 +159 B (+3.84%) 4.05 kB → 4.2 kB
src/components/reports/graphs/NetWorthGraph.tsx 📈 +223 B (+3.19%) 6.83 kB → 7.05 kB
src/components/reports/graphs/LineGraph.tsx 📈 +267 B (+2.94%) 8.86 kB → 9.12 kB
src/components/reports/graphs/StackedBarGraph.tsx 📈 +267 B (+2.75%) 9.48 kB → 9.74 kB
src/components/reports/graphs/BarGraph.tsx 📈 +291 B (+2.59%) 10.97 kB → 11.25 kB
src/components/reports/graphs/AreaGraph.tsx 📈 +291 B (+2.40%) 11.86 kB → 12.14 kB
src/components/reports/graphs/SpendingGraph.tsx 📈 +204 B (+2.28%) 8.75 kB → 8.95 kB
src/components/reports/reports/CalendarCard.tsx 📈 +272 B (+2.15%) 12.38 kB → 12.65 kB
src/components/reports/graphs/tableGraph/ReportTableRow.tsx 📈 +261 B (+1.89%) 13.47 kB → 13.73 kB
src/components/autocomplete/CategoryAutocomplete.tsx 📈 +326 B (+1.88%) 16.94 kB → 17.25 kB
src/components/rules/Value.tsx 📈 +83 B (+1.80%) 4.51 kB → 4.59 kB
src/components/reports/graphs/CalendarGraph.tsx 📈 +136 B (+1.28%) 10.34 kB → 10.48 kB
src/components/reports/reports/Calendar.tsx 📈 +272 B (+0.93%) 28.71 kB → 28.98 kB
src/components/mobile/budget/BudgetPage.tsx 📈 +357 B (+0.87%) 40.21 kB → 40.56 kB
src/components/reports/reports/SpendingCard.tsx 📈 +68 B (+0.84%) 7.94 kB → 8.01 kB
src/components/reports/reports/NetWorthCard.tsx 📈 +68 B (+0.79%) 8.44 kB → 8.51 kB
src/components/reports/reports/Crossover.tsx 📈 +244 B (+0.67%) 35.7 kB → 35.94 kB
src/components/reports/reports/NetWorth.tsx 📈 +68 B (+0.62%) 10.75 kB → 10.81 kB
src/components/util/AmountInput.tsx 📈 +41 B (+0.59%) 6.83 kB → 6.87 kB
src/components/modals/SelectLinkedAccountsModal.tsx 📈 +136 B (+0.48%) 27.57 kB → 27.7 kB
src/components/budget/envelope/CoverMenu.tsx 📈 +22 B (+0.43%) 5.03 kB → 5.05 kB
src/components/reports/ReportSummary.tsx 📈 +14 B (+0.39%) 3.52 kB → 3.53 kB
src/components/transactions/SimpleTransactionsTable.tsx 📈 +36 B (+0.39%) 9.05 kB → 9.09 kB
src/components/reports/SummaryNumber.tsx 📈 +7 B (+0.31%) 2.21 kB → 2.22 kB
src/components/reports/graphs/DonutGraph.tsx 📈 +38 B (+0.27%) 13.93 kB → 13.96 kB
src/components/reports/reports/Summary.tsx 📈 +68 B (+0.24%) 27.22 kB → 27.29 kB
src/components/reports/reports/CashFlow.tsx 📈 +21 B (+0.23%) 9.04 kB → 9.06 kB
src/components/reports/reports/CashFlowCard.tsx 📈 +19 B (+0.16%) 11.26 kB → 11.28 kB
src/components/rules/RuleEditor.tsx 📈 +68 B (+0.13%) 49.36 kB → 49.43 kB
src/components/accounts/Balance.tsx 📈 +9 B (+0.08%) 11.2 kB → 11.21 kB
src/components/schedules/SchedulesTable.tsx 📈 +7 B (+0.03%) 19.8 kB → 19.8 kB
src/components/reports/reports/CustomReport.tsx 📈 +7 B (+0.03%) 24.89 kB → 24.89 kB
src/components/budget/tracking/budgetsummary/Saved.tsx 📉 -419 B (-7.48%) 5.47 kB → 5.06 kB
View detailed bundle breakdown

Added
No assets were added

Removed
No assets were removed

Bigger

Asset File Size % Changed
static/js/ReportRouter.js 1.13 MB → 1.13 MB (+4.5 kB) +0.39%
static/js/index.js 9.24 MB → 9.24 MB (+2.94 kB) +0.03%
static/js/narrow.js 639.7 kB → 640.05 kB (+357 B) +0.05%
static/js/wide.js 159.95 kB → 159.96 kB (+9 B) +0.01%

Smaller
No assets were smaller

Unchanged

Asset File Size % Changed
static/js/indexeddb-main-thread-worker-e59fee74.js 12.94 kB 0%
static/js/workbox-window.prod.es5.js 5.64 kB 0%
static/js/da.js 107.03 kB 0%
static/js/de.js 172.31 kB 0%
static/js/en-GB.js 7.24 kB 0%
static/js/en.js 159.21 kB 0%
static/js/es.js 173.04 kB 0%
static/js/fr.js 178.56 kB 0%
static/js/it.js 173.46 kB 0%
static/js/nb-NO.js 158.85 kB 0%
static/js/nl.js 103.57 kB 0%
static/js/pl.js 88.78 kB 0%
static/js/pt-BR.js 147.31 kB 0%
static/js/ru.js 108.05 kB 0%
static/js/sv.js 78.42 kB 0%
static/js/th.js 182.7 kB 0%
static/js/uk.js 217.6 kB 0%
static/js/resize-observer.js 18.37 kB 0%
static/js/BackgroundImage.js 120.54 kB 0%
static/js/TransactionList.js 101.58 kB 0%
static/js/AppliedFilters.js 9.71 kB 0%
static/js/usePayeeRuleCounts.js 11.79 kB 0%
static/js/useTransactionBatchActions.js 13.23 kB 0%
static/js/FormulaEditor.js 1.04 MB 0%

loot-core

Total

Files count Total bundle size % Changed
1 5.83 MB 0%
View detailed bundle breakdown

Added
No assets were added

Removed
No assets were removed

Bigger
No assets were bigger

Smaller
No assets were smaller

Unchanged

Asset File Size % Changed
kcab.worker.BrDUZwR6.js 5.83 MB 0%

api

Total

Files count Total bundle size % Changed
1 4.37 MB 0%
View detailed bundle breakdown

Added
No assets were added

Removed
No assets were removed

Bigger
No assets were bigger

Smaller
No assets were smaller

Unchanged

Asset File Size % Changed
bundle.api.js 4.37 MB 0%
**Original Pull Request:** https://github.com/actualbudget/actual/pull/6661 **State:** closed **Merged:** Yes --- Closes https://github.com/actualbudget/actual/issues/6654 Found these mainly through searching for `format('financial')`. I think I've got a lot of them but if you spot any let me know and I'll add them in. I've split down by commit if it's easier to review that way. I've clicked through every component I changed, and the app looks far more consistent. I wasn't too sure at first but I now quite like the way the numbers are more defined and monospaced now. cc @StephenBrown2 <!--- bundlestats-action-comment key:combined start ---> ### Bundle Stats Bundle | Files count | Total bundle size | % Changed ------ | ----------- | ----------------- | --------- desktop-client | 28 | 14.49 MB → 14.5 MB (+7.8 kB) | +0.05% loot-core | 1 | 5.83 MB | 0% api | 1 | 4.37 MB | 0% <details> <summary>View detailed bundle stats</summary> #### desktop-client **Total** Files count | Total bundle size | % Changed ----------- | ----------------- | --------- 28 | 14.49 MB → 14.5 MB (+7.8 kB) | +0.05% <details> <summary>Changeset</summary> File | Δ | Size ---- | - | ---- `src/components/FinancialText.tsx` | 🆕 +775 B | 0 B → 775 B `src/components/spreadsheet/CellValue.tsx` | 📈 +1.14 kB (+34.28%) | 3.33 kB → 4.48 kB `src/components/reports/Change.tsx` | 📈 +285 B (+31.91%) | 893 B → 1.15 kB `src/components/budget/goals/editor/WeekAutomationReadOnly.tsx` | 📈 +185 B (+29.65%) | 624 B → 809 B `src/components/budget/goals/editor/SimpleAutomationReadOnly.tsx` | 📈 +184 B (+29.44%) | 625 B → 809 B `src/components/reports/graphs/CashFlowGraph.tsx` | 📈 +636 B (+7.08%) | 8.77 kB → 9.39 kB `src/components/util/FinancialInput.tsx` | 📈 +238 B (+5.58%) | 4.17 kB → 4.4 kB `src/components/reports/spreadsheets/cash-flow-spreadsheet.tsx` | 📈 +291 B (+4.58%) | 6.21 kB → 6.5 kB `src/components/reports/graphs/CrossoverGraph.tsx` | 📈 +272 B (+3.88%) | 6.84 kB → 7.1 kB `src/components/reports/graphs/renderCustomLabel.tsx` | 📈 +19 B (+3.87%) | 491 B → 510 B `src/components/budget/envelope/budgetsummary/ToBudgetAmount.tsx` | 📈 +159 B (+3.84%) | 4.05 kB → 4.2 kB `src/components/reports/graphs/NetWorthGraph.tsx` | 📈 +223 B (+3.19%) | 6.83 kB → 7.05 kB `src/components/reports/graphs/LineGraph.tsx` | 📈 +267 B (+2.94%) | 8.86 kB → 9.12 kB `src/components/reports/graphs/StackedBarGraph.tsx` | 📈 +267 B (+2.75%) | 9.48 kB → 9.74 kB `src/components/reports/graphs/BarGraph.tsx` | 📈 +291 B (+2.59%) | 10.97 kB → 11.25 kB `src/components/reports/graphs/AreaGraph.tsx` | 📈 +291 B (+2.40%) | 11.86 kB → 12.14 kB `src/components/reports/graphs/SpendingGraph.tsx` | 📈 +204 B (+2.28%) | 8.75 kB → 8.95 kB `src/components/reports/reports/CalendarCard.tsx` | 📈 +272 B (+2.15%) | 12.38 kB → 12.65 kB `src/components/reports/graphs/tableGraph/ReportTableRow.tsx` | 📈 +261 B (+1.89%) | 13.47 kB → 13.73 kB `src/components/autocomplete/CategoryAutocomplete.tsx` | 📈 +326 B (+1.88%) | 16.94 kB → 17.25 kB `src/components/rules/Value.tsx` | 📈 +83 B (+1.80%) | 4.51 kB → 4.59 kB `src/components/reports/graphs/CalendarGraph.tsx` | 📈 +136 B (+1.28%) | 10.34 kB → 10.48 kB `src/components/reports/reports/Calendar.tsx` | 📈 +272 B (+0.93%) | 28.71 kB → 28.98 kB `src/components/mobile/budget/BudgetPage.tsx` | 📈 +357 B (+0.87%) | 40.21 kB → 40.56 kB `src/components/reports/reports/SpendingCard.tsx` | 📈 +68 B (+0.84%) | 7.94 kB → 8.01 kB `src/components/reports/reports/NetWorthCard.tsx` | 📈 +68 B (+0.79%) | 8.44 kB → 8.51 kB `src/components/reports/reports/Crossover.tsx` | 📈 +244 B (+0.67%) | 35.7 kB → 35.94 kB `src/components/reports/reports/NetWorth.tsx` | 📈 +68 B (+0.62%) | 10.75 kB → 10.81 kB `src/components/util/AmountInput.tsx` | 📈 +41 B (+0.59%) | 6.83 kB → 6.87 kB `src/components/modals/SelectLinkedAccountsModal.tsx` | 📈 +136 B (+0.48%) | 27.57 kB → 27.7 kB `src/components/budget/envelope/CoverMenu.tsx` | 📈 +22 B (+0.43%) | 5.03 kB → 5.05 kB `src/components/reports/ReportSummary.tsx` | 📈 +14 B (+0.39%) | 3.52 kB → 3.53 kB `src/components/transactions/SimpleTransactionsTable.tsx` | 📈 +36 B (+0.39%) | 9.05 kB → 9.09 kB `src/components/reports/SummaryNumber.tsx` | 📈 +7 B (+0.31%) | 2.21 kB → 2.22 kB `src/components/reports/graphs/DonutGraph.tsx` | 📈 +38 B (+0.27%) | 13.93 kB → 13.96 kB `src/components/reports/reports/Summary.tsx` | 📈 +68 B (+0.24%) | 27.22 kB → 27.29 kB `src/components/reports/reports/CashFlow.tsx` | 📈 +21 B (+0.23%) | 9.04 kB → 9.06 kB `src/components/reports/reports/CashFlowCard.tsx` | 📈 +19 B (+0.16%) | 11.26 kB → 11.28 kB `src/components/rules/RuleEditor.tsx` | 📈 +68 B (+0.13%) | 49.36 kB → 49.43 kB `src/components/accounts/Balance.tsx` | 📈 +9 B (+0.08%) | 11.2 kB → 11.21 kB `src/components/schedules/SchedulesTable.tsx` | 📈 +7 B (+0.03%) | 19.8 kB → 19.8 kB `src/components/reports/reports/CustomReport.tsx` | 📈 +7 B (+0.03%) | 24.89 kB → 24.89 kB `src/components/budget/tracking/budgetsummary/Saved.tsx` | 📉 -419 B (-7.48%) | 5.47 kB → 5.06 kB </details> <details> <summary>View detailed bundle breakdown</summary> <div> **Added** No assets were added **Removed** No assets were removed **Bigger** Asset | File Size | % Changed ----- | --------- | --------- static/js/ReportRouter.js | 1.13 MB → 1.13 MB (+4.5 kB) | +0.39% static/js/index.js | 9.24 MB → 9.24 MB (+2.94 kB) | +0.03% static/js/narrow.js | 639.7 kB → 640.05 kB (+357 B) | +0.05% static/js/wide.js | 159.95 kB → 159.96 kB (+9 B) | +0.01% **Smaller** No assets were smaller **Unchanged** Asset | File Size | % Changed ----- | --------- | --------- static/js/indexeddb-main-thread-worker-e59fee74.js | 12.94 kB | 0% static/js/workbox-window.prod.es5.js | 5.64 kB | 0% static/js/da.js | 107.03 kB | 0% static/js/de.js | 172.31 kB | 0% static/js/en-GB.js | 7.24 kB | 0% static/js/en.js | 159.21 kB | 0% static/js/es.js | 173.04 kB | 0% static/js/fr.js | 178.56 kB | 0% static/js/it.js | 173.46 kB | 0% static/js/nb-NO.js | 158.85 kB | 0% static/js/nl.js | 103.57 kB | 0% static/js/pl.js | 88.78 kB | 0% static/js/pt-BR.js | 147.31 kB | 0% static/js/ru.js | 108.05 kB | 0% static/js/sv.js | 78.42 kB | 0% static/js/th.js | 182.7 kB | 0% static/js/uk.js | 217.6 kB | 0% static/js/resize-observer.js | 18.37 kB | 0% static/js/BackgroundImage.js | 120.54 kB | 0% static/js/TransactionList.js | 101.58 kB | 0% static/js/AppliedFilters.js | 9.71 kB | 0% static/js/usePayeeRuleCounts.js | 11.79 kB | 0% static/js/useTransactionBatchActions.js | 13.23 kB | 0% static/js/FormulaEditor.js | 1.04 MB | 0% </div> </details> --- #### loot-core **Total** Files count | Total bundle size | % Changed ----------- | ----------------- | --------- 1 | 5.83 MB | 0% <details> <summary>View detailed bundle breakdown</summary> <div> **Added** No assets were added **Removed** No assets were removed **Bigger** No assets were bigger **Smaller** No assets were smaller **Unchanged** Asset | File Size | % Changed ----- | --------- | --------- kcab.worker.BrDUZwR6.js | 5.83 MB | 0% </div> </details> --- #### api **Total** Files count | Total bundle size | % Changed ----------- | ----------------- | --------- 1 | 4.37 MB | 0% <details> <summary>View detailed bundle breakdown</summary> <div> **Added** No assets were added **Removed** No assets were removed **Bigger** No assets were bigger **Smaller** No assets were smaller **Unchanged** Asset | File Size | % Changed ----- | --------- | --------- bundle.api.js | 4.37 MB | 0% </div> </details> </details> <!--- bundlestats-action-comment key:combined end --->
GiteaMirror added the pull-request label 2026-02-28 21:31:08 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#6656