Skip to content

[$250] IOU - View details expense page in Report is messed #74408

Closed

Description

@lanitochka17

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.2.45-1
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Email or phone of affected tester (no customers): gocemate+b2154962@gmail.com
Issue reported by: Applause - Internal Team

Action Performed:

  1. Login with gmail account
  2. Complete the onboarding modal
  3. On Take as to test drive modal add email address and hit Start test drive button
  4. Complete the expense creating process
  5. Go to Reports and click on the expense
  6. Click on More button and select View details

Expected Result:

Expense details should be clearly visible

Actual Result:

View details expense page is messed

Workaround:

Unknown

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

Add any screenshot/video evidence
Bug6995524_1762387112091.Recording__6599.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021986499365085930163
  • Upwork Job ID: 1986499365085930163
  • Last Price Increase: 2025-11-06
  • Automatic offers:
    • nkdengineer | Contributor | 109423536

Activity

  1. added
    Daily
    Bug
    on Nov 6, 2025
  2. melvin-bot commented on Nov 6, 2025

    @melvin-bot

    Triggered auto assignment to @heyjennahay (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. mukhrr commented on Nov 6, 2025

    @mukhrr
    Contributor

    Proposal

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

    View details expense page in Report is messed when there is WS name in a row

    Image

    What is the root cause of that problem?

    Number of lines is set explicitly to 1. And when there is workspace name in a row, style is broken.

    <Text
    style={[styles.optionAlternateText, styles.textLabelSupporting, styles.flex1, textStyles]}
    numberOfLines={1}

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

    We need to set lines amount to 2 when there is WS name

        const hasWorkspaceName = !!workspaceName && workspaceName !== reportName
    
                <Text
                    style={[styles.optionAlternateText, styles.textLabelSupporting, styles.flex1, textStyles]}
                    numberOfLines={hasWorkspaceName ? 2 : 1}
    //existing logic

    We may need to give textStyles.center if we want. These things can be discussed in PR phase with design team. And passing number of lines as a prop or setting inside component can be discussed in PR as it is not a serios deal

    What alternative solutions did you explore? (Optional)

  4. nkdengineer commented on Nov 6, 2025

    @nkdengineer
    Contributor

    Proposal

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

    View details expense page is messed

    What is the root cause of that problem?

    We don't set the width style for the wrap view, and the name is in one line. Then, if the content is too long, it's messed up

    <View style={[styles.flexRow, styles.alignItemsCenter]}>

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

    1. We should add styles.w100 to the wrap view here or we can control this via a style prop

    <View style={[styles.flexRow, styles.alignItemsCenter]}>

    1. Define a subtitleNumberOfLines prop with a default value is 1. We shouldn't always add the numberOfLines as 0 or 2 since we don't want the content to be in multiple lines in the header of the report screen.

    We can also add styles.textAlignCenter via textStyles if needed.

    numberOfLines ={subtitleNumberOfLines}
    

    and then pass subtitleNumberOfLines={0} here since I don't think we want to trunc the report name in the detail page here. We can pass 2 or another line we want in the PR.

    <ParentNavigationSubtitle

    1. I noticed that the In content in the subtitle of test drive expense has disappeared after reset cache. We can also discuss this issue in PR if needed

    What alternative solutions did you explore? (Optional)

    NA

    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.

  5. added
    External
    on Nov 6, 2025
  6. changed the title [-]IOU - View details expense page in Report is messed[/-] [+][$250] IOU - View details expense page in Report is messed[/+] on Nov 6, 2025
  7. melvin-bot commented on Nov 6, 2025

    @melvin-bot
  8. added
    Help Wanted
    on Nov 6, 2025
  9. melvin-bot commented on Nov 6, 2025

    @melvin-bot

    Triggered auto assignment to Contributor-plus team member for initial proposal review - @dukenv0307 (External)

  10. dukenv0307 commented on Nov 7, 2025

    @dukenv0307
    Contributor

    @nkdengineer's proposal looks good to me

    🎀👀🎀 C+ reviewed

  11. melvin-bot commented on Nov 7, 2025

    @melvin-bot

    Triggered auto assignment to @Gonals, see https://stackoverflow.com/c/expensify/questions/7972 for more details.

  12. 14 remaining items

  13. melvin-bot commented on Dec 5, 2025

    @melvin-bot

    This issue has not been updated in over 15 days. @heyjennahay, @Gonals, @dukenv0307, @nkdengineer eroding to Monthly issue.

    P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!

  14. nkdengineer commented on Dec 5, 2025

    @nkdengineer
    Contributor

    @heyjennahay The automation failed, please handle the payment

  15. heyjennahay commented on Dec 5, 2025

    @heyjennahay
    Contributor

    Thanks for the bump @nkdengineer

    Can you please accept the Upwork offer per this comment #74408 (comment) so I can pay you?

  16. nkdengineer commented on Dec 5, 2025

    @nkdengineer
    Contributor

    @heyjennahay I get paid via NewDot now.

  17. heyjennahay commented on Dec 5, 2025

    @heyjennahay
    Contributor

    Ah thanks for clarifying.

    Payment summary:

    Confirming that Upwork job and offer have been closed

  18. added
    Weekly
    and removed on Dec 5, 2025
  19. twisterdotcom commented on Dec 12, 2025

    @twisterdotcom
    Contributor

    @dukenv0307 has submitted payment for this report on ND here.

    SO: https://stackoverflowteams.com/c/expensify/questions/7582

    Zapier Logs Run ID: 00040eee-ba00-aabb-bcb7-a65281e9bb44
  20. added and removed
    Weekly
    on Jan 1, 2026
  21. melvin-bot commented on Jan 1, 2026

    @melvin-bot

    This issue has not been updated in over 15 days. @heyjennahay, @Gonals, @dukenv0307, @nkdengineer eroding to Monthly issue.

    P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!

  22. heyjennahay commented on Jan 5, 2026

    @heyjennahay
    Contributor

    Closing this out as all steps are complete (except @nkdengineer requesting payment which doesn't need this GH to be left open for)

    Thanks everyone!

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

Metadata

Metadata

Labels

BugExternalMonthlyReviewing

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions