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-04-05] [$250] Chats - Expensify / Chats is not aligned on the same line #38298

Closed
6 tasks done
lanitochka17 opened this issue Mar 14, 2024 · 66 comments
Closed
6 tasks done
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Engineering External Added to denote the issue can be worked on by a contributor Weekly KSv2

Comments

@lanitochka17
Copy link

lanitochka17 commented Mar 14, 2024

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: 1.4.52-0
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team

Issue found when executing PR #37421

Action Performed:

  1. Go to staging.new.expensify.com
  2. Make sure the workspace filter is Expensify

Expected Result:

Expensify / Chats is aligned on the same line

Actual Result:

Expensify / Chats is not aligned on the same line

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

Add any screenshot/video evidence

Bug6413173_1710400313627!bandicam_2024-03-14_15-08-37-869

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01c8acccc3eea77881
  • Upwork Job ID: 1768272521223192576
  • Last Price Increase: 2024-03-14
  • Automatic offers:
    • cubuspl42 | Reviewer | 0
@lanitochka17 lanitochka17 added the DeployBlockerCash This issue or pull request should block deployment label Mar 14, 2024
Copy link
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.

Copy link

melvin-bot bot commented Mar 14, 2024

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

@lanitochka17
Copy link
Author

We think that this bug might be related to #vip-vsp
CC @quinthar

@lanitochka17
Copy link
Author

@amyevans FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

@mkhutornyi
Copy link
Contributor

mkhutornyi commented Mar 14, 2024

This is not blocker. Production doesn't have env badge.
Though I am curious why this was reported so late as happenning on dev/staging for a while.

Aka. prodution breadcrumbs are also misaligned

Screenshot 2024-03-14 at 2 20 51 pm

@mountiny mountiny added Daily KSv2 and removed DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 labels Mar 14, 2024
@MahmudjonToraqulov
Copy link
Contributor

MahmudjonToraqulov commented Mar 14, 2024

Proposal

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

Chats - Expensify / Chats is not aligned on the same line.

What is the root cause of that problem?

Offending PR:32221

This style is causing the issue.

<View style={styles.breadcrumbLogo}>

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

Remove style={styles.breadcrumbLogo} here:

<View style={styles.breadcrumbLogo}>

What alternative solutions did you explore? (Optional)

Add styles.alignItemsCenter here:

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

Result

With Environment Badge:

3223

Without Environment Badge:

122112

@mountiny
Copy link
Contributor

I think this might have started after the update to breadcrumbs scaling #36655 cc @dukenv0307

@Expensify/design

@shawnborton
Copy link
Contributor

Hmm that is definitely possible, and if so, let's treat it like a regression and have @dukenv0307 follow up with a fix.

@dukenv0307
Copy link
Contributor

@mountiny I just tested locally by reverting my PR and the result is the same. Correct me if I missed st.

Screenshot 2024-03-14 at 19 55 26

@mountiny
Copy link
Contributor

I think we can make it external then for $250

@mountiny mountiny added the External Added to denote the issue can be worked on by a contributor label Mar 14, 2024
@melvin-bot melvin-bot bot changed the title Chats - Expensify / Chats is not aligned on the same line [$500] Chats - Expensify / Chats is not aligned on the same line Mar 14, 2024
Copy link

melvin-bot bot commented Mar 14, 2024

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

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Mar 14, 2024
Copy link

melvin-bot bot commented Mar 14, 2024

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

@mountiny mountiny changed the title [$500] Chats - Expensify / Chats is not aligned on the same line [$250] Chats - Expensify / Chats is not aligned on the same line Mar 14, 2024
Copy link

melvin-bot bot commented Mar 14, 2024

Upwork job price has been updated to $250

@mountiny
Copy link
Contributor

for whatever proposal @MahmudjonToraqulov Could you please identify what PR caused this regression, I agree this cannot be more than couple releases old

@ghost
Copy link

ghost commented Mar 14, 2024

@mountiny @shawnborton @cubuspl42 Is this what you need ? Please let me know if that is the case then I will put down a proposal and also offending PR asap

Screenshot 2024-03-14 at 7 27 06 PM Screenshot 2024-03-14 at 7 36 41 PM

@MahmudjonToraqulov
Copy link
Contributor

UPDATED with offending PR

@cubuspl42
Copy link
Contributor

@godofoutcasts94

I keep forgetting about it. Sorry.

style={styles.breadcrumbLogo}

From my perspective, it has the same qualities as the first proposal, i.e. it looses the "pixel-perfect alignment". Also, it's last in the submitting order, so it would have to be measurably better than the one by @aneequeahmad to be selected.

But you're right that it should be included in the commentary.

@cubuspl42
Copy link
Contributor

cubuspl42 commented Mar 19, 2024

@MahmudjonToraqulov

What about my alternative solution?

I don't interpret the "What alternative solutions did you explore?" section like some other people do. For me, it's an optional section that's best suited for describing rejected solutions.

If you actually want to suggest two different solutions, which you both fully tested and are ready to sign under both, I think you should describe them as "Option A" / "Option B" in the "What changes do you think we should make in order to solve the problem?" section.

In the case of a visual issue like this one, you should provide screenshots for both "Option A" and "Option B".

Since this issue is "suspected" to be platform-specific, I think that screenshots for multiple platforms should be provided. At least iOS Native, Android Native, mobile Web (on minimum one OS), desktop Web (on one browser). You can use the<details> tag like in the template.

@aneequeahmad
Copy link
Contributor

@cubuspl42 here are screenshot of my proposal on different platforms.

iOS Native:

IOS_native

Android native:

Screenshot_20240319-032421

mobile Web (Safari):

mWeb

desktop Web(Mac Os/Chrome):

Screenshot_20240319-165139

@cubuspl42
Copy link
Contributor

It looks good, as far as I can tell!

I approve the proposal by @aneequeahmad

I base my decision on a mix of simplicity, effectiveness, and the order of submission.

Thanks, everyone!

C+ reviewed 🎀 👀 🎀

Copy link

melvin-bot bot commented Mar 19, 2024

Current assignees @puneetlath and @amyevans are eligible for the choreEngineerContributorManagement assigner, not assigning anyone new.

@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Mar 19, 2024
Copy link

melvin-bot bot commented Mar 19, 2024

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

Offer link
Upwork job

Copy link

melvin-bot bot commented Mar 19, 2024

📣 @aneequeahmad You have been assigned to this job!
Please apply to the Upwork job and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑‍💻
Once you apply to this job, your Upwork ID will be stored and you will be automatically hired for future jobs!
Keep in mind: Code of Conduct | Contributing 📖

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 labels Mar 24, 2024
@aneequeahmad
Copy link
Contributor

@cubuspl42 PR is ready for review

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Mar 29, 2024
@melvin-bot melvin-bot bot changed the title [$250] Chats - Expensify / Chats is not aligned on the same line [HOLD for payment 2024-04-05] [$250] Chats - Expensify / Chats is not aligned on the same line Mar 29, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Mar 29, 2024
Copy link

melvin-bot bot commented Mar 29, 2024

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

Copy link

melvin-bot bot commented Mar 29, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.57-5 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 2024-04-05. 🎊

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

Copy link

melvin-bot bot commented Mar 29, 2024

BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

  • [@cubuspl42] The PR that introduced the bug has been identified. Link to the PR:
  • [@cubuspl42] 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:
  • [@cubuspl42] 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:
  • [@cubuspl42] Determine if we should create a regression test for this bug.
  • [@cubuspl42] 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.
  • [@puneetlath] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@puneetlath
Copy link
Contributor

@cubuspl42 friendly reminder on the checklist so that we can pay tomorrow.

@cubuspl42
Copy link
Contributor

  • The PR that introduced the bug has been identified. Link to the PR:
  • 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:
  • 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:
    • No need for additional discussion
  • Determine if we should create a regression test for this bug.
    • No
  • 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.
    • N/A

@puneetlath
Copy link
Contributor

@cubuspl42 has been paid.

@aneequeahmad I sent you an offer here. Ping me on this issue when you've accepted.

@aneequeahmad
Copy link
Contributor

@puneetlath I have accepted the offer. Thank you for mentioning

@aneequeahmad
Copy link
Contributor

@puneetlath Friendly reminder

@puneetlath
Copy link
Contributor

Everyone has been paid. Thanks y'all!

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. Engineering External Added to denote the issue can be worked on by a contributor Weekly KSv2
Projects
No open projects
Archived in project
Development

No branches or pull requests