-
Notifications
You must be signed in to change notification settings - Fork 3.2k
[Due for payment 2025-04-28] Update Company Cards page to potentially show domain feeds #59837
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
Comments
Triggered auto assignment to @maddylewis ( |
@puneetlath could I take over this task as C+ reviewer? I already worked on the workspace feed and company feed before |
Sure, sounds good. |
Hi, I'm Viktoryia from Callstack - expert contributor group - and I would like to work on this issue. |
UPD: |
UPD: |
Right now even without any changes on the FE side, I can see the Amex feed added to the domain in the OldDot in the NewDot. Though I have some problems with cards display testing because of the issue I've reported here: https://callstack-hq.slack.com/archives/C07NMDKEFMH/p1744297195629639?thread_ts=1743507271.676259&cid=C07NMDKEFMH Overall, it feels like it should work as is. Just a couple of questions from my side to confirm:
|
Yeah that is all same between workspace and domain feed
Maybe we can ask Joe to test that on the adhoc?
Puneet has a backend PR that should solve this concern ✅ |
I think Joe can try to test it even on the staging/prod. Hey @joekaufmanexpensify, could you please try to test the next flow:
|
I don't see them in the 2025-04-11_17-27-46.mp4 |
LMK if I can help test further! |
Could you please add me as an admin to that |
Okay, thanks to Joe I have access to his workspace, and that's what I have:
Onyx data
The params I pass: @puneetlath @mountiny Do I miss anything or is it something BE related? |
Ah interesting. Ok I'll look into that |
@VickyStash do you have a WIP PR that I can test this with? I'd like to see the payload for the OpenPolicyCompanyCardsFeed API request in the case of the domain feed. |
@puneetlath I've just opened the Draft one: #60261 Using it, you can switch between feeds, and check the Monosnap.screencast.2025-04-15.11-59-27.mp4Let me know if that's what you need! |
Thanks @VickyStash. Please go ahead with your PR while I update that command. I don’t want to block you and it’d be ideal to make progress on the parts we can. |
Screen.Recording.2025-04-23.at.9.26.27.AM.mov@VickyStash, I am not able to see the cards that are present in the feed. Can you please help me with this? |
@shubham1206agra If it's a domain feed, it's a known issue, see this and this comments. cc @puneetlath any updates on this? |
@VickyStash It's not domain feed. |
@shubham1206agra Could you please provide the return result of the |
@VickyStash See {
"onyxData": [
{
"key": "sharedNVP_private_domain_member_18992745",
"onyxMethod": "set",
"value": {
"settings": {
"companyCards": {
"vcf1": {
"credentials": "",
"pending": false
},
"vcf2": {
"pending": false
}
}
}
}
},
{
"key": "cards_18992745_vcf2",
"onyxMethod": "set",
"value": {
"cardList": {
"480801XXXXXX3304": "v12:74E3CA3C4C0FA02FDCF7521EC7E305E1"
}
}
}
],
"jsonCode": 200,
"requestID": "934e416bdff78ad6-SJC"
} |
@shubham1206agra As I can see from the data you have two Visa commercial feeds. But only in one of them you have cards to assign. Have you tried to switch to another feed (vcf2). I believe you were on the vcf1 |
@VickyStash I was on vcf2 when tried to assign cards. |
I've just tested it on the main by locally putting the data you provided to the Onyx, and it worked for me for vcf2. |
@VickyStash Still not working |
I've tried with several members and it's still not reproduced for me 😞 Monosnap.screencast.2025-04-23.17-24-34.mp4What if you re-login, is it the same? |
Payment Summary
BugZero Checklist (@maddylewis)
|
@VickyStash - is this still outstanding? #59837 (comment) lmk if this is good to close out as completed or not! |
I wasn't able to reproduce it, @shubham1206agra is it still an issue for you? Though I'm not sure if it's related to the functionality implemented in this issue. The only thing that is left is updating OpenPolicyCompanyCardsFeed call to return domain cards, but there is a separate issue for that: #60978 |
@VickyStash Yes, this is still an issue for me. |
@shubham1206agra Have you tried what I mentioned above? |
@VickyStash I wasn't able to revert the PR since straight revert was not possible. |
@shubham1206agra Maybe you can share your onyx state so that I can take a look on my end? |
I've checked @shubham1206agra onyx state and it looks like the expected behaviour after implementation of this PR. |
I think we can close this out now, right @maddylewis? |
@VickyStash Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@maddylewis bump. Can we close this? |
@maddylewis Eep! 4 days overdue now. Issues have feelings too... |
Looks like @maddylewis is OOO. I'm going to go ahead and close this out, but if that's wrong feel free to let me know and I'll reopen. |
Uh oh!
There was an error while loading. Please reload this page.
Part of the Cross compatible Corporate Cards project
Main issue: https://github.com/Expensify/Expensify/issues/467915
Doc section: https://docs.google.com/document/d/1KHrQgvdZWvCwUkptjjW_oqnl0umyVNiPe7KIHCD1pBA/edit?tab=t.0#heading=h.hn90zqqqm7w9
Feature Description
Let's update the Third Party Company Cards page of the workspace editor to display domain feeds as described in the doc here.
To do this we will need to:
preferredPolicy
like below on the domain_member nvp data.Onyx shape:
Manual Test Steps
Automated Tests
tbd
Issue Owner
Current Issue Owner: @maddylewisThe text was updated successfully, but these errors were encountered: