-
-
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
Web port of the react native edit transaction view #1340
Web port of the react native edit transaction view #1340
Conversation
This avoids content observation behavior in WebKit on touch devices that delays the onClick event (and therefore reaction to user input).
✅ 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
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
View detailed bundle breakdownAdded No assets were added Removed No assets were removed Bigger No assets were bigger Smaller No assets were smaller Unchanged
|
This is awesome! I will take a look at the tests and do some more code review later today. |
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.
I definitely need to spend a bunch of time reading through the larger chunks of code, but here are some initial things that jumped out at me.
packages/desktop-client/src/components/transactions/MobileTransaction.js
Outdated
Show resolved
Hide resolved
packages/desktop-client/src/components/transactions/MobileTransaction.js
Show resolved
Hide resolved
packages/desktop-client/src/components/mobile/MobileAmountInput.js
Outdated
Show resolved
Hide resolved
packages/desktop-client/src/components/transactions/MobileTransaction.js
Show resolved
Hide resolved
Interesting! It looks like you're not using Safari which must be cause of the difference. I was aware of the layout issues but I was unable to replicate that situation on my iPhone. I'll fix the layout this weekend so the fields can't squish together like that. |
Not getting the cryptic error I got the first time. 🤷🏻♂️ Never mind! |
f430014 should fix the layout issues up in Firefox.
|
I just pushed e6fc12a which makes a couple small tweaks to use a RPReplay_Final1691091738.mov |
Hey @Cldfire! This looks awesome. One color tweak in the nav bar (excuse my un-resized huge images): After that, @MatissJanis this looks good for whenever we can roll it into a release! |
The footer is getting addressed here: #1456 It's a regression. :) So feel free to ignore that piece of feedback in this PR. We just need the e2e tests to pass |
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.
Thanks Matiss for the regression pointer.
Looks good!
@Cldfire would you mind taking a look at the failing e2e test and the merge conflict? Once CI passes we're happy to merge. 🎉 |
Waiting on #1486 to merge before proceeding here. EDIT: actually ended up just cherry-picking the commit for now. |
* Set `role="button"` on downshift autocomplete items This avoids content observation behavior in WebKit on touch devices that delays the onClick event (and therefore reaction to user input). * Disable split transaction editing for now
Relates to #604.
Original React Native experience:
RPReplay_Final1689392915.MP4
Experience ported to web in iOS PWA:
RPReplay_Final1689392569.MP4
Everything except split transaction editing is here and functional. I didn't implement split transactions because:
Other future improvements possible:
serializeTransaction
anddeserializeTransaction
functions added here for mobile with the desktop counterparts in a way that works for both