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-06-29] [HOLD for payment 2023-06-28] Concierge - Concierge icon is not displaying in popup #20971

Closed
1 of 6 tasks
lanitochka17 opened this issue Jun 17, 2023 · 13 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 Engineering

Comments

@lanitochka17
Copy link

lanitochka17 commented Jun 17, 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!


Issue found when executing PR #20665

Action Performed:

  1. Access staging.new.expensify.com
  2. Sign into a valid account
  3. Search for concierge
  4. Hover on concierge name or avatar

Expected Result:

User should see the concierge icon along with the email address

Actual Result:

User only sees the email address and the icon is not displayed

Workaround:

Unknown

Platforms:

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

  • Android / native
  • Android / Chrome
  • iOS / native
  • iOS / Safari
  • MacOS / Chrome / Safari
  • MacOS / Desktop

Version Number: 1.3.29.0

Reproducible in staging?: Yes

Reproducible in production?: No

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

Notes/Photos/Videos: Any additional supporting documentation

Bug6097080_Concierge_icon_is_not_displayed
Recording.2656.mp4

Expensify/Expensify Issue URL:

Issue reported by: Applause - Internal Team

Slack conversation:

View all open jobs on GitHub

@lanitochka17 lanitochka17 added the DeployBlockerCash This issue or pull request should block deployment label Jun 17, 2023
@OSBotify
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.

@melvin-bot
Copy link

melvin-bot bot commented Jun 17, 2023

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

@allroundexperts
Copy link
Contributor

allroundexperts commented Jun 18, 2023

Proposal

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

Concierge icon not showing up in tooltip

What is the root cause of that problem?

The root cause of the issue is that getAccountIDForLogin function here is not migrated to use account ids and still assumes that the personalDetails are keyed by login instead of account ids . The function always returns '' for any login. This causes UserUtils.getAvatar(userDetails.avatar, userDetails.accountID) function to return the default avatar since the account id is empty. This can be seen here

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

We can alter the getAccountIDForLogin function such that is correctly returns the accountID for a given login. We can change the function to:

    return lodashGet(_.find(_.values(allPersonalDetails), (detail) => detail.login === login), 'accountID', '');

What alternative solutions did you explore? (Optional)

We can also just change this condition to:

    return isDefaultAvatar(avatarURL) && accountID ? getDefaultAvatar(accountID) : avatarURL;

@melvin-bot melvin-bot bot added Daily KSv2 and removed Hourly KSv2 labels Jun 18, 2023
@dhairyasenjaliya
Copy link
Contributor

dupe and known issue solved here @AndrewGable #20801

@Beamanator
Copy link
Contributor

Agreed, should be handled in #20822

@Beamanator
Copy link
Contributor

Contrib has a fix up! ^

@melvin-bot melvin-bot bot added the Reviewing Has a PR in review label Jun 19, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jun 19, 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
Copy link

melvin-bot bot commented Jun 19, 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.

@Beamanator
Copy link
Contributor

No longer a deploy blocker - fix was pushed to staging

Screenshot 2023-06-19 at 6 05 04 PM

@Beamanator Beamanator removed the DeployBlockerCash This issue or pull request should block deployment label Jun 19, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jun 19, 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 Daily KSv2 labels Jun 21, 2023
@melvin-bot melvin-bot bot changed the title Concierge - Concierge icon is not displaying in popup [HOLD for payment 2023-06-28] Concierge - Concierge icon is not displaying in popup Jun 21, 2023
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Jun 21, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jun 21, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented Jun 21, 2023

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

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

As a reminder, here are the bonuses/penalties that should be applied for any External issue:

  • Merged PR within 3 business days of assignment - 50% bonus
  • Merged PR more than 9 business days after assignment - 50% penalty

@melvin-bot melvin-bot bot removed the Weekly KSv2 label Jun 22, 2023
@melvin-bot melvin-bot bot added the Weekly KSv2 label Jun 22, 2023
@melvin-bot melvin-bot bot changed the title [HOLD for payment 2023-06-28] Concierge - Concierge icon is not displaying in popup [HOLD for payment 2023-06-29] [HOLD for payment 2023-06-28] Concierge - Concierge icon is not displaying in popup Jun 22, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jun 22, 2023

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.30-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-06-29. 🎊

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

As a reminder, here are the bonuses/penalties that should be applied for any External issue:

  • Merged PR within 3 business days of assignment - 50% bonus
  • Merged PR more than 9 business days after assignment - 50% penalty

@melvin-bot melvin-bot bot added Daily KSv2 Overdue and removed Weekly KSv2 labels Jun 27, 2023
@melvin-bot melvin-bot bot removed the Overdue label Jun 29, 2023
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 Daily KSv2 Engineering
Projects
None yet
Development

No branches or pull requests

6 participants