Skip to content

[$125] Android - Expense - Total amount is cut off in the expense report #58205

Closed

Description

@IuliiaHerets

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: 9.1.11-1
Reproducible in staging?: Yes
Reproducible in production?: No
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+ps309@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 is minimum.
  1. Launch ND or hybrid app.
  2. Go to workspace chat.
  3. Submit an expense in foreign currency.
  4. Tap on the expense preview.

Expected Result:

Total amount will not appear cut off in the expense report.

Actual Result:

Total amount is cut off in the expense report.

Workaround:

Unknown

Platforms:

  • Android: Standalone
  • Android: HybridApp
  • Android: mWeb Chrome
  • iOS: Standalone
  • iOS: HybridApp
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Bug6767291_1741690370708.Screen_Recording_20250311_185004_Expensify.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021899755205225937253
  • Upwork Job ID: 1899755205225937253
  • Last Price Increase: 2025-03-19
Issue OwnerCurrent Issue Owner: @thesahindia

Activity

  1. added
    Bug
    DeployBlockerCash
    on Mar 11, 2025
  2. melvin-bot commented on Mar 11, 2025

    @melvin-bot

    Triggered auto assignment to @kadiealexander (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.

  3. melvin-bot commented on Mar 11, 2025

    @melvin-bot

    Triggered auto assignment to @danieldoglas (DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

  4. melvin-bot commented on Mar 11, 2025

    @melvin-bot

    💬 A slack conversation has been started in #expensify-open-source

  5. github-actions commented on Mar 11, 2025

    @github-actions
    Contributor

    👋 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:

    1. Identify the pull request that introduced this issue and revert it.
    2. Find someone who can quickly fix the issue.
    3. Fix the issue yourself.
  6. samranahm commented on Mar 11, 2025

    @samranahm
    Contributor

    🚨 Edited by proposal-police: This proposal was edited at 2025-03-11 12:57:15 UTC.

    Proposal

    Please re-state the problem that we are trying to solve in this issue.

    Android - Expense - Total amount is cut off in the expense report

    What is the root cause of that problem?

    Here

    <Text
    numberOfLines={1}
    style={[styles.taskTitleMenuItem, styles.alignSelfCenter, !isTotalUpdated && styles.offlineFeedback.pending]}
    >
    {formattedTotalAmount}

    We're not wrapping Text element like we did for total
    here

    <View style={[styles.flex1, styles.justifyContentCenter]}>
    <Text
    style={[styles.textLabelSupporting]}
    numberOfLines={1}
    >
    {translate('common.total')}

    What changes do you think we should make in order to solve the problem?

    we should wrap out text in view and add the same styles we apply on total text [styles.flex1, styles.alignItemsEnd]

    <View style={[styles.flex1, styles.alignItemsEnd]}>
        <Text
            numberOfLines={1}
            style={[styles.taskTitleMenuItem, styles.alignSelfCenter, !isTotalUpdated && styles.offlineFeedback.pending]}
        >
            {formattedTotalAmount}
        </Text>
    </View>

    What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?

    N/A

    What alternative solutions did you explore? (Optional)

    Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.

  7. github-actions commented on Mar 11, 2025

    @github-actions
    Contributor

    ⚠️ @samranahm Thanks for your proposal. Please update it to follow the proposal template, as proposals are only reviewed if they follow that format (note the mandatory sections).

  8. cristipaval commented on Mar 11, 2025

    @cristipaval
    Contributor

    Demoting: it is a visual minor thing happening in rare cases: Device font size has to be minimum.

  9. 42 remaining items

  10. melvin-bot commented on Mar 25, 2025

    @melvin-bot

    @danieldoglas @jliexpensify @dukenv0307 this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!

  11. dukenv0307 commented on Mar 26, 2025

    @dukenv0307
    Contributor
  12. shawnborton commented on Mar 26, 2025

    @shawnborton
    Contributor

    Well, I'm not sure if my question was answered. Do we need to adjust anything with the font size to fix the fact that it is getting cut off? Perhaps the container that wraps the font is too small or something and is cutting it off? Basically, I would love to be consistent here and keep the font size the same as elsewhere (since it's reusing an h2 style). @Themoonalsofall didn't really answer my question... do we need to add that style to actually fix the problem?

  13. shawnborton commented on Mar 27, 2025

    @shawnborton
    Contributor

    I don't think we need to do any of that personally. We don't want to reduce our font sizes.

    @dukenv0307 can we please evaluate other proposals? Thanks!

  14. dukenv0307 commented on Mar 29, 2025

    @dukenv0307
    Contributor

    @shawnborton @jliexpensify Seem like the issue is fixed somewhere. I can't reproduce anymore

  15. jliexpensify commented on Mar 30, 2025

    @jliexpensify
    Contributor

    Thanks @dukenv0307 and @Themoonalsofall - lets close this then!

  16. shawnborton commented on Mar 31, 2025

    @shawnborton
    Contributor

    That's great news!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

BugDailyEngineeringExternal

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions