Skip to content

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

Closed

Description

@lanitochka17

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

Activity

  1. added
    DeployBlockerCashThis issue or pull request should block deployment
    DeployBlockerIndicates it should block deploying the API
    on Sep 28, 2024
  2. github-actions commented on Sep 28, 2024

    @github-actions
    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.
  3. melvin-bot commented on Sep 28, 2024

    @melvin-bot

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

  4. lanitochka17 commented on Sep 28, 2024

    @lanitochka17
    Author

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

  5. Nodebrute commented on Sep 28, 2024

    @Nodebrute
    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)

  6. allgandalf commented on Sep 30, 2024

    @allgandalf
    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

  7. removed
    DeployBlockerIndicates it should block deploying the API
    on Sep 30, 2024
  8. Gonals commented on Sep 30, 2024

    @Gonals
    Contributor

    Not a web-E blocker

  9. dangrous commented on Sep 30, 2024

    @dangrous
    Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions