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

Copilot - No "on behalf of" header for expense preview #49888

Closed
6 tasks done
lanitochka17 opened this issue Sep 28, 2024 · 7 comments
Closed
6 tasks done

Copilot - No "on behalf of" header for expense preview #49888

lanitochka17 opened this issue Sep 28, 2024 · 7 comments
Assignees

Comments

@lanitochka17
Copy link

lanitochka17 commented Sep 28, 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: 9.0.41-2
Reproducible in staging?: Y
Reproducible in production?: N/A Unable to check
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Email or phone of affected tester (no customers): applausetester+kh010901@applause.expensifail.com
Issue reported by: Applause - Internal Team

Issue found when executing PR #48594

Action Performed:

Precondition:

  • Log in as a copilot
  1. Go to staging.new.expensify.com
  2. Go to Account settings
  3. Click on the account switcher
  4. Select the other account that user has full access to
  5. Go to DM
  6. Split an expense

Expected Result:

There will be "on behalf of" header for the split preview and expense preview

Actual Result:

"on behalf of" header is only present for the split preview but not expense preview

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

Bug6617924_1727475165614.20240928_060800.mp4

View all open jobs on GitHub

@lanitochka17 lanitochka17 added DeployBlockerCash This issue or pull request should block deployment DeployBlocker Indicates it should block deploying the API labels Sep 28, 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 Sep 28, 2024

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

@lanitochka17
Copy link
Author

We think that this bug might be related to #wave-control

@Nodebrute
Copy link
Contributor

Proposal

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

No "on behalf of" header for expense preview

What is the root cause of that problem?

We are hiding this message if !isReportPreviewAction

{action?.delegateAccountID && !isReportPreviewAction && (
<Text style={[styles.chatDelegateMessage]}>{translate('delegate.onBehalfOfMessage', {delegator: accountOwnerDetails?.displayName ?? ''})}</Text>
)}

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

We can remove this check !isReportPreviewAction

{action?.delegateAccountID && !isReportPreviewAction && (
<Text style={[styles.chatDelegateMessage]}>{translate('delegate.onBehalfOfMessage', {delegator: accountOwnerDetails?.displayName ?? ''})}</Text>
)}

What alternative solutions did you explore? (Optional)

@allgandalf
Copy link
Contributor

I guess this issue should be closed, according to the design doc, we shouldn't have that header for expense preview

Screenshot 2024-09-30 at 3 20 17 PM

c.c. @dangrous @rushatgabhane @DylanDylann

@Gonals Gonals removed the DeployBlocker Indicates it should block deploying the API label Sep 30, 2024
@Gonals
Copy link
Contributor

Gonals commented Sep 30, 2024

Not a web-E blocker

@dangrous
Copy link
Contributor

Yeah I think that's right, we can close this. cc @dylanexpensify

@francoisl francoisl removed the DeployBlockerCash This issue or pull request should block deployment label Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants