Skip to content

[Due for Payment 8th July] [$250] [Translations] Left Hand Bar - Padding and Truncation #64342

Description

@trjExpensify

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: v9.1.67-2 PR:64282
Reproducible in staging?: Adhoc Build
Reproducible in production?: Adhoc Build
If this was caught during regression testing, add the test name, ID and link from TestRail: No
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @trjExpensify
Slack conversation (hyperlinked to channel name): #convert

Action Performed:

  1. Sign-in on this build
  2. Click Settings > Preferences > Languages > Deutsch
  3. Observe the "Workspaces" label name in the LHB isn't truncated.
  4. Go back to the language selector > choose Italiano
  5. Observe the "Inbox" label name has incorrect horizontal padding

Expected Result:

Let's add 4px of horizontal padding to each tab bar item on both desktop and mobile to give ourselves some breathing room:

Image

On desktop:
If the label is one long word, let's truncate via ellipsis after one line:
Image

If the label is multiple words, let's try to break the line and stack them like so:
Image

For that case, we would need to remove the 16px height from the label so the content of the tab bar can shift upwards slightly.

On mobile:
Let's always truncate after one line:
Image

Here is generally what we want:

Image

Actual Result:

One word label isn't truncated:

Image

Multi-word label on Inbox doesn't break onto two lines (look at the workspaces tab below for comparison which does):

Image

Workaround:

N/A

Platforms:

Select the officially supported platforms where the issue was reproduced:

  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari
  • MacOS: Desktop
Platforms Tested: On which of our officially supported platforms was this issue tested:
  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

In-line above.

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021937445989539434712
  • Upwork Job ID: 1937445989539434712
  • Last Price Increase: 2025-06-24
Issue OwnerCurrent Issue Owner: @hungvu193

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.ExternalAdded to denote the issue can be worked on by a contributorWeeklyKSv2

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions