-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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 2024-09-26] [$250] [Workspace Feeds] Expensify Card - Policy ID is displayed under the card's name for member #48749
Comments
Triggered auto assignment to @RachCHopkins ( |
@RachCHopkins FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors |
ProposalPlease re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?
description: /policy([a-zA-Z0-9]+)\.exfy/.test(card.domainName) ? '' : card.domainName, or description: /policy([a-zA-Z0-9]+)\.exfy/.test(card.domainName) ? getDescriptionForPolicyDomain(card.domainName) : card.domainName,
const getDescriptionForPolicyDomain = (domainName: string) => {
const match = domainName.match(/policy([a-zA-Z0-9]+)\.exfy/);
const policyID = match ? match[1] : null;
const policy = getPolicy(policyID)
return policy?.name // Can be improved later
}; What alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issue.Policy ID is displayed under the card's name for member What is the root cause of that problem?The PolicyID is included in the domainName for Expensify Cards. As a result, when displaying the domain name, the PolicyID will also be shown. What changes do you think we should make in order to solve the problem?Checking if this is the Expensify Card, we will customize the domain name to prevent the policyID from being displayed.
Line 40 in 7ebfaa0
What alternative solutions did you explore? (Optional) |
What is the expectation here? If the card is issued from the workspace, I'd expect the workspace name, not just the domain name. I will check on this. |
Job added to Upwork: https://www.upwork.com/jobs/~021833064845344667979 |
Current assignees @allgandalf and @DylanDylann are eligible for the External assigner, not assigning anyone new. |
📣 @allgandalf 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @DylanDylann 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @dominictb 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@dominictb yes, let's show the policy name there if the domain is workspace feed. Your proposal makes sense, can you create a PR? What is your ETA? Thanks! |
With the automation borked, and this looking like it was on Prod a week ago, can you do the checklist please @DylanDylann? The following checklist (instructions) will need to be completed before the issue can be closed:
|
@RachCHopkins This feature is still behind beta, I don't think we need to checklist here |
I agree we will include tests in the test rail as we officially release this feature |
Is this ready for me to pay people? I think that's the part I'm not understanding. |
@RachCHopkins Yes. Let's pay $250 to @dominictb cc @mountiny |
What about you @DylanDylann? Do you also need to be paid? |
No need payment to me. I will get paid on the project |
Sounds good to me |
Contributor has been paid, the contract has been completed, and the Upwork post has been closed. |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 9.0.30-9
Reproducible in staging?: Y
Reproducible in production?: Y
Issue reported by: Applause Internal Team
Action Performed:
Precondition:
Expected Result:
Policy ID will not be displayed under the card's name for member.
Actual Result:
Policy ID is displayed under the card's name for member.
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6595247_1725621384137.20240906_191004.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @RachCHopkinsThe text was updated successfully, but these errors were encountered: