Expensify / App

Welcome to New Expensify: a complete re-imagination of financial collaboration, centered around chat. Help us build the next generation of Expensify by sharing feedback and contributing to the code.
https://new.expensify.com
MIT License
3.55k stars 2.89k forks source link

[PAID] [3rd Party Feeds] Implement API calls for 3rd part workspace feeds v1 #49690

Closed dylanexpensify closed 1 week ago

dylanexpensify commented 1 month ago

Coming from this thread, we have some clean up to-dos for the Third-party workspace feeds v1 initiative.

Issue OwnerCurrent Issue Owner: @strepanier03
melvin-bot[bot] commented 1 month ago

Auto-assigning issues to engineers is no longer supported. If you think this issue should receive engineering attention, please raise it in #whatsnext.

VickyStash commented 1 month ago

Hi, I'm Viktoryia from Callstack - expert contributor group - and I would like to work on this issue.

robertjchen commented 1 month ago

WorkspaceCompanyCardsPage.tsx

WorkspaceCompanyCardsListHeaderButtons.tsx

WorkspaceCompanyCardsSettingsPage.tsx

WorkspaceCompanyCardFeedSelectorPage.tsx

WorkspaceMemberNewCardPage.tsx

CardSelectionStep.tsx

narefyev91 commented 1 month ago

Hi, I'm Nicolay from Callstack - expert contributor group - will help here as well (from tomorrow). Will pick:

joekaufmanexpensify commented 1 month ago

Assigned!

VickyStash commented 1 month ago

@robertjchen I have a question about reportActionID for this API call: AssignCard(policyID, bankName, encryptedCardNumber, email, startDate, reportActionID).

Is it for this message? Should I optimistically create it? image

I'm asking cause it looks like we don't create similar messages optimistically while issuing Expensify Cards. ^^ @mountiny

robertjchen commented 1 month ago

Interesting! That's a good point- if these messages are not being optimistically created, then the reportActionID is not needed 👍

mountiny commented 1 month ago

@robertjchen I think it's a bit different thought, right? With Expensify cards, we have to talk to Marqeta, a third-party service, and so there is a higher chance of the call with fail, so we do not create the actions optimistically. In this case, when we already have the list of the available cards, there are fewer things that can cause it to fail, so I think we could consider adding these optimistically; what do you think, @robertjchen?

robertjchen commented 1 month ago

That makes sense, that context definitely helps!

Since we already have all the info we need in Onyx at time of assignment, we can definitely do it optimistically which would make for a better user experience

mountiny commented 1 month ago

@VickyStash Feel free to add the optimistic reportActionID param to the api call and create the action optimistically and we can add it to BE

VickyStash commented 1 month ago

@robertjchen Could you say what action name this optimistic report action should have? I'm talking about the one created during AssignCard API call.

robertjchen commented 1 month ago

@VickyStash It would be CARDASSIGNED

VickyStash commented 1 month ago

I've prepared a Draft PR with:

@robertjchen Please, let us know when RequestFeedSetup is deployed so we can start extensive testing of the functionality with the real data.

robertjchen commented 1 month ago

Yes, it appears to be under review at the moment 👍

dylanexpensify commented 1 month ago

Making progress

VickyStash commented 1 month ago

Updates:

dylanexpensify commented 1 month ago

TY @VickyStash!

VickyStash commented 1 month ago

Updates:

VickyStash commented 1 month ago

Updates:

VickyStash commented 1 month ago

Updates:

https://github.com/user-attachments/assets/fa194161-8e8a-4ff0-b0a2-733f85417c14

TODOs (waiting for responses in slack):

VickyStash commented 1 month ago

Not a lot of updates from yesterday:

VickyStash commented 1 month ago

Updates:

allgandalf commented 4 weeks ago

I am available for reviewing this flow if no C+ is assigned for this already 👋

VickyStash commented 4 weeks ago

Updates:

TODOs: Test the app on mobile platforms and record the videos. After that, I'll open the PR for review. If everything is smooth it should be tomorrow first part of the day.

VickyStash commented 4 weeks ago

The PR has been opened for the review.

melvin-bot[bot] commented 4 weeks ago

Triggered auto assignment to @strepanier03 (NewFeature), see https://stackoverflowteams.com/c/expensify/questions/14418#:~:text=BugZero%20process%20steps%20for%20feature%20requests for more details. Please add this Feature request to a GH project, as outlined in the SO.

dylanexpensify commented 4 weeks ago

Reassigning as I head to parental leave next week! Thanks Sheena!

allgandalf commented 3 weeks ago

♻️ PR was merged

melvin-bot[bot] commented 3 weeks ago

Reviewing label has been removed, please complete the "BugZero Checklist".

melvin-bot[bot] commented 3 weeks ago

The solution for this issue has been :rocket: deployed to production :rocket: in version 9.0.51-4 and is now subject to a 7-day regression period :calendar:. Here is the list of pull requests that resolve this issue:

If no regressions arise, payment will be issued on 2024-10-29. :confetti_ball:

For reference, here are some details about the assignees on this issue:

melvin-bot[bot] commented 3 weeks ago

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:

allgandalf commented 3 weeks ago

No checklist here, this belongs to a project, Only payment remains 🙏 (This is a 3rd party feed project and not direct feed so...)

mountiny commented 3 weeks ago

$250 to @allgandalf

allgandalf commented 3 weeks ago

🤣 i wonder what you are doing in 🇯🇵 these days

mountiny commented 3 weeks ago

psst

melvin-bot[bot] commented 2 weeks ago

The solution for this issue has been :rocket: deployed to production :rocket: in version 9.0.52-5 and is now subject to a 7-day regression period :calendar:. Here is the list of pull requests that resolve this issue:

If no regressions arise, payment will be issued on 2024-10-30. :confetti_ball:

For reference, here are some details about the assignees on this issue:

melvin-bot[bot] commented 2 weeks ago

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:

allgandalf commented 2 weeks ago

No checklist, payment summary here

mountiny commented 2 weeks ago

New feature so no checklist needed here

melvin-bot[bot] commented 1 week ago

Payment Summary

[Upwork Job]()

BugZero Checklist (@strepanier03)

strepanier03 commented 1 week ago

Payment Summary

melvin-bot[bot] commented 1 week ago

@strepanier03 @mountiny Be sure to fill out the Contact List!

strepanier03 commented 1 week ago

The contact list is an old process we don't do any longer, not sure why it's resurfaced. https://expensify.slack.com/archives/C01SKUP7QR0/p1729883091032869