Skip to content

[HOLD for payment 2025-02-05] [$250] Add the "on behalf of" copilot identifier to expense previews in the parent chat #55253

Description

@trjExpensify

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: v9.0.85-1
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N/A
If this was caught during regression testing, add the test name, ID and link from TestRail: No
Email or phone of affected tester (no customers): tom+copilot1@trj.chat
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL: None
Issue reported by: @trjExpensify
Slack conversation: #expense

Action Performed:

  1. As userA, create a workspace
  2. As userA, add userB as a workspace member
  3. As userA, add userB as a copilot
  4. As userB, toggle into userA's account (Settings > account name (dropdown))
  5. Go to userA's workspace chat
  6. Click the + icon > create expense > enter an amount > confirm
  7. Observe the preview component.

Expected Result:

Note: This is a new feature. It's not clear that the copilot acted on behalf of someone to create the expense. I actually thought it was a bug where we were mixing up chats or something. To improve the clarity, let's:

  • Add the "on behalf of <displayName" sub-title to the preview actions (expense report and expense) displayed in the parent chat.

Example:

Image

Actual Result:

We don't include the "on behalf of" sub-title:

Image

Platforms:

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

  • Android: Standalone
  • Android: HybridApp
  • Android: mWeb Chrome
  • iOS: Standalone
  • iOS: HybridApp
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

In-line above.

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021879310056365767460
  • Upwork Job ID: 1879310056365767460
  • Last Price Increase: 2025-01-21
  • Automatic offers:
    • truph01 | Contributor | 105794951
Issue OwnerCurrent Issue Owner: @trjExpensify

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionDailyKSv2ExternalAdded to denote the issue can be worked on by a contributorNewFeatureSomething to build that is a new item.

Type

No type

Fields

No fields configured for issues without a type.

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions