[HOLD for payment 2021-11-04] Clicking on the empty area right to the view details opens the IOU details page - @parasharrajat
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel! https://www.upwork.com/jobs/~01e19e81afbed9cb10
Action Performed:
- Navigate to a conversation
- Request money to the user
- Click on the empty area next to the IOU message in conversation
Expected Result:
Empty area should not be clickable. Only link in the message information should be clickable.
Actual Result:
Empty area is clickable and it's opening the IOU details page.
Workaround:
None needed.
Platform:
Where is this issue occurring?
- Web
- iOS
- Android
- Desktop App
- Mobile Web
Version Number: 1.1.7-0
Reproducible in staging?: yes Reproducible in production?: yes
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://user-images.githubusercontent.com/44479856/136849449-c7cc3e15-0489-4d7b-9b7e-1c4de66ac69c.mp4
Expensify/Expensify Issue URL:
Issue reported by: @parasharrajat Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1633845715067400
Triggered auto assignment to @NikkiWines (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.
Proposal
- We should align the IOUQuote content start so that it does not take the full width of the container. https://github.com/Expensify/App/blob/ed0eae8eeccdb3054d56339bbefb783d29ce4de2/src/components/ReportActionItem/IOUQuote.js#L34
I see this UI can be improved as well. Such as two views can be removed.
This will fix this.
<View style={[styles.chatItemMessage]}>
{_.map(action.message, (fragment, index) => (
<View key={`iouQuote-${action.sequenceNumber}-${index}`} style={[styles.alignItemsStart, styles.blockquote]}>
<Text style={[styles.chatItemMessage]}>
{fragment.text}
</Text>
{shouldShowViewDetailsLink && (
<Text
style={[styles.chatItemMessageLink, styles.alignSelfStart]}
onPress={onViewDetailsPressed}
>
{translate('iou.viewDetails')}
</Text>
)}
</View>
))}
</View>
Video for the issue. attached is corrupt. @isagoico
https://user-images.githubusercontent.com/24370807/136852437-04c535e5-44b6-4f0b-bbea-0fe766007fe8.mp4
Looks good for UpWork 👍 adding External label
Triggered auto assignment to @laurenreidexpensify (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.
https://www.upwork.com/jobs/~01e19e81afbed9cb10
Triggered auto assignment to @chiragsalian (Exported), see https://stackoverflow.com/c/expensify/questions/7972 for more details.
This can be off N6-hold. Seems important change to me as it blocks the contextMenu. @chiragsalian
@chiragsalian Let's get this rolling. Please. Proposal https://github.com/Expensify/App/issues/5757#issuecomment-940421389.
Ah yup, we're out of N6. Removing the HOLD. Proposal LGTM as well. @laurenreidexpensify, feel free to hire rajat in upwork. @parasharrajat, feel free to create the PR 🙂
Hired!
The solution for this issue has been :rocket: deployed to production :rocket: in version 1.1.10-2 and is now subject to a 7-day regression period :calendar:. Here is the list of pull requests that resolve this issue:
- https://github.com/Expensify/App/pull/5941
If no regressions arise, payment will be issued on 2021-11-04. :confetti_ball:
Issuing payment for bug report + deploy to @parasharrajat now