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
[HOLD for payment 2025-01-18] [$250] Chat - Title with /Inbox and /Reports is not aligned properly with minimum font size #54426
Version Number: 9.0.77-5 Reproducible in staging?: Y Reproducible in production?: Y If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: Y If this was caught during regression testing, add the test name, ID and link from TestRail: N/A Issue reported by: Applause - Internal Team
Action Performed:
Precondition: Change device font size to the minimum
Launch New Expensify hybrid app
Note that "/ Inbox" is not on the same line as Expensify logo
Tap Reports from the bottom
4, Note that "/ Reports" is not on the same line as Expensify logo
Expected Result:
Title with /Inbox and /Reports is aligned properly with minimum font size
Actual Result:
Title with /Inbox and /Reports is not aligned properly with minimum font size
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Android: Standalone
Android: HybridApp
Android: mWeb Chrome
iOS: Standalone
iOS: HybridApp
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop
Screenshots/Videos
Add any screenshot/video evidenceBug6699986_1734713614737.Small_font.mp4
Please re-state the problem that we are trying to solve in this issue.
The topbar breadcrumb title is not aligned properly with the Expensify logo
What is the root cause of that problem?
This was supposed to be handled in #36655, but looks like it's not covering the small font size correctly. We already resize the logo when the font size is reduced.
And since the Header parent doesn't have a flex style, the default flex direction is column which will take all available height when flex is 1.
What changes do you think we should make in order to solve the problem?
We need to center the logo too by passing a style of {justifyContent: 'center'} to the inner View here from the Breadcrumbs (this means we will have a new prop).
changed the title [-]Chat - Title with /Inbox and /Reports is not aligned properly with minimum font size[/-][+][$250] Chat - Title with /Inbox and /Reports is not aligned properly with minimum font size[/+]on Dec 23, 2024
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.83-5 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
@akinwale@Christinadobrzyn@akinwale The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]
1a. Result of the original design (eg. a case wasn't considered)
1b. Mistake during implementation
1c. Backend bug
1z. Other:
Where bug was reported:
2a. Reported on production (eg. bug slipped through the normal regression and PR testing process on staging)
2b. Reported on staging (eg. found during regression or PR testing)
2d. Reported on a PR
2z. Other:
Who reported the bug:
3a. Expensify user
3b. Expensify employee
3c. Contributor
3d. QA
3z. Other:
[@akinwale] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake.
Link to comment: N/A
[@akinwale] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner.
Link to discussion: N/A
[@akinwale] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.
[BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.
Activity
melvin-bot commentedon Dec 20, 2024
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.Christinadobrzyn commentedon Dec 20, 2024
Hum, I'm not sure if we're fixing this somewhere/sometime else.
@Expensify/design do you have any input on fixing this now or waiting until a big overhaul of all of this?
bernhardoj commentedon Dec 21, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue.
The topbar breadcrumb title is not aligned properly with the Expensify logo
What is the root cause of that problem?
This was supposed to be handled in #36655, but looks like it's not covering the small font size correctly. We already resize the logo when the font size is reduced.
App/src/components/Breadcrumbs.tsx
Lines 40 to 53 in 006a1df
The problem is, the / Inbox text is vertically center alligned, while the logo itself take the full height.

It's because we set a flex1 style here.
App/src/components/Header.tsx
Lines 67 to 78 in 006a1df
And since the Header parent doesn't have a flex style, the default flex direction is column which will take all available height when flex is 1.
What changes do you think we should make in order to solve the problem?
We need to center the logo too by passing a style of
{justifyContent: 'center'}to the inner View here from the Breadcrumbs (this means we will have a new prop).App/src/components/Header.tsx
Lines 67 to 68 in 006a1df
Result:
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
N/A
melvin-bot commentedon Dec 23, 2024
Auto-assign attempt failed, all eligible assignees are OOO.
Christinadobrzyn commentedon Dec 23, 2024
Adding the design label to see if we can get thoughts on fixing this somewhere else.
Christinadobrzyn commentedon Dec 23, 2024
I think let's just move forward with fixing this unless you think we should do otherwise @akinwale
[-]Chat - Title with /Inbox and /Reports is not aligned properly with minimum font size[/-][+][$250] Chat - Title with /Inbox and /Reports is not aligned properly with minimum font size[/+]40 remaining items
melvin-bot commentedon Jan 11, 2025
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Jan 11, 2025
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.83-5 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 2025-01-18. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Jan 11, 2025
@akinwale @Christinadobrzyn @akinwale The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]
Christinadobrzyn commentedon Jan 16, 2025
@akinwale do we need a regression test for this? TY!
akinwale commentedon Jan 18, 2025
BugZero Checklist:
Bug classification
Source of bug:
Where bug was reported:
Who reported the bug:
[@akinwale] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake.
Link to comment: N/A
[@akinwale] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner.
Link to discussion: N/A
[@akinwale] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.
[BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.
Link to issue: https://github.com/Expensify/Expensify/issues/462435
Regression Test Proposal
Precondition:
Test:
Do we agree 👍 or 👎?
melvin-bot commentedon Jan 18, 2025
Payment Summary
Upwork Job
BugZero Checklist (@Christinadobrzyn)
Christinadobrzyn commentedon Jan 18, 2025
payment day! Payment summary here - #54426 (comment)
Please make sure to submit a payment request in ND @akinwale and @bernhardoj!
Thanks for all your help!
bernhardoj commentedon Jan 19, 2025
Requested in ND.
JmillsExpensify commentedon Jan 21, 2025
$250 approved for @akinwale
JmillsExpensify commentedon Jan 22, 2025
$250 approved for @bernhardoj