Open joel-jeremy opened 1 week ago
Name | Link |
---|---|
Latest commit | 37ba9cfbd92be0f1d1227dc33e59713c307065c4 |
Latest deploy log | https://app.netlify.com/sites/actualbudget/deploys/6675f13dcadc3400080fca53 |
Deploy Preview | https://deploy-preview-2904.demo.actualbudget.org |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
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 |
---|---|---|
9 | 4.76 MB → 4.98 MB (+232.25 kB) | +4.77% |
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.13 MB | 0% |
Changeset
No files were changed
Might it be easier to keep the existing prop interface for the Button
component? But then internally use react-aria. That would allow to do an instant port to react-aria. And then later we could progressively upgrade from the old prop interface to the new one (optional step; maybe we don't "want" to upgrade the prop interface).
Your approach is totally fine too and I'm happy to proceed with it though. Just looking out for your sanity since it's A LOT of buttons that will need to be updated.
I think this approach is the way to go because right now we won't be able to do a bulk port to the react aria button because there seems to be a compatibility issue with the current modal we have. There is an issue on some places of the code where when clicking a button that opens a modal, the modal gets closed immediately (my assumption is that the modal we have right now detects the onMouseUp event and triggers the "shouldCloseOnInteractOutside" logic). But outside that the new aria buttons works as expected.
I will also be working on porting Modal to use react aria Modal components to address that.
This will be the first part of a multi-PR effort to migrate all the buttons in the code to use react-aria-components' Button component under the hood. The plan is to do one PR per page to make it easier to review the changes.
This first one migrates the buttons on the schedules page.