-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[$250] Categorizing - Date picker on confirmation page does not show the selected date #46763
Comments
Triggered auto assignment to @mallenexpensify ( |
@mallenexpensify FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors |
We think that this bug might be related to #vip-vsp |
I can not reproduce the issue |
📣 @hayes102! 📣
|
Edited by proposal-police: This proposal was edited at 2024-08-03 16:48:03 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.The date picker on the confirmation page does not display the last selected date. What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?When creating the draft transaction while categorizing the request, we should set Lines 7206 to 7218 in 6a22933
AlternativelyWe should update the logic so that when setting the function setMoneyRequestCreated(transactionID: string, created: string, isDraft: boolean, modifiedCreated?: string) {
Onyx.merge(
`${isDraft ? ONYXKEYS.COLLECTION.TRANSACTION_DRAFT : ONYXKEYS.COLLECTION.TRANSACTION}${transactionID}`,
modifiedCreated
? {
modifiedCreated: created,
created
}
: {created},
);
} Finally, modify the OR we can just set the function setMoneyRequestCreated(transactionID: string, created: string, isDraft: boolean) {
Onyx.merge(`${isDraft ? ONYXKEYS.COLLECTION.TRANSACTION_DRAFT : ONYXKEYS.COLLECTION.TRANSACTION}${transactionID}`, {
created,
modifiedCreated: null,
});
} POCScreen.Recording.2024-08-03.at.6.45.05.PM.mov |
@mallenexpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Job added to Upwork: https://www.upwork.com/jobs/~013cac8c72a835b3bf |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @eh2077 ( |
@eh2077 plz review @abzokhattab 's proposal above Was able to reproduce, I initially added to #wave-collect cuz it was an expense but, since it's via a self-DM. I wasn't able to reproduce when submitting an expense on a collect plan. @abzokhattab and @eh2077 , let me know if either of you are. |
@mallenexpensify Submitting an expense on a collect plan also works as expected for me. I think this edge case only happens via self-DM where we can categorise an expense. |
@abzokhattab 's proposal looks good to me. We can discuss coding details in PR. 🎀👀🎀 C+ reviewed |
Triggered auto assignment to @srikarparsi, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 @eh2077 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @abzokhattab 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@abzokhattab Please let us know when we can expect a PR to be ready for review, thanks |
PR is ready |
Contributor: @abzokhattab paid $250 via Upwork Hit production a bit ago @eh2077 plz complete the BZ checklist. BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
@mallenexpensify @srikarparsi @abzokhattab @eh2077 this issue is now 4 weeks old, please consider:
Thanks! |
@mallenexpensify, @srikarparsi, @abzokhattab, @eh2077 Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Checklist
Regression test
|
Nice, if this is paid is this good to close out @mallenexpensify? |
Test case created, good to close now! |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 9.0.16-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4807531
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
The date picker will display the latest selected date in Step 9
Actual Result:
The date picker displays the selected date in Step 5, which is the date edited after tracking the expense and before categorizing
When saving the date without changing it, the latest date in Step 9 remains selected instead of the date shown in Step 10
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6560402_1722620558526.20240803_013609.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @eh2077The text was updated successfully, but these errors were encountered: