-
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
[HOLD for payment 2024-01-18] [$500] Web - IOU - Clicking on blank space next to 'From' link navigates user to main report #33907
Comments
Job added to Upwork: https://www.upwork.com/jobs/~01d27b574e0b4def7f |
Triggered auto assignment to @garrettmknight ( |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @thesahindia ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Clicking on blank space next to 'From' link navigates user to main report What is the root cause of that problem?This happens as the App/src/components/ParentNavigationSubtitle.tsx Lines 28 to 46 in 3b385ef
The problem is, link style is applied here, but the navigation behavior wraps the whole row, making clicks on the whole line navigate back. What changes do you think we should make in order to solve the problem?We can change the
We would use the <TextLink
onPress={() => {
Navigation.navigate(ROUTES.REPORT_WITH_ID.getRoute(parentReportID));
}}
style={[styles.optionAlternateText, styles.textLabelSupporting, styles.link]}
>
{rootReportName}
</TextLink> Alternatively
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Web - IOU - Clicking on blank space next to 'From' link navigates user to main report What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?add
style={[pressableStyles,styles.alignSelfStart]} Screen.Recording.2024-01-04.at.8.11.01.AM.movWhat alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issue.The user is navigated to main report when click on the blank space in IOU report header. What is the root cause of that problem?In App/src/pages/home/HeaderView.js Line 286 in d4c3e63
But In App/src/components/AvatarWithDisplayName.tsx Line 141 in d4c3e63
What changes do you think we should make in order to solve the problem?We should pass App/src/components/AvatarWithDisplayName.tsx Line 141 in d4c3e63
What alternative solutions did you explore? (Optional)We can add ResultScreen.Recording.2024-01-04.at.11.53.42.mov |
ProposalPlease re-state the problem that we are trying to solve in this issue.Currently, users are unable to interact with the money request header to view its details. Instead of opening the details, clicking on the header redirects users back to the previous page. What is the root cause of that problem?Upon examination, it is observed that the discrepancy arises due to the utilization of different components for the report page header and the money request details page. The However, the money request page uses the Reference to the current implementation can be found here: App/src/pages/home/ReportScreen.js Lines 214 to 233 in d4c3e63
The screenshot attached below highlights the difference in implementation. The App/src/pages/home/HeaderView.js Lines 254 to 255 in d4c3e63
What changes do you think we should make in order to solve the problem?To resolve this issue, the |
ProposalPlease re-state the problem that we are trying to solve in this issue.Web - IOU - Clicking on blank space next to 'From' link navigates user to main report What is the root cause of that problem?At the parent group of DisplayNames and subtite, we define flex column but we don't define items start and the default value is stretch for children so when we click on blank space we will click on the children element and navigate follow children link. What changes do you think we should make in order to solve the problem?At the parent group we will define items start direction Just add <View style={[styles.flex1, styles.flexColumn, styles.alignItemsStart, shouldShowSubscriptAvatar && !isExpenseRequest ? styles.ml4 : {}]}> POC 33907-POC.mp4What alternative solutions did you explore? (Optional) |
@thesahindia can you give these a look when you get a chance? |
@thesahindia quick bump to review these. Thanks! |
@dukenv0307's proposal looks good to me! Text will overflow if we don't set the max width to 100. 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @luacmartins, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 @dukenv0307 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@thesahindia The PR is ready for review. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.24-3 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2024-01-18. 🎊 For reference, here are some details about the assignees on this issue:
|
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:
|
Summary of payments:
|
Dropping to weekly for @thesahindia to suggest a regression test and request payment. |
Test steps -
|
Test steps look good to me |
QA updated - on you to request payment @thesahindia |
I will send the request soon. We can close it. |
Closing as per previous comment! |
$500 approved for @thesahindia |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 1.4.21-1
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
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:
Expected Result:
RHP should be opened and 'Details' page should be be displayed as it does for task report
Actual Result:
User is navigated to main report
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6331627_1704312285513.Screen_Recording_2024-01-03_at_9.02.31_at_night.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: