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

React Aria Button on Accounts and Payees page #2914

Merged
merged 9 commits into from
Jul 4, 2024

Conversation

joel-jeremy
Copy link
Contributor

No description provided.

@github-actions github-actions bot changed the title React aria button on accounts and payees page [WIP] React aria button on accounts and payees page Jun 21, 2024
@github-actions github-actions bot added the 🔍 Ready for Review Pull Request is not reviewed yet label Jun 21, 2024
Copy link

netlify bot commented Jun 21, 2024

Deploy Preview for actualbudget ready!

Name Link
🔨 Latest commit 224abdd
🔍 Latest deploy log https://app.netlify.com/sites/actualbudget/deploys/6686e6f9f9bcf200080b97b0
😎 Deploy Preview https://deploy-preview-2914.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.

@joel-jeremy joel-jeremy changed the title [WIP] React aria button on accounts and payees page React Aria Button on accounts and payees page Jun 21, 2024
@joel-jeremy joel-jeremy changed the title React Aria Button on accounts and payees page React Aria Button on Accounts and Payees page Jun 21, 2024
Copy link
Contributor

github-actions bot commented Jun 21, 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
9 4.91 MB → 4.91 MB (+1.57 kB) +0.03%
Changeset
File Δ Size
node_modules/usehooks-ts/dist/index.js 📈 +1.17 kB (+108.73%) 1.07 kB → 2.24 kB
src/components/accounts/Header.jsx 📈 +273 B (+1.72%) 15.47 kB → 15.74 kB
src/components/accounts/Reconcile.jsx 📈 +65 B (+1.40%) 4.54 kB → 4.6 kB
node_modules/react-dnd/dist/hooks/useIsomorphicLayoutEffect.js 📈 +2 B (+1.14%) 176 B → 178 B
src/components/accounts/Balance.jsx 📈 +48 B (+0.89%) 5.25 kB → 5.3 kB
node_modules/react-dnd/dist/hooks/useDrag/useDragSourceConnector.js 📈 +4 B (+0.52%) 775 B → 779 B
node_modules/react-dnd/dist/hooks/useDrop/useDropTargetConnector.js 📈 +2 B (+0.45%) 446 B → 448 B
node_modules/react-dnd/dist/hooks/useMonitorOutput.js 📈 +2 B (+0.36%) 551 B → 553 B
node_modules/react-dnd/dist/hooks/useDrop/useRegisteredDropTarget.js 📈 +2 B (+0.33%) 608 B → 610 B
node_modules/react-dnd/dist/hooks/useDrag/useRegisteredDragSource.js 📈 +2 B (+0.31%) 648 B → 650 B
node_modules/react-dnd/dist/hooks/useCollector.js 📈 +2 B (+0.18%) 1.07 kB → 1.07 kB
src/components/payees/ManagePayees.jsx 📈 +4 B (+0.04%) 8.79 kB → 8.79 kB
src/components/accounts/Account.jsx 📈 +5 B (+0.01%) 48.25 kB → 48.25 kB
src/components/accounts/AccountSyncCheck.jsx 📉 -2 B (-0.04%) 4.68 kB → 4.68 kB
View detailed bundle breakdown

Added

No assets were added

Removed

No assets were removed

Bigger

Asset File Size % Changed
static/js/index.js 3.16 MB → 3.16 MB (+1.19 kB) +0.04%
static/js/wide.js 273.28 kB → 273.66 kB (+391 B) +0.14%

Smaller

No assets were smaller

Unchanged

Asset File Size % Changed
static/js/indexeddb-main-thread-worker-e59fee74.js 13.5 kB 0%
static/js/resize-observer.js 18.37 kB 0%
static/js/BackgroundImage.js 122.29 kB 0%
static/js/narrow.js 76.96 kB 0%
static/js/usePreviewTransactions.js 790 B 0%
static/js/AppliedFilters.js 27.12 kB 0%
static/js/ReportRouter.js 1.23 MB 0%

Copy link
Contributor

github-actions bot commented Jun 21, 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.13 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.13 MB 0%

@@ -102,16 +102,16 @@ export function ReconcileMenu({ account, onReconcile, onClose }) {
query: balanceQuery.query.filter({ cleared: true }),
});
const format = useFormat();
const [inputValue, setInputValue] = useState(null);
Copy link
Member

Choose a reason for hiding this comment

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

🔨 warning: ‏clicking "reconcile" button with the initial value (without changing the numbers) does nothing. I think we're missing an initial value in this useState

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nice catch. Should now be fixed :)

Base automatically changed from react-aria-button-2 to master July 3, 2024 20:04
Copy link
Member

Choose a reason for hiding this comment

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

A lot of screenshots changed. They now have the ">>" icon besides the balance. That should only be visible on hover. so something smells fishy.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Should be good now. The button style was using & selector in Balance component which I updated to an inline style.

joel-jeremy and others added 2 commits July 4, 2024 10:35
@joel-jeremy joel-jeremy merged commit 76cdad4 into master Jul 4, 2024
20 checks passed
@joel-jeremy joel-jeremy deleted the react-aria-button-3 branch July 4, 2024 18:56
@github-actions github-actions bot added ✨ Merged Pull Request has been merged successfully and removed 🔍 Ready for Review Pull Request is not reviewed yet labels Jul 4, 2024
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.

None yet

2 participants