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 typescript updates and small functional changes #2046

Merged
merged 9 commits into from
Dec 12, 2023

Conversation

carkom
Copy link
Contributor

@carkom carkom commented Dec 7, 2023

  • Fixing and adding typescript to most the files
  • Small functional changes

Copy link

netlify bot commented Dec 7, 2023

Deploy Preview for actualbudget ready!

Name Link
🔨 Latest commit add33fc
🔍 Latest deploy log https://app.netlify.com/sites/actualbudget/deploys/6578629994820c0008ba4131
😎 Deploy Preview https://deploy-preview-2046.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 Dec 7, 2023

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
16 3.08 MB → 3.08 MB (-83 B) -0.00%
Changeset
File Δ Size
src/components/reports/ReportSummary.tsx 🆕 +4.77 kB 0 B → 4.77 kB
src/components/reports/ReportLegend.tsx 🆕 +2.08 kB 0 B → 2.08 kB
src/components/reports/ModeButton.tsx 🆕 +893 B 0 B → 893 B
src/components/reports/spreadsheets/cash-flow-spreadsheet.tsx 📉 -43 B (-0.50%) 8.43 kB → 8.39 kB
src/components/reports/spreadsheets/makeQuery.ts 📉 -27 B (-0.97%) 2.71 kB → 2.69 kB
src/components/reports/reports/CustomReport.js 📉 -162 B (-0.99%) 16.02 kB → 15.86 kB
src/components/reports/spreadsheets/net-worth-spreadsheet.tsx 📉 -51 B (-1.06%) 4.69 kB → 4.64 kB
src/components/reports/ChooseGraph.tsx 📉 -66 B (-1.62%) 3.98 kB → 3.92 kB
src/components/reports/ReportSidebar.js 📉 -714 B (-3.78%) 18.45 kB → 17.75 kB
src/components/reports/ReportSummary.js 🔥 -7 kB (-100%) 7 kB → 0 B
View detailed bundle breakdown

Added

No assets were added

Removed

No assets were removed

Bigger

No assets were bigger

Smaller

Asset File Size % Changed
static/js/reports.chunk.js 76.6 kB → 76.52 kB (-83 B) -0.11%

Unchanged

Asset File Size % Changed
static/js/main.js 1.26 MB 0%
static/js/665.chunk.js 824.28 kB 0%
static/media/Inter-italic.var.woff2 239.29 kB 0%
static/media/Inter-roman.var.woff2 221.86 kB 0%
static/js/444.chunk.js 156.11 kB 0%
static/js/231.chunk.js 117.38 kB 0%
static/js/wide-components.chunk.js 114.8 kB 0%
static/js/narrow-components.chunk.js 51.17 kB 0%
static/js/226.chunk.js 28.94 kB 0%
static/js/473.chunk.js 13 kB 0%
static/js/resize-observer-polyfill.chunk.js 8.88 kB 0%
static/css/main.css 7.41 kB 0%
asset-manifest.json 2.07 kB 0%
index.html 1.66 kB 0%
static/media/browser-server.js 911 B 0%

Copy link
Contributor

github-actions bot commented Dec 7, 2023

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
2 2.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%
xfo.xfo.kcab.worker.js 1014.46 kB 0%

@carkom carkom requested a review from MatissJanis December 8, 2023 07:29
@carkom carkom changed the title Custom Reports variable naming and typescript updates [WIP] Custom Reports variable naming and typescript updates Dec 11, 2023
@carkom carkom changed the title [WIP] Custom Reports variable naming and typescript updates [WIP] Custom Reports typescript updates and small functional changes Dec 12, 2023
style: CSSProperties;
onSelect: MouseEventHandler<HTMLButtonElement>;
};

Copy link
Contributor Author

@carkom carkom Dec 12, 2023

Choose a reason for hiding this comment

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

code for this is the same (no changes). Pulled out of "reportSidebar" and added typescript

legend: Array<{ name: string; color: string }>;
groupBy: string;
};

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Same here (no code changes). Pulled it out of reportSummary to separate as it's own element and added typescript.

@carkom carkom changed the title [WIP] Custom Reports typescript updates and small functional changes Custom Reports typescript updates and small functional changes Dec 12, 2023
@carkom carkom merged commit 4ada920 into actualbudget:master Dec 12, 2023
19 checks passed
@trafico-bot trafico-bot bot added the ✨ Merged Pull Request has been merged successfully label Dec 12, 2023
@carkom carkom deleted the renameReportVariables branch December 12, 2023 19:35
FlorianLang06 pushed a commit to FlorianLang06/actual that referenced this pull request Mar 7, 2024
…lbudget#2046)

* work

* notes

* error fixes

* updates

* card fix

* fix filters

* fixes
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.

2 participants