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 2023-11-20] [$125] Dot separator in the report preview component appears bottom aligned #29543

Closed
2 of 6 tasks
trjExpensify opened this issue Oct 13, 2023 · 43 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 External Added to denote the issue can be worked on by a contributor

Comments

@trjExpensify
Copy link
Contributor

trjExpensify commented Oct 13, 2023

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: v1.3.83-10
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @trjExpensify
Slack conversation: (internal)

Action Performed:

  1. Global create > request money
  2. Create a request
  3. As the payer, click Pay elsewhere to settle up
  4. Observe the "Cash - Paid elsehwere" dot separator position in the report preview component is bottom-aligned

Expected Result:

The dot separator should be center-aligned:

image

Actual Result:

It looks bottom-aligned:

image

Workaround:

Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Yes, visual design bug.

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

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

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01765a32b3ae401177
  • Upwork Job ID: 1712776284859080704
  • Last Price Increase: 2023-10-13
  • Automatic offers:
    • tienifr | Contributor | 27177642
Issue OwnerCurrent Issue Owner: @trjExpensify
@trjExpensify trjExpensify added External Added to denote the issue can be worked on by a contributor Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Oct 13, 2023
@trjExpensify trjExpensify self-assigned this Oct 13, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 13, 2023

Current assignee @trjExpensify is eligible for the Bug assigner, not assigning anyone new.

@melvin-bot melvin-bot bot changed the title Dot separator in the report preview component appears bottom aligned [$500] Dot separator in the report preview component appears bottom aligned Oct 13, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 13, 2023

Job added to Upwork: https://www.upwork.com/jobs/~01765a32b3ae401177

@melvin-bot
Copy link

melvin-bot bot commented Oct 13, 2023

Bug0 Triage Checklist (Main S/O)

  • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
  • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
    • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
  • This bug is reproducible using the reproduction steps in the OP. S/O
    • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
    • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
  • This issue is filled out as thoroughly and clearly as possible
    • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
  • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Oct 13, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 13, 2023

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

@trjExpensify
Copy link
Contributor Author

@shawnborton @dannymcclain @dubielzyk-expensify for vis and confirmation!

@trjExpensify
Copy link
Contributor Author

Also, when testing this I noticed that Distance has Done after the dot separator, but it should use the appropriate payment method like all other requests. E.g Paid or Paid elsewhere. We may as well fix that here as well. CC: @neil-marcellini @JmillsExpensify not sure when or why that happened.

image

@mountiny mountiny changed the title [$500] Dot separator in the report preview component appears bottom aligned [$125] Dot separator in the report preview component appears bottom aligned Oct 13, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 13, 2023

Upwork job price has been updated to $125

@tienifr
Copy link
Contributor

tienifr commented Oct 13, 2023

Proposal

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

Dot separator in the report preview component appears bottom aligned

What is the root cause of that problem?

We're adding marginBottom: 4px for 2 texts but not icon

<Text style={[styles.textLabelSupporting, styles.mb1, styles.lh20]}>{getPreviewHeaderText()}</Text>
{isSettled && (
<>
<Icon
src={Expensicons.DotIndicator}
width={4}
height={4}
additionalStyles={[styles.mr1, styles.ml1]}
/>
<Text style={[styles.textLabelSupporting, styles.mb1, styles.lh20]}>{getSettledMessage()}</Text>

Screenshot 2023-10-13 at 17 31 18

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

Add styles.mb1 for Icon

Or we can remove styles.mb1 in both text component and add styles.mb1 to the wrapped view

Result

Screenshot 2023-10-13 at 17 33 07

@rushatgabhane
Copy link
Member

@tienifr proposal lgtm!

please raise a PR
cc @mountiny

@rushatgabhane
Copy link
Member

🎀 👀 🎀

@melvin-bot
Copy link

melvin-bot bot commented Oct 13, 2023

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

@fedirjh

This comment was marked as outdated.

@mountiny
Copy link
Contributor

@tienifr nice! Can you also include the change for the Done? Asking @trjExpensify what should go there instead

@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Oct 13, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 13, 2023

📣 @rushatgabhane Please request via NewDot manual requests for the Contributor role ($125)

@melvin-bot
Copy link

melvin-bot bot commented Oct 13, 2023

📣 @rushatgabhane Please request via NewDot manual requests for the Reviewer role ($125)

@trjExpensify trjExpensify changed the title [HOLD for payment 2023-10-23] [HOLD for payment 2023-10-23] [$125] Dot separator in the report preview component appears bottom aligned [$125] Dot separator in the report preview component appears bottom aligned Oct 23, 2023
@tienifr tienifr mentioned this issue Oct 24, 2023
59 tasks
@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 labels Oct 24, 2023
@tienifr
Copy link
Contributor

tienifr commented Oct 24, 2023

The PR fix: #30231 is up

@melvin-bot melvin-bot bot added Monthly KSv2 and removed Weekly KSv2 labels Nov 20, 2023
Copy link

melvin-bot bot commented Nov 20, 2023

This issue has not been updated in over 15 days. @trjExpensify, @rushatgabhane, @mountiny, @tienifr 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!

@mountiny mountiny added Daily KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Reviewing Has a PR in review Monthly KSv2 labels Nov 20, 2023
@mountiny mountiny changed the title [$125] Dot separator in the report preview component appears bottom aligned [HOLD for payment 2023-11-20] [$125] Dot separator in the report preview component appears bottom aligned Nov 20, 2023
@mountiny
Copy link
Contributor

I believe this is ready for payment now

@trjExpensify
Copy link
Contributor Author

We're still awaiting the checklist. Also, can we confirm the number of regressions here?

It seems like one so that takes us to $62.5 as the bounty due to @rushatgabhane & @tienifr, right?

@trjExpensify
Copy link
Contributor Author

Bump!

@melvin-bot melvin-bot bot added the Overdue label Nov 27, 2023
@trjExpensify
Copy link
Contributor Author

Bump, @rushatgabhane.

@melvin-bot melvin-bot bot added Daily KSv2 and removed Overdue Daily KSv2 labels Nov 27, 2023
@rushatgabhane
Copy link
Member

rushatgabhane commented Nov 29, 2023

  1. The PR that introduced the bug has been identified. Link to the PR: feat(26270): Add Skeleton UI for Money Requests #26613

  2. 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: https://github.com/Expensify/App/pull/26613/files#r1408803786

  3. A discussion in #expensify-bugs 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: Not required because small bug.

  4. Determine if we should create a regression test for this bug. No

  5. If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again - No

@rushatgabhane
Copy link
Member

@trjExpensify sorry for the delay 🙇 We can close this issue now

@trjExpensify
Copy link
Contributor Author

Do we need to issue payouts as per this? #29543 (comment)

@trjExpensify
Copy link
Contributor Author

Chatted to Rushat, yes payments are $62.50.

@JmillsExpensify
Copy link

$62.50 payment approved for @rushatgabhane based on the comment above.

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 External Added to denote the issue can be worked on by a contributor
Projects
None yet
Development

No branches or pull requests