Skip to content
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

[$1000] Android - App displays broken message text without email for existing email contact on user details #23723

Closed
1 of 6 tasks
kbecciv opened this issue Jul 27, 2023 · 25 comments
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Internal Requires API changes or must be handled by Expensify staff

Comments

@kbecciv
Copy link

kbecciv commented Jul 27, 2023

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Action Performed:

  1. Open the app on android
  2. Open any report
  3. Mention email only user to whom you have already chatted before (user email should not have dot in its email before @) and send the message
  4. Click on mention to open details page and observe that app does not display email besides 'message' and also paritally cut the message text

Expected Result:

App should display user email beside 'message' on user details page. If the email is too long, it should display similar to this, where ... are on the far right of the screen
image

Actual Result:

App does not display user email besides message on user details and displays truncated 'message' if we had already chatted with user and user email has no dot before @

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android / native
  • Android / Chrome
  • iOS / native
  • iOS / Safari
  • MacOS / Chrome / Safari
  • MacOS / Desktop

Version Number: v1.3.43-7
Reproducible in staging?: n/a
Reproducible in production?: n/a
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

user.details.message.truncated.no.email.1.mp4

Expensify/Expensify Issue URL:
Issue reported by: GH handle - @dhanashree-sawant
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1689956338921469

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~0114172bcac0ccb2df
  • Upwork Job ID: 1686155247894810624
  • Last Price Increase: 2023-07-31
@kbecciv kbecciv added Daily KSv2 Needs Reproduction Reproducible steps needed Bug Something is broken. Auto assigns a BugZero manager. labels Jul 27, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jul 27, 2023

Triggered auto assignment to @mallenexpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

@melvin-bot
Copy link

melvin-bot bot commented Jul 27, 2023

Bug0 Triage Checklist (Main S/O)

  • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
  • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
    • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
  • This bug is reproducible using the reproduction steps in the OP. S/O
    • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
    • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
  • This issue is filled out as thoroughly and clearly as possible
    • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
  • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

@melvin-bot melvin-bot bot added the Overdue label Jul 31, 2023
@mallenexpensify
Copy link
Contributor

Was able to repro, updated the Expected behavior with

App should display user email beside 'message' on user details page. If the email is too long, it should display similar to this, where ... are on the far right of the screen

image

@melvin-bot melvin-bot bot removed the Overdue label Jul 31, 2023
@mallenexpensify mallenexpensify added the External Added to denote the issue can be worked on by a contributor label Jul 31, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jul 31, 2023

Job added to Upwork: https://www.upwork.com/jobs/~0114172bcac0ccb2df

@melvin-bot melvin-bot bot changed the title Android - App displays broken message text without email for existing email contact on user details [$1000] Android - App displays broken message text without email for existing email contact on user details Jul 31, 2023
@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Jul 31, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jul 31, 2023

Current assignee @mallenexpensify is eligible for the External assigner, not assigning anyone new.

@mallenexpensify mallenexpensify removed Needs Reproduction Reproducible steps needed Help Wanted Apply this label when an issue is open to proposals by contributors labels Jul 31, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jul 31, 2023

Triggered auto assignment to Contributor-plus team member for initial proposal review - @thesahindia (External)

@hoangzinh
Copy link
Contributor

hoangzinh commented Aug 1, 2023

Proposal

Please re-state the problem that we are trying to solve in this issue.

Android - App displays broken message text without email for existing email contact on user details

What is the root cause of that problem?

We're missing style for the menu item message here

<MenuItem
title={`${props.translate('common.message')}${details.displayName}`}
icon={Expensicons.ChatBubble}
onPress={() => Report.navigateToAndOpenReport([login])}
wrapperStyle={styles.breakAll}
shouldShowRightIcon
/>

We need to specific how much space the title style should take

What changes do you think we should make in order to solve the problem?

We can add styles.w100 or styles.flex1 into props titleStyle of component MenuItem in those LOC

Result:
Screenshot 2023-08-01 at 07 28 11

@thesahindia
Copy link
Member

@hoangzinh, your solution didn't work for me. Can you test your solution again?

@hoangzinh
Copy link
Contributor

hoangzinh commented Aug 1, 2023

@thesahindia It's weird. It works well on my end

Screen.Recording.2023-08-02.at.06.05.07.mp4

@melvin-bot melvin-bot bot added the Overdue label Aug 3, 2023
@melvin-bot
Copy link

melvin-bot bot commented Aug 4, 2023

@mallenexpensify, @thesahindia Whoops! This issue is 2 days overdue. Let's get this updated quick!

@melvin-bot
Copy link

melvin-bot bot commented Aug 8, 2023

@mallenexpensify, @thesahindia Still overdue 6 days?! Let's take care of this!

@SosenWiosen
Copy link
Contributor

SosenWiosen commented Aug 9, 2023

I think this might be a duplication of #23769. Wasn't able to reproduce on the latest main - I think it was repaired in this PR #24142 . Will check if it occurs for me in earlier code.

@dhanashree-sawant
Copy link

Hi @SosenWiosen, @thesahindia, the issue is raised before #23769, if it was solved because of that issue, will it be eligible for reporting bonus?

@melvin-bot
Copy link

melvin-bot bot commented Aug 10, 2023

@mallenexpensify @thesahindia this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!

@melvin-bot
Copy link

melvin-bot bot commented Aug 10, 2023

@mallenexpensify, @thesahindia Now this issue is 8 days overdue. Are you sure this should be a Daily? Feel free to change it!

@thesahindia
Copy link
Member

Hi @SosenWiosen, @thesahindia, the issue is raised before #23769, if it was solved because of that issue, will it be eligible for reporting bonus?

cc: @mallenexpensify

@melvin-bot melvin-bot bot removed the Overdue label Aug 21, 2023
@melvin-bot melvin-bot bot added the Overdue label Aug 23, 2023
@mallenexpensify
Copy link
Contributor

Sorry for the lonnnnng delay, I was caught up in a deadline for another project.

#23769
Created on July 27th
image

This bug reported created on July 21
image

@dhanashree-sawant , it appears they are the same or similar, is there any way to 'prove' that the PR for that one fixed this? Asking cuz it's helpful to have a link to drop in for auditing purposes if I pay this out for the reporting bonus.

@melvin-bot melvin-bot bot removed the Overdue label Aug 23, 2023
@dhanashree-sawant
Copy link

From what I have seen in the PR and in that issue, root cause was 'The root cause is android use different way to break words' (taken from this proposal) and changes was made on both details and profile page. In this issue, we had the same root cause for 'Message' text truncate on details page. Since that PR also made the changes on Details page too, the following issue seems to be fixed due that.

@melvin-bot
Copy link

melvin-bot bot commented Aug 24, 2023

@mallenexpensify @thesahindia this issue is now 4 weeks old and preventing us from maintaining WAQ, can you:

  • Decide whether any proposals currently meet our guidelines and can be approved as-is today
  • If no proposals meet that standard, please take this issue internal and treat it as one of your highest priorities
  • If you have any questions, don't hesitate to start a discussion in #expensify-open-source

Thanks!

@melvin-bot melvin-bot bot added Internal Requires API changes or must be handled by Expensify staff and removed External Added to denote the issue can be worked on by a contributor labels Aug 24, 2023
@melvin-bot
Copy link

melvin-bot bot commented Aug 24, 2023

Current assignee @thesahindia is eligible for the Internal assigner, not assigning anyone new.

@melvin-bot melvin-bot bot added the Overdue label Aug 28, 2023
@melvin-bot
Copy link

melvin-bot bot commented Aug 29, 2023

@mallenexpensify, @thesahindia Eep! 4 days overdue now. Issues have feelings too...

@mallenexpensify
Copy link
Contributor

Thanks @dhanashree-sawant , it seems/sounds like, since you reported the issue first, you are due compensation for reporting the bug. (and, the other contributor was already compensated cuz that bug got fixed first so we can't/won't claw that payment back). Can you please accept the job and reply here once you have?
https://www.upwork.com/jobs/~0114172bcac0ccb2df

@melvin-bot melvin-bot bot removed the Overdue label Aug 30, 2023
@dhanashree-sawant
Copy link

Thanks @mallenexpensify, I have accepted the offer.

@melvin-bot melvin-bot bot added the Overdue label Sep 1, 2023
@melvin-bot
Copy link

melvin-bot bot commented Sep 4, 2023

@mallenexpensify, @thesahindia Eep! 4 days overdue now. Issues have feelings too...

@mallenexpensify
Copy link
Contributor

Issue reporter: @dhanashree-sawant paid $250 via Upwork

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Internal Requires API changes or must be handled by Expensify staff
Projects
None yet
Development

No branches or pull requests

6 participants