You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Android - Onboarding - FAB button in task description is misaligned with small/large font #56341
Version Number: 9.0.94-1 Reproducible in staging?: Yes Reproducible in production?: N/A - new feature, doesn't exist in prod If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: Yes, reproducible on both If this was caught during regression testing, add the test name, ID and link from TestRail: Exp Email or phone of affected tester (no customers):applausetester+sj9032@applause.expensifail.com Issue reported by: Applause Internal Team Device used: Samsung Galaxy Z Fold 4 / Android 14 App Component: Money Requests
Action Performed:
Precondition:
Device font size should be the smallest or the largest.
Go to staging.new.expensify.com
Create a new Gmail account.
Select "Track and budget expenses" and complete the onboarding.
Log in with the same account on Android app.
Go to Concierge chat.
Tap "Track an expense" task.
Expected Result:
FAB button in the task description should be aligned properly when the device font is the smallest or the largest.
Actual Result:
FAB button in the task description is not aligned properly when the device font is the smallest or the largest.
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
Identify the pull request that introduced this issue and revert it.
changed the title [-]Android - Onboarding - FAB button in task description is misaligned when device font is[/-][+] Android - Onboarding - FAB button in task description is misaligned with small/large font?[/+]on Feb 4, 2025
changed the title [-] Android - Onboarding - FAB button in task description is misaligned with small/large font?[/-][+] Android - Onboarding - FAB button in task description is misaligned with small/large font[/+]on Feb 4, 2025
Activity
melvin-bot commentedon Feb 4, 2025
Triggered auto assignment to @Christinadobrzyn (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.melvin-bot commentedon Feb 4, 2025
Triggered auto assignment to @stitesExpensify (
DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.melvin-bot commentedon Feb 4, 2025
💬 A slack conversation has been started in #expensify-open-source
github-actions commentedon Feb 4, 2025
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
[-]Android - Onboarding - FAB button in task description is misaligned when device font is[/-][+] Android - Onboarding - FAB button in task description is misaligned with small/large font?[/+][-] Android - Onboarding - FAB button in task description is misaligned with small/large font?[/-][+] Android - Onboarding - FAB button in task description is misaligned with small/large font[/+]roryabraham commentedon Feb 4, 2025
Ok, looks like we have some special HTML rendering for a custom tag:
<custom_emoji>the one we've got is here:App/src/CONST.ts
Line 209 in e69cf96
roryabraham commentedon Feb 4, 2025
Looks like we just need to use dynamic icon size here
roryabraham commentedon Feb 4, 2025
I can work on this one
roryabraham commentedon Feb 4, 2025
Due to other issues, I think we'll be reverting the offending PR: #56362
roryabraham commentedon Feb 4, 2025
It looks like we can get the font scale dynamically from
useWindowDimensions: https://reactnative.dev/docs/usewindowdimensions#fontscaleSo I wrote some code to fix this in a pretty simple way:
roryabraham commentedon Feb 5, 2025
offending PR has been reverted. Closing this out