Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HOLD for payment 2024-09-16] [$125] Advanced approvals - Left and right side of the empty state image is cut off #48531

Closed
2 of 6 tasks
IuliiaHerets opened this issue Sep 4, 2024 · 18 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor

Comments

@IuliiaHerets
Copy link

IuliiaHerets commented Sep 4, 2024

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Version Number: 9.0.29-0
Reproducible in staging?: Y
Reproducible in production?: N
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team

Action Performed:

  1. Launch New Expensify app.
  2. Go to workspace settings > Workflows.
  3. Enable Add approvals.
  4. Click on the existing approval workflow.
  5. Click Additional approver.

Expected Result:

The empty state image will not be cut off.

Actual Result:

The left and right side of the empty state image is cut off.

Workaround:

Unknown

Platforms:

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

Screenshots/Videos

Bug6592373_1725411670665!ss
Bug6592373_1725411670725.cut.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01b31f1fa567915230
  • Upwork Job ID: 1831311067019688732
  • Last Price Increase: 2024-09-04
  • Automatic offers:
    • DylanDylann | Contributor | 103814857
Issue OwnerCurrent Issue Owner: @slafortune
@IuliiaHerets IuliiaHerets added DeployBlockerCash This issue or pull request should block deployment Bug Something is broken. Auto assigns a BugZero manager. labels Sep 4, 2024
Copy link

melvin-bot bot commented Sep 4, 2024

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

@melvin-bot melvin-bot bot added the Daily KSv2 label Sep 4, 2024
Copy link

melvin-bot bot commented Sep 4, 2024

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

@github-actions github-actions bot added Engineering Hourly KSv2 and removed Daily KSv2 labels Sep 4, 2024
Copy link
Contributor

github-actions bot commented Sep 4, 2024

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

@IuliiaHerets
Copy link
Author

We think that this bug might be related to #wave-control

@bernhardoj
Copy link
Contributor

bernhardoj commented Sep 4, 2024

Edited by proposal-police: This proposal was edited at 2024-09-04 09:56:00 UTC.

Proposal

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

The approver empty state icon is cut off.

What is the root cause of that problem?

The icon height is bigger (144) than the width that we set to the view (136).

<BlockingView
icon={Illustrations.TurtleInShell}
iconWidth={variables.emptyListIconWidth}
iconHeight={variables.emptyListIconHeight}
title={translate('workflowsPage.emptyContent.title')}
subtitle={translate('workflowsPage.emptyContent.approverSubtitle')}
subtitleStyle={styles.textSupporting}
containerStyle={styles.pb10}
/>

Also, we don't set the content fit prop and the content fit is cover by default, so the image/icon is cut off.

contentFit = 'cover',

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

First, set the content fit to contain.

contentFitImage='contain'

Then, we can keep the current size, 136, or increase it to 144.

Or change the default content fit to contain.

contentFit = 'cover',

@mountiny mountiny added Daily KSv2 External Added to denote the issue can be worked on by a contributor and removed DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 labels Sep 4, 2024
Copy link

melvin-bot bot commented Sep 4, 2024

Job added to Upwork: https://www.upwork.com/jobs/~01b31f1fa567915230

@melvin-bot melvin-bot bot changed the title Advanced approvals - Left and right side of the empty state image is cut off [$250] Advanced approvals - Left and right side of the empty state image is cut off Sep 4, 2024
@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Sep 4, 2024
Copy link

melvin-bot bot commented Sep 4, 2024

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

@mountiny mountiny changed the title [$250] Advanced approvals - Left and right side of the empty state image is cut off [$125] Advanced approvals - Left and right side of the empty state image is cut off Sep 4, 2024
Copy link

melvin-bot bot commented Sep 4, 2024

Upwork job price has been updated to $125

@mountiny
Copy link
Contributor

mountiny commented Sep 4, 2024

This is a minor ui thing. @bernhardoj can you identify which PR caused this?

@bernhardoj
Copy link
Contributor

The approver empty view was recently added in #47848

@mountiny mountiny assigned DylanDylann and unassigned fedirjh Sep 4, 2024
@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Sep 4, 2024
Copy link

melvin-bot bot commented Sep 4, 2024

📣 @DylanDylann 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app!

Offer link
Upwork job
Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑‍💻
Keep in mind: Code of Conduct | Contributing 📖

@mountiny
Copy link
Contributor

mountiny commented Sep 4, 2024

Adding @DylanDylann as a C+ from the offending PR

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 labels Sep 4, 2024
@bernhardoj
Copy link
Contributor

PR is ready

@DylanDylann
Copy link
Contributor

@slafortune let's pay @bernhardoj only and close this one. The checklist is no need here.

@mountiny mountiny changed the title [$125] Advanced approvals - Left and right side of the empty state image is cut off [HOLD for payment 2024-09-16] [$125] Advanced approvals - Left and right side of the empty state image is cut off Sep 16, 2024
@mountiny mountiny added Daily KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Reviewing Has a PR in review Weekly KSv2 labels Sep 16, 2024
@mountiny
Copy link
Contributor

$125 to @bernhardoj

@bernhardoj
Copy link
Contributor

Requested in ND.

@JmillsExpensify
Copy link

$125 approved for @bernhardoj

@DylanDylann
Copy link
Contributor

@slafortune @mountiny Let's close this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor
Projects
None yet
Development

No branches or pull requests

7 participants