-
Notifications
You must be signed in to change notification settings - Fork 3.2k
[Due for payment 2025-04-25] Update Expensify Card page to potentially show domain feeds #59364
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 @flaviadefaria ( |
|
Triggered auto assignment to Design team member for new feature review - @shawnborton ( |
I can start today |
Yes! This should work. Let me know if you think there's anything special we need to do to support it.
Yes, all this should be available and work the same.
I think splitting it into multiple smaller PRs sounds good. |
@puneetlath will the policy object have reference to the cards and privateSettings objects like workspaceAccountID? For both company and Expensify cards we use workspaceAccountID which is a part of the key name and also saved as a fundID in cards. We can easily get it from the policy object and we do in most of the places, like here: Now I would need to get all the privateSettings and check if the preferredPolicy and policyID match and get this settings when we want to display the settings for the domain card. So for every other place would be the same - I would need to iterate through the private settings object for the domains, while for the workspace cards I can only take workspaceAccountID from the policy object. For domain cards I would need to get the id from the privateSettings key or from marqetaBusinessToken |
ok, I've found a pretty easy solution - instead of creating getExpensifyCardFeeds it would be much easier to get the ID for the cards and settings and use it the same way we use workspaceAccountID - I created a new hook to do that -> https://github.com/Expensify/App/pull/59538/files#diff-afe23066c2035597e25e58c6838b4776281521c5535870d05115cb8b37eb05ce when we get the ID we can pass it as a part of the key to read the data from Onyx and we get the exact feed we want. The only consideration is - can I use marquetaBusinessToken? Is it always the same as the ID in the 'private_expensifyCardSettings_' and 'cards_'? |
I've made changes to use the key instead of marquetaBusinessToken. Can we proceed with this solution? If so, I'll open the PR today. |
Yes sounds good let’s do it. The back-end should also be live soon so that you can test with real data. |
Nice! So I'm opening the frist PR today and I'm continuing working on the Selector. |
PR ready for the review #59538 |
![]() @puneetlath what should be displayed as the text under the Feen name in the selector? How different feeds should be named to diferentiate them in the selector page? |
Let's use the domain name. It should be a key in the card settings. |
Yeah, I can help to review #59887 |
Proposed payment breakdown at 2025-04-16 |
Payment Summary
BugZero Checklist (@mallenexpensify)
|
Waiting on #59887 for next payment/s |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.29-10 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2025-04-25. 🎊 For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR adding this new feature has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
I think we're about done here. These three issues are the only problems I was able to find when testing. |
$250 approved for @akinwale |
@DylanDylann are you going to write a regression test for this issue? |
Regression Test - This is a new featurePREREQUISITES: an account with a domain card set up in the OD, ideally with 2 workspaces in the ND - one with Expensify Card set up, one with no Expensify Card setup Has an Expensify Card set up
|
Test case created Leaving this open for now til we get confirmation we're all done |
This is done. We have separate issues for the remaining work. |
@DylanDylann you still need payment for PR review/s, right? I see this one , are there others? |
Yes. PLease help handle paymen to me for reviewing #59887 |
@mallenexpensify can we close this out now? Or do we need an updated payment summary? |
Contributor+: @DylanDylann due $250 via NewDot for #59887 Now we should be good to close! |
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.hkqdtrxioijc
Feature Description
Let's update the Expensify 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.Onyx shape:
Manual Test Steps
Automated Tests
tbd
Issue Owner
Current Issue Owner: @mallenexpensify / @flaviadefariaThe text was updated successfully, but these errors were encountered: