Skip to content

Expensify Card - Empty state card is top centered instead of middle centered #46488

Closed

Description

@izarutskaya

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.0.14-2
Reproducible in staging?: Y
Reproducible in production?: N
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team

Action Performed:

  1. Launch New Expensify app.
  2. Go to workspace settings.
  3. Go to Expensify Card.

Expected Result:

The empty state card will be middle centered (production behavior).

Actual Result:

Empty state card is top centered instead of middle centered.

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Bug6557060_1722324180554.ScreenRecording_07-30-2024_15-18-34_1.mp4

Bug6557060_1722324180584!production

View all open jobs on GitHub

Activity

  1. added
    DeployBlockerCashThis issue or pull request should block deployment
    BugSomething is broken. Auto assigns a BugZero manager.
    DeployBlockerIndicates it should block deploying the API
    on Jul 30, 2024
  2. melvin-bot commented on Jul 30, 2024

    @melvin-bot

    Triggered auto assignment to @OfstadC (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 Jul 30, 2024

    @melvin-bot

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

  4. github-actions commented on Jul 30, 2024

    @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.
  5. izarutskaya commented on Jul 30, 2024

    @izarutskaya
    Author

    We think this issue might be related to the #collect project.

  6. nyomanjyotisa commented on Jul 30, 2024

    @nyomanjyotisa
    Member

    Proposal

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

    What is the root cause of that problem?

    Coming from #45996

    Justify content set to flex-start if isSmallScreenWidth true

    emptyStateForegroundStyles={isSmallScreenWidth && {justifyContent: 'flex-start'}}

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

    We should change that to the following to make it center like on production and with the new button margin

    emptyStateForegroundStyles={isSmallScreenWidth && {top: -(BUTTON_HEIGHT + BUTTON_MARGIN)}}
    

    image

    What alternative solutions did you explore? (Optional)

  7. allgandalf commented on Jul 30, 2024

    @allgandalf
    Contributor

    @DylanDylann @koko57 Was this intentional ?

  8. 18 remaining items

  9. DylanDylann commented on Aug 5, 2024

    @DylanDylann
    Contributor

    @anmurali Please assign me and @koko57 to this issue

  10. koko57 commented on Aug 6, 2024

    @koko57
    Contributor

    @DylanDylann PR ready for review #46860

  11. self-assigned this
    on Aug 8, 2024
  12. melvin-bot commented on Aug 29, 2024

    @melvin-bot

    This issue has not been updated in over 15 days. @youssef-lr, @anmurali, @koko57, @mountiny, @DylanDylann 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!

  13. koko57 commented on Aug 30, 2024

    @koko57
    Contributor

    @mountiny I think we can close it

  14. mountiny commented on Sep 2, 2024

    @mountiny
    Contributor

    Thanks!

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

Metadata

Metadata

Labels

BugSomething is broken. Auto assigns a BugZero manager.EngineeringMonthlyKSv2ReviewingHas a PR in review

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions