-
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 2023-11-09] [$500] Settings - Long email address appears differently on the Android & mWeb #30023
Comments
Triggered auto assignment to @conorpendergrast ( |
Job added to Upwork: https://www.upwork.com/jobs/~01af2e4c9502542f72 |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @jjcoffee ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Long email address does not fill up the available width on the profile page on Android native as opposed to mWeb. What is the root cause of that problem?The Text component which displays the email address or display name in the InitialSetingsPage component does not automatically fill up the available space. App/src/pages/settings/InitialSettingsPage.js Lines 358 to 372 in 3b3d3d1
This also happens in the ProfilePage component. Lines 190 to 195 in 2f06347
What changes do you think we should make in order to solve the problem?In InitialSettingsPage, add Add the following styles to the Text component in ProfilePage.
What alternative solutions did you explore? (Optional)None. |
@akinwale Thanks for the proposal! LGTM but wondering if you have any insight as to why the behaviour is different on mWeb vs native? |
I'm not quite sure why it's happening on Android. There seems to be some sort of aggressive wrapping going on after the + sign in the text on native Android in order to display the ellipsis at the end. On Web, a |
Same root cause - #24339 |
Triggered auto assignment to @grgia, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@situchan Hmm I don't think the issues are really linked though, since the fix here is much more straightforward since we don't have to worry about causing any regressions from setting the header to 100% width. |
@jjcoffee you were asking about inconsistency so I explained why it's truncated in android native only. |
So it's related to |
@situchan Ah okay gotcha, thanks! I couldn't find the root cause in the issue you linked since that thread is so long 😅 I think setting the width to 100% works fine for us here. |
Waiting for @grgia to review (this was assigned on her Friday morning!) |
📣 @jjcoffee 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @akinwale 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@akinwale thank you for your proposal, assigning! |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.94-2 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 2023-11-09. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
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:
|
Regression test proposal
|
QA test request created: https://github.com/Expensify/Expensify/issues/334908 |
Payouts due: Issue Reporter: N/A - Applause
Eligible for 50% #urgency bonus? No (PR created before the announcement, but not merged within the urgency period) Upwork job is here. |
All done, thanks everyone |
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.3.87-1
Reproducible in staging?: Yes
Reproducible in production?: Yes
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:
Pre-condition: Use Long email address account
Expected Result:
An account with a long email address must appear in similar way in both Android & mWeb settings page
Actual Result:
An account with a long email address appears differently on the Android & mWeb settings page. The email address is truncated differently in mweb and Android
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Android: Native
Bug6243491_1697744147661.dis.mp4
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: