-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
iOS - Deeplink - Split bill with previous insert sum displayed if open split bill link #24474
Comments
Triggered auto assignment to @JmillsExpensify ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalNote: This issue is present not only for split bill but also for request money and send money(which is now hidden but functionality is still there).Also this is present on all platforms. Please re-state the problem that we are trying to solve in this issue.When opening split bill via deep link after entering a value already and pressing next, the previous value is shown. What is the root cause of that problem?The RC for this issue is that we are storing the IOU data in Onyx and when the user visits the page using deep link, the stored data is fetched and previous values are displayed. The function that is executed when the next button is clicked is as follows: Here we can see, the methods On the otherhand, if the user comes again via FAB Split Bill, the IOU data is reset via https://github.com/Expensify/App/blob/main/src/libs/actions/IOU.js#L1468-L1471 What changes do you think we should make in order to solve the problem?We can reset the IOU data (similar to when the user comes again via FAB Split Bil) if the page is visited using a deeplink.In order to do that we need to make the following changes:
We can add this to MoneyRequestSelectorPage as the NewRequestAmountPage page is rendered from this component.Alternatively, we can also add the hook to
What alternative solutions did you explore? (Optional)N/A Result:Before: before.movAfter: after.mov |
I don't consider this is a bug. Going to bring up for discussion internally. |
Closing, as this isn't an issue. You can always change the amount if you want. |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Issue found when executing PR #24126
Action Performed:
(e.g. in Notes)
Expected Result:
User lands in split bill tab with amount set to 0
Actual Result:
User lands in split bill tab with amount inserted at step 4 displayed.
To reproduce the issue on Desktop app log into browser and desktop app with same account as "precondition" and as step 8 tap on "open" in prompt in browser
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.53.1
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Bug6161824_splitbill.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: