-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[$500] Request Money - The previous button is missing and the Next button is not functioning properly for pictures added in IOU when requesting money in scan mode #28718
Comments
ProposalPlease re-state the problem that we are trying to solve in this issue.When add attachment in receipt and open it:
What is the root cause of that problem?When we fix issue #26828 in PR #27426 we use a new method to get the index of the preview image, and it works fine for the case that it was designed for it. App/src/components/Attachments/AttachmentCarousel/index.js Lines 41 to 51 in 09e3d0d
App/src/components/Attachments/AttachmentCarousel/index.js Lines 56 to 59 in 09e3d0d
But when we add attachment in the receipt report as a normal message. What changes do you think we should make in order to solve the problem?
const isLocalFile = source.startsWith('blob:') || source.startsWith('file:');
// Dismiss the modal when deleting an attachment during its display in preview.
if (initialPage === -1 && _.find(attachments, (a) => a.source === source)) {
if (!isLocalFile) Navigation.dismissModal();
} else {
...
} What alternative solutions did you explore? (Optional)N/A |
Job added to Upwork: https://www.upwork.com/jobs/~016e647a00541e7e5d |
Triggered auto assignment to @laurenreidexpensify ( |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @robertKozik ( |
Dupe of #27824. |
I don't think so , it have different root couses |
@robertKozik do you think this one is a dupe of #27824? |
@laurenreidexpensify, I'm not entirely certain if this is a duplicate or not. However, I've checked the PR for #27824 and it appears to address this issue as well. Since that PR is already in the review process, my suggestion would be to put our issue on hold until it gets merged. Afterward, we can retest to see if the problem persists, and then take appropriate action based on the outcome. |
Holding on #27824 |
1 similar comment
Holding on #27824 |
Holding on #27824 |
Holding on #27824 |
@kbecciv @robertKozik can we test to see if this is still reproducible now that #27824 has been deployed to prod? Thanks |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Unable to reproduce it Recording.5458.mp4 |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
Expected Result:
If two photos appear in IOU, the first image should have a Next button, and the second image should have a Previous button. If this is by design, the Next button in the second image should perform some action.
Actual Result:
There is no previous button, and the Next button is not functioning correctly for pictures added in IOU.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: v1.3.75-8
Reproducible in staging?: y
Reproducible in production?: y
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
Screen.Recording.2023-10-01.at.10.55.56.PM.mov
Recorder_02102023_090408.mp4
Screen.Recording.2023-10-01.at.11.07.58.PM.mov
Screen.Recording.2023-10-01.at.10.48.56.PM.1.mov
Screen.Recording.2023-10-01.at.11.01.06.PM.mov
Screen.Recording.2023-10-02.at.10.33.32.PM.mov
Recording.4817.mp4
Expensify/Expensify Issue URL:
Issue reported by: @tewodrosGirmaA
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1696225666195509
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: