-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[$500] Android - LHN - Magic glass icon overlaps text #41349
Comments
Triggered auto assignment to @alexpensify ( |
@alexpensify FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors |
We think that this bug might be related to #vip-vsp |
ProposalPlease re-state the problem that we are trying to solve in this issue.Android - LHN - Magic glass icon overlaps text. What is the root cause of that problem?Text rendering can vary between platforms. https://www.codeclouds.com/blog/why-web-fonts-matter-a-short-history-and-future-of-font-rendering/ On Android, having text with center alignment doesn't center align the inline icons. What changes do you think we should make in order to solve the problem?Add this in
Update emptyLHNSubtitle to use the below:
What alternate options did you explore?Option 1: Update the below to use only text and no inline icons. We'll update the text based on this comment and icons would no longer be there. App/src/components/LHNOptionsList/LHNOptionsList.tsx Lines 70 to 102 in ff2b440
Option 2: We can remove We'll create a new style called In index.ts:
In index.android.ts:
|
Job added to Upwork: https://www.upwork.com/jobs/~01de95687e3aa21366 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @Santhosh-Sellavel ( |
@Santhosh-Sellavel - when you get a chance, can you please review if this proposal will fix the issue? Thanks! |
AFAIK We can use Icon inline in other places as well. So waiting for other proposals. |
@Santhosh-Sellavel My proposal doesn't change the functionality of inline icons at other places. |
Heads up, I will be offline until Tuesday, May 7, 2024, and will not actively watch over this GitHub during that period.If anything urgent is needed here, please ask for help in the #expensify-open-source Slack Room-- thanks! |
Yes, I am aware of that. Let's wait for other proposals. |
@alexpensify, @Santhosh-Sellavel Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Still waiting for other proposals. |
@alexpensify, @Santhosh-Sellavel Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
When we use center-alignment in Android, the text gets aligned but inline icons don't. So, I still think the way to solve this is to align text at left only in this case for Android. @alexpensify Can we get thoughts from internal engineer and design team? |
Proposal |
@alexpensify, @mallenexpensify, @Santhosh-Sellavel, @dubielzyk-expensify 6 days overdue. This is scarier than being forced to listen to Vogon poetry! |
@Santhosh-Sellavel 👀 plz on the updated proposal above from @ShridharGoel . Thx |
Can you reassign this @mallenexpensify, while I'm away. cc: @Expensify/contributor-plus Any volunteers please take, thanks! |
I can take over! |
I can help. |
@ShridharGoel Could you please explain the code Suggestion you posted and tell us about your changes? Also, how does it look on iPhone 14 pro and iPhone 8? we can not for sure use the android specific code so that is out of the picture. |
The updated solution uses flexbox to ensure proper alignment and spacing. |
Ok, I think we can go with @ShridharGoel's #41349 (comment). Their main solution looks good to me. Keeping the same icons mix string and align it well. 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @iwiznia, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@iwiznia we also need to swap C+ as per #41349 (comment) |
Assigned @ShridharGoel. Not sure how to trigger a new reassignment for C+ though... @mallenexpensify or @alexpensify do you know? |
@iwiznia @alexpensify @mallenexpensify @ShridharGoel @Santhosh-Sellavel @dubielzyk-expensify this issue is now 4 weeks old, please consider:
Thanks! |
Removed @Santhosh-Sellavel and assigned @parasharrajat . Should be all set. |
@ShridharGoel Feel free to move ahead with the PR as you are assigned. Offer can be sent later. |
Thanks, @mallenexpensify, for the help here. I'm back online and taking over again as the BZ member. |
@ShridharGoel When can we expect the PR? |
Version Number: 1.4.68-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: expensify.testrail.io/index.php?/cases/view/2990351
Issue reported by: Applause - Internal Team
Action Performed:
Precondition: User is logged in Android mobile application. Preferences - #focus
Unpin all chats in LHN
Mark all chats in LHN as read
Expected Result:
"All caught up.." UI is displayed. No visual issues with text
Actual Result:
"All caught up.." UI is displayed. Magic glass icon is overlaps the text annotation
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop
Screenshots/Videos
Add any screenshot/video evidence
Bug6466750_1714490725789!1714490435348
View all open jobs on GitHub
Issue Owner
Current Issue Owner: @Santhosh-SellavelThe text was updated successfully, but these errors were encountered: