-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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 - add schema #2246
Conversation
✅ Deploy Preview for actualbudget ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Bundle Stats — desktop-clientHey 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
Changeset
View detailed bundle breakdownAdded No assets were added Removed No assets were removed Bigger
Smaller No assets were smaller Unchanged
|
Bundle Stats — loot-coreHey 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
Changeset
View detailed bundle breakdownAdded No assets were added Removed No assets were removed Bigger
Smaller No assets were smaller Unchanged No assets were unchanged |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some small comments, but overall looks really good! Thanks for keeping the scope small. It's much easier to review PRs like this one.
); | ||
} | ||
|
||
const flag = true; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❓ question: what's this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tried to explain it in commnets in line 23.
"useReports" is meant to pull an array of all reports in the db table...except there's no db table yet. This is the work-around I implemented so that the code doesn't create fatal errors. It's basically returning an empty array but all this code will be used for querying the db for saved reports.
Co-authored-by: Matiss Janis Aboltins <matiss@mja.lv>
* Add schema work * notes * merge fixes * add to handlers * notes update * Update packages/loot-core/src/server/reports/app.ts Co-authored-by: Matiss Janis Aboltins <matiss@mja.lv> * review changes * type updates --------- Co-authored-by: Matiss Janis Aboltins <matiss@mja.lv>
This is all backend work to saving reports from the Custom Report feature.