Skip to content

[Due for payment 2025-04-25] [$250] [Better Expense Report View] Use aspect-ratio for receipt thumbnail area of expense previews #59555

Closed

Description

@shawnborton

For expense previews on smaller screens (mobile), the overall width of the expense preview is skinnier and thus the receipt thumbnail feels "taller" in proportion to other expense previews, particularly desktop. If we use aspect-ratio, we always get a consistent proportionality. This will also ensure that eReceipts always get the same exact cut-off point.

CleanShot.2025-04-02.at.08.15.12.mp4

I think using aspect-ratio: 16 / 9 seems to give us a good proportion here.

Note

This is a follow up issue we're tracking from the Better Expense Preview follow ups

cc @trjExpensify @mountiny @mountiny @Expensify/design

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021907492451199835796
  • Upwork Job ID: 1907492451199835796
  • Last Price Increase: 2025-04-02
  • Automatic offers:
    • FitseTLT | Contributor | 106840549
Issue OwnerCurrent Issue Owner: @
Issue OwnerCurrent Issue Owner: @bfitzexpensify

Activity

  1. self-assigned this
    on Apr 2, 2025
  2. melvin-bot commented on Apr 2, 2025

    @melvin-bot

    Current assignee @shawnborton is eligible for the Design assigner, not assigning anyone new.

  3. moved this to Second Cohort - MEDIUM or LOW in [#whatsnext] #migrateon Apr 2, 2025
  4. changed the title [-]Use aspect-ratio for receipt thumbnail area of expense previews[/-] [+][Better Expense Report View] Use aspect-ratio for receipt thumbnail area of expense previews[/+] on Apr 2, 2025
  5. added
    External
    Bug
    on Apr 2, 2025
  6. changed the title [-][Better Expense Report View] Use aspect-ratio for receipt thumbnail area of expense previews[/-] [+][$250] [Better Expense Report View] Use aspect-ratio for receipt thumbnail area of expense previews[/+] on Apr 2, 2025
  7. melvin-bot commented on Apr 2, 2025

    @melvin-bot
  8. added
    Help Wanted
    on Apr 2, 2025
  9. melvin-bot commented on Apr 2, 2025

    @melvin-bot

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

  10. 37 remaining items

  11. melvin-bot commented on Apr 18, 2025

    @melvin-bot

    Reviewing label has been removed, please complete the "BugZero Checklist".

  12. melvin-bot commented on Apr 18, 2025

    @melvin-bot

    The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.29-10 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-04-25. 🎊

    For reference, here are some details about the assignees on this issue:

  13. melvin-bot commented on Apr 18, 2025

    @melvin-bot

    @mountiny @bfitzexpensify @ntdiary / @FitseTLT 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]

  14. added
    Daily
    and removed
    Weekly
    on Apr 25, 2025
  15. melvin-bot commented on Apr 28, 2025

    @melvin-bot

    @bfitzexpensify Whoops! This issue is 2 days overdue. Let's get this updated quick!

  16. ntdiary commented on Apr 29, 2025

    @ntdiary
    Contributor

    BugZero Checklist:

    • [Contributor] Classify the bug:
    Bug classification

    Source of bug:

    • 1a. Result of the original design (eg. a case wasn't considered)
    • 1b. Mistake during implementation
    • 1c. Backend bug
    • 1z. Other: UI improvement

    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:
    • [Contributor] 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

    • [Contributor] 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

    • [Contributor] 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.
      This is just a UI style improvement, I personally don’t think it needs a regression test. :)

    Regression Test Proposal Template
    • [BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.

      Link to issue:

    Regression Test Proposal

    Precondition:

    Test:

    Do we agree 👍 or 👎

  17. mallenexpensify commented on Apr 29, 2025

    @mallenexpensify
    Contributor

    Contributor: @FitseTLT paid $250 via Upwork
    Contributor+: @ntdiary due $250 via NewDot.

    @ntdiary , please propose regression test steps.

  18. ntdiary commented on Apr 30, 2025

    @ntdiary
    Contributor

    This is just a UI style improvement, I personally don’t think it needs a regression test. :)

    @ntdiary , please propose regression test steps.

    @mallenexpensify, from a UI perspective, we only changed the image container's aspect ratio to 16/9, which might be somewhat challenging for QA to verify, so I didn't propose a regression test. 😂

  19. melvin-bot commented on Apr 30, 2025

    @melvin-bot

    @bfitzexpensify Huh... This is 4 days overdue. Who can take care of this?

  20. moved this from Second Cohort - MEDIUM or LOW to Done in [#whatsnext] #migrateon May 1, 2025
  21. JmillsExpensify commented on May 5, 2025

    @JmillsExpensify
    Contributor

    $250 approved for @ntdiary

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

Metadata

Metadata

Labels

Awaiting PaymentBugDailyDesignExternal

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions