actual icon indicating copy to clipboard operation
actual copied to clipboard

:sparkles: added 'show/hide balance' button to cash flow report

Open MatissJanis opened this issue 1 year ago • 5 comments

Added a button for showing/hiding the balance line. Useful if the balance is a large number whereas the income/expenses are small numbers.

Screenshot 2024-02-03 at 14 32 11

MatissJanis avatar Feb 03 '24 14:02 MatissJanis

Deploy Preview for actualbudget ready!

Name Link
Latest commit 0ee99d8a82df67ff22d3996ed1bdfc2cbb7101a3
Latest deploy log https://app.netlify.com/sites/actualbudget/deploys/65be4d8f9314530008a5c012
Deploy Preview https://deploy-preview-2322.demo.actualbudget.org
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] avatar Feb 03 '24 14:02 netlify[bot]

Bundle Stats — desktop-client

Hey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle.

As this PR is updated, I'll keep you updated on how the bundle size is impacted.

Total

Files count Total bundle size % Changed
10 4.99 MB → 4.99 MB (-1001 B) -0.02%
Changeset
File Δ Size
src/components/reports/reports/CashFlow.tsx 📈 +507 B (+8.27%) 5.98 kB → 6.48 kB
src/components/reports/graphs/CashFlowGraph.tsx 📈 +50 B (+1.07%) 4.56 kB → 4.61 kB
src/components/reports/Header.jsx 📈 +22 B (+0.42%) 5.15 kB → 5.18 kB
src/components/transactions/SelectedTransactions.jsx 📉 -51 B (-1.04%) 4.79 kB → 4.74 kB
src/components/Modals.tsx 📉 -145 B (-1.66%) 8.54 kB → 8.4 kB
src/components/schedules/ScheduleDetails.jsx 📉 -691 B (-2.46%) 27.46 kB → 26.78 kB
src/components/schedules/ScheduleLink.tsx 📉 -693 B (-23.82%) 2.84 kB → 2.16 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.84 MB → 1.85 MB (+579 B) +0.03%

Smaller

Asset File Size % Changed
static/js/index.js 2.64 MB → 2.64 MB (-1.49 kB) -0.06%
static/js/wide.js 240.49 kB → 240.44 kB (-51 B) -0.02%

Unchanged

Asset File Size % Changed
static/js/resize-observer.js 18.37 kB 0%
static/js/indexeddb-main-thread-worker-e59fee74.js 13.5 kB 0%
static/js/ButtonLink.js 379 B 0%
static/js/BackgroundImage.js 122.29 kB 0%
static/js/BalanceTooltip.js 6.06 kB 0%
static/js/AppliedFilters.js 28.99 kB 0%
static/js/narrow.js 80.18 kB 0%

github-actions[bot] avatar Feb 03 '24 14:02 github-actions[bot]

Bundle Stats — loot-core

Hey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle.

As this PR is updated, I'll keep you updated on how the bundle size is impacted.

Total

Files count Total bundle size % Changed
1 1.18 MB 0%

Changeset

No files were changed

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.js 1.18 MB 0%

github-actions[bot] avatar Feb 03 '24 14:02 github-actions[bot]

Are you thinking this would be in place of a two y-axis solution?

youngcw avatar Feb 03 '24 18:02 youngcw

Are you thinking this would be in place of a two y-axis solution?

Yea.

I actually implemented the two axis solution before (locally), but it was much more confusing when used with lots of data. I also tried a logarithmic scale, but that wasn't great either.. so my final solution was to just add a toggle button.

MatissJanis avatar Feb 03 '24 18:02 MatissJanis