-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Budget tsx refactor #1743
Budget tsx refactor #1743
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 No assets were bigger 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 No files were changed View detailed bundle breakdownAdded No assets were added Removed No assets were removed Bigger No assets were bigger Smaller No assets were smaller Unchanged
|
👋 Would you mind taking a look at the failing lint job? Sadly without having all the CI jobs passing we won't be able to merge. |
* regression fixes * notes * VRT updates
* 🔖 (23.10.0) * Remove used release notes --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* Editable mobile budget * Fix error on empty amount * Fix typo * Decimal keyboard + select input on click * Remove scrollIntoView * Fix focus * Focus input on negative/positive * Use CellValue * Functional mobile components * Blur fix c/o dmlazaro * Use pointer event * Remove useFireChangeOnUnmount * Release notes * Prevent default on pointerdown * Add dmlazaro to release notes * Disable amount input button when not focused * Remove input refocus
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.
Great!
editingIndex={undefined} | ||
args={undefined} |
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.
👏 praise: thanks!
Refactor the following to tsx: IncomeGroup, IncomeHeader, MonthsContext, RenderMonths, SidebarGroup.
Related to issue #1483
I had some trouble with RenderMonths, specifically typing 'Component' and returning a JSX.Element when a JSX.Element[] was the expected return type.
I also had an issue with MonthsContext and eslint not recognizing that 'getValidMonthBounds' and 'MonthsProvider' were being imported and used elsewhere.
If anyone has suggestions on these or anything else please let me know and I can fix it right away.