App icon indicating copy to clipboard operation
App copied to clipboard

[HOLD for payment 2021-11-04] Clicking on the empty area right to the view details opens the IOU details page - @parasharrajat

Open isagoico opened this issue 5 years ago • 13 comments

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:

  1. Navigate to a conversation
  2. Request money to the user
  3. 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

View all open jobs on GitHub

isagoico avatar Oct 11 '21 20:10 isagoico

Triggered auto assignment to @NikkiWines (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

MelvinBot avatar Oct 11 '21 20:10 MelvinBot

Proposal

  1. 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>

parasharrajat avatar Oct 11 '21 20:10 parasharrajat

Video for the issue. attached is corrupt. @isagoico

https://user-images.githubusercontent.com/24370807/136852437-04c535e5-44b6-4f0b-bbea-0fe766007fe8.mp4

parasharrajat avatar Oct 11 '21 20:10 parasharrajat

Looks good for UpWork 👍 adding External label

NikkiWines avatar Oct 11 '21 20:10 NikkiWines

Triggered auto assignment to @laurenreidexpensify (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

MelvinBot avatar Oct 11 '21 20:10 MelvinBot

https://www.upwork.com/jobs/~01e19e81afbed9cb10

laurenreidexpensify avatar Oct 12 '21 18:10 laurenreidexpensify

Triggered auto assignment to @chiragsalian (Exported), see https://stackoverflow.com/c/expensify/questions/7972 for more details.

MelvinBot avatar Oct 12 '21 18:10 MelvinBot

This can be off N6-hold. Seems important change to me as it blocks the contextMenu. @chiragsalian

parasharrajat avatar Oct 13 '21 19:10 parasharrajat

@chiragsalian Let's get this rolling. Please. Proposal https://github.com/Expensify/App/issues/5757#issuecomment-940421389.

parasharrajat avatar Oct 18 '21 23:10 parasharrajat

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 🙂

chiragsalian avatar Oct 19 '21 00:10 chiragsalian

Hired!

laurenreidexpensify avatar Oct 22 '21 07:10 laurenreidexpensify

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:

botify avatar Oct 28 '21 20:10 botify

Issuing payment for bug report + deploy to @parasharrajat now

laurenreidexpensify avatar Nov 04 '21 08:11 laurenreidexpensify