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-21] [HOLD for payment 2023-11-17] Chat - Concierge Avatar is not centered #31080

Closed
6 tasks done
lanitochka17 opened this issue Nov 8, 2023 · 30 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Engineering Weekly KSv2

Comments

@lanitochka17
Copy link

lanitochka17 commented Nov 8, 2023

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.3.97.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:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:

Action Performed:

  1. Go to ND
  2. Log in with any account
  3. Select Concierge
  4. Click on avatar

Expected Result:

Avatars is centered

Actual Result:

Avatars is not 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

Add any screenshot/video evidence

Bug6269292_1699481763554.Recording__5288.mp4

Bug6269292_1699481837407!image__19_

Production

image (4)

View all open jobs on GitHub

@lanitochka17 lanitochka17 added DeployBlockerCash This issue or pull request should block deployment Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Nov 8, 2023
Copy link

melvin-bot bot commented Nov 8, 2023

Triggered auto assignment to @garrettmknight (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

Copy link

melvin-bot bot commented Nov 8, 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

@OSBotify
Copy link
Contributor

OSBotify commented Nov 8, 2023

👋 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 Nov 8, 2023

Triggered auto assignment to @deetergp (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

@ishpaul777
Copy link
Contributor

ishpaul777 commented Nov 8, 2023

Proposal

Problem

Avatars is not centered

Root Cause

We didnt added alignItems: 'center', in attachmentCarouselContainer causing this issue.
offending PR- #30995

Changes

Add alignItems: 'center' here or here.

@ZhenjaHorbach
Copy link
Contributor

ZhenjaHorbach commented Nov 8, 2023

regression this PR #30995

Proposal

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

Chat - Avatars is not centered

What is the root cause of that problem?

We center the image vertically only

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

we can update styles and add alignItems:'center' here

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

We don't need to add styles to attachmentCarouselContainer as this will break the carousel as in the first proposition

https://github.com/Expensify/App/blob/main/src/styles/styles.ts#L2520-L2526

Screenshot 2023-11-08 at 23 51 05

What alternative solutions did you explore? (Optional)

NA

@ZhenjaHorbach
Copy link
Contributor

@ishpaul777
Please add a comment that your second option was added after my explanations)

@ishpaul777
Copy link
Contributor

ishpaul777 commented Nov 8, 2023

Sorry but this was already spotted by me though you were still updating your proposal as i did

@ZhenjaHorbach
Copy link
Contributor

ZhenjaHorbach commented Nov 8, 2023

This is true
But in fact
The correct solution was proposed by me at first)

@ishpaul777
Copy link
Contributor

ishpaul777 commented Nov 8, 2023

Lets leave that too reviewer rca and offending pr was spotted already though your solution built upon that

@ZhenjaHorbach
Copy link
Contributor

ZhenjaHorbach commented Nov 8, 2023

It makes sense ))
And our propositionswere made within a minute of each other
So I doubt that my proposition was based on yours)

Copy link

melvin-bot bot commented Nov 8, 2023

⚠️ Looks like this issue was linked to a Deploy Blocker here

If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.

If a regression has occurred and you are the assigned CM follow the instructions here.

If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.

@deetergp
Copy link
Contributor

deetergp commented Nov 9, 2023

If putting alignItems:'center' in styles.attachmentCarouselContainer would fix this issue but introduce a regression elsewhere, the I'm inclined to go with @ZhenjaHorbach's proposal.

This comment was marked as off-topic.

@Beamanator Beamanator changed the title Chat - Avatars is not centered Chat - Concierge Avatar is not centered Nov 9, 2023
@garrettmknight garrettmknight removed the DeployBlockerCash This issue or pull request should block deployment label Nov 9, 2023
@garrettmknight
Copy link
Contributor

I don't think this needs to stop us deploying. @deetergp you reckon?

@Beamanator
Copy link
Contributor

@ZhenjaHorbach you mentioned that putting alignItems: 'center' in attachmentCarouselContainer style would cause a regression. Can you explain please? I tested briefly and haven't seen any regressions

@ZhenjaHorbach
Copy link
Contributor

ZhenjaHorbach commented Nov 9, 2023

@Beamanator
You can upload 2 images
And open one of them )
And this bug will be reproduced

Screen.Recording.2023-11-09.at.16.00.58.mov

@Beamanator
Copy link
Contributor

@ZhenjaHorbach I can reproduce, thanks!

@Beamanator
Copy link
Contributor

@ZhenjaHorbach it looks like your fix works very well, can you please submit a PR quickly & test on all platforms? 🙏

@ZhenjaHorbach
Copy link
Contributor

@ZhenjaHorbach it looks like your fix works very well, can you please submit a PR quickly & test on all platforms? 🙏

No problem )
I'll do this now)

@Beamanator
Copy link
Contributor

@ZhenjaHorbach so sorry, it looks like we have another idea for solving the regression which would be better, mentioned by the PR author here

@ZhenjaHorbach
Copy link
Contributor

@ZhenjaHorbach so sorry, it looks like we have another idea for solving the regression which would be better, mentioned by the PR author here

It's OK )

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Hourly KSv2 labels Nov 9, 2023
@Beamanator
Copy link
Contributor

Beamanator commented Nov 9, 2023

CPing fix PR

Copy link

melvin-bot bot commented Nov 10, 2023

⚠️ Looks like this issue was linked to a Deploy Blocker here

If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.

If a regression has occurred and you are the assigned CM follow the instructions here.

If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Nov 10, 2023
@melvin-bot melvin-bot bot changed the title Chat - Concierge Avatar is not centered [HOLD for payment 2023-11-17] Chat - Concierge Avatar is not centered Nov 10, 2023
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Nov 10, 2023
Copy link

melvin-bot bot commented Nov 10, 2023

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

Copy link

melvin-bot bot commented Nov 10, 2023

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.97-7 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 2023-11-17. 🎊

After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.

  • External issue reporter
  • Contributor that fixed the issue
  • Contributor+ that helped on the issue and/or PR

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

Copy link

melvin-bot bot commented Nov 10, 2023

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:

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

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels Nov 14, 2023
@melvin-bot melvin-bot bot changed the title [HOLD for payment 2023-11-17] Chat - Concierge Avatar is not centered [HOLD for payment 2023-11-21] [HOLD for payment 2023-11-17] Chat - Concierge Avatar is not centered Nov 14, 2023
Copy link

melvin-bot bot commented Nov 14, 2023

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.98-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 2023-11-21. 🎊

After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.

  • External issue reporter
  • Contributor that fixed the issue
  • Contributor+ that helped on the issue and/or PR

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

Copy link

melvin-bot bot commented Nov 14, 2023

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:

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

@garrettmknight
Copy link
Contributor

Since we didn't implement @ZhenjaHorbach's proposal so no payments on this one.

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 Weekly KSv2
Projects
None yet
Development

No branches or pull requests

7 participants