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-13] Expense - Workspace avatar and name change after creating a workspace expense #30846

Closed
6 tasks done
kbecciv opened this issue Nov 3, 2023 · 21 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

Comments

@kbecciv
Copy link

kbecciv commented Nov 3, 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.95.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. Navigate to staging.new.expensify.com
  2. Create a new workspace.
  3. Go to workspace chat.
  4. Click + > Request money.
  5. Create a manual request.

Expected Result:

The workspace avatar and name in the expense preview match the actual workspace avatar and name.

Actual Result:

The workspace avatar and name in the expense preview change. The name is changed to the requester name.

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

Bug6262296_1699019059636.20231103_210231.mp4

View all open jobs on GitHub

@kbecciv kbecciv added the DeployBlockerCash This issue or pull request should block deployment label Nov 3, 2023
@OSBotify
Copy link
Contributor

OSBotify commented Nov 3, 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 3, 2023

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

@dangrous
Copy link
Contributor

dangrous commented Nov 3, 2023

I'm guessing it might be related to #30591 but I'm confirming (running into a crash prior to creating a money request on dev so haven't been able to test yet)

@dangrous
Copy link
Contributor

dangrous commented Nov 3, 2023

nope, not #30591. Although the optimistic data IS weird, it's not related to this bug. Looking more.

Copy link

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

@s-alves10
Copy link
Contributor

Looks like a regression of this PR

@s-alves10
Copy link
Contributor

This change is the source of this issue

@dangrous
Copy link
Contributor

dangrous commented Nov 3, 2023

Nicely found, @s-alves10 . Looks like changing that to:

    const primaryDisplayName = isWorkspaceActor ? displayName : ReportUtils.getDisplayNameForParticipant(actorAccountID);

works well, though I need to see if there are any unexpected consequences there

@dangrous
Copy link
Contributor

dangrous commented Nov 3, 2023

I'm going to go ahead and put up a PR with that ^ solution, since we haven't heard anything from the PR authors. I'm going to be AFK for a couple hours (driving to the airport) so I figure that's a good next step in the meantime

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

@dangrous are you creating a PR for this, or should I prepare that quick fix PR?

@dangrous
Copy link
Contributor

dangrous commented Nov 3, 2023

Yep, I grabbed it here - #30342

@puneetlath puneetlath removed the DeployBlockerCash This issue or pull request should block deployment label Nov 6, 2023
@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Hourly KSv2 labels Nov 6, 2023
@melvin-bot melvin-bot bot changed the title Expense - Workspace avatar and name change after creating a workspace expense [HOLD for payment 2023-11-13] Expense - Workspace avatar and name change after creating a workspace expense Nov 6, 2023
Copy link

melvin-bot bot commented Nov 6, 2023

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

@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Nov 6, 2023
Copy link

melvin-bot bot commented Nov 6, 2023

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.95-9 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-13. 🎊

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

@melvin-bot melvin-bot bot added Daily KSv2 Monthly KSv2 and removed Weekly KSv2 Daily KSv2 labels Nov 13, 2023
@dangrous dangrous added the Bug Something is broken. Auto assigns a BugZero manager. label Nov 13, 2023
Copy link

melvin-bot bot commented Nov 13, 2023

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

@melvin-bot melvin-bot bot removed the Monthly KSv2 label Nov 13, 2023

This comment was marked as off-topic.

@dangrous
Copy link
Contributor

dangrous commented Nov 13, 2023

@joekaufmanexpensify - adding bug zero to assist with payment for reviewer of linked PR! I think that's all we need

@joekaufmanexpensify
Copy link
Contributor

Sure, happy to help!

@joekaufmanexpensify
Copy link
Contributor

Only payment due here is $500 to @0xmiroslav for review of the internal PR. Paid via NewDot.

@joekaufmanexpensify
Copy link
Contributor

@0xmiroslav could you please request $500 and confirm here once complete?

@0xmiros
Copy link
Contributor

0xmiros commented Nov 13, 2023

Let's close this. I am tracking myself. Thanks

@joekaufmanexpensify
Copy link
Contributor

Sounds good. TY!

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

No branches or pull requests

8 participants