Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Reports: fix table rendering #2192

Merged
merged 13 commits into from
Jan 16, 2024

Conversation

carkom
Copy link
Contributor

@carkom carkom commented Jan 7, 2024

In certain situations the table graph will not render properly and as a result columns will stop lining up properly. This PR should fix that issue.

Copy link

netlify bot commented Jan 7, 2024

Deploy Preview for actualbudget ready!

Name Link
🔨 Latest commit bce448a
🔍 Latest deploy log https://app.netlify.com/sites/actualbudget/deploys/65a6dfd30edc260007c363cd
😎 Deploy Preview https://deploy-preview-2192.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.

Copy link
Contributor

github-actions bot commented Jan 7, 2024

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 5.08 MB → 5.08 MB (-1.25 kB) -0.02%
Changeset
File Δ Size
src/components/reports/graphs/tableGraph/ReportTableRow.tsx 🆕 +2.77 kB 0 B → 2.77 kB
src/components/reports/graphs/tableGraph/ReportTable.tsx 📈 +658 B (+71.06%) 926 B → 1.55 kB
src/components/reports/graphs/tableGraph/ReportTableTotals.tsx 📈 +70 B (+1.98%) 3.45 kB → 3.52 kB
src/hooks/useSelected.tsx 📈 +124 B (+1.64%) 7.4 kB → 7.52 kB
src/components/reports/ChooseGraph.tsx 📈 +24 B (+0.74%) 3.16 kB → 3.19 kB
src/components/transactions/SelectedTransactions.jsx 📉 -51 B (-1.04%) 4.79 kB → 4.74 kB
src/components/Modals.tsx 📉 -145 B (-1.71%) 8.27 kB → 8.13 kB
src/components/transactions/SimpleTransactionsTable.jsx 📉 -182 B (-2.70%) 6.59 kB → 6.41 kB
src/components/schedules/ScheduleDetails.jsx 📉 -811 B (-2.87%) 27.57 kB → 26.78 kB
src/components/schedules/ScheduleLink.tsx 📉 -721 B (-24.55%) 2.87 kB → 2.16 kB
src/components/reports/graphs/tableGraph/ReportTableList.tsx 📉 -3.01 kB (-63.38%) 4.75 kB → 1.74 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.95 MB → 1.95 MB (+508 B) +0.02%

Smaller

Asset File Size % Changed
static/js/index.js 2.64 MB → 2.63 MB (-1.69 kB) -0.06%
static/js/wide.js 239.04 kB → 238.99 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/BackgroundImage.js 122.29 kB 0%
static/js/ButtonLink.js 379 B 0%
static/js/narrow.js 82.17 kB 0%
static/js/BalanceTooltip.js 6.07 kB 0%
static/js/FiltersMenu.js 28.92 kB 0%

Copy link
Contributor

github-actions bot commented Jan 7, 2024

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

@youngcw
Copy link
Member

youngcw commented Jan 7, 2024

Nice. I messed around and was not able to make a broken table.

@carkom carkom requested a review from MatissJanis January 13, 2024 07:19
Copy link
Member

@MatissJanis MatissJanis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few small nitpicks (do whatever you prefer with them) and one more important question. Let me know what you think.

@carkom carkom merged commit e745a40 into actualbudget:master Jan 16, 2024
19 checks passed
@trafico-bot trafico-bot bot added ✨ Merged Pull Request has been merged successfully and removed ✅ Approved labels Jan 16, 2024
@carkom carkom deleted the reportsTableRender branch January 16, 2024 20:14
FlorianLang06 pushed a commit to FlorianLang06/actual that referenced this pull request Mar 7, 2024
* reorg

* notes

* Add render

* privacy Filter additions

* merge fixes

* notes

* merge fixes

* Apply patches for strict mode

* review fixes

---------

Co-authored-by: Matiss Janis Aboltins <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ Merged Pull Request has been merged successfully
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants