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.48k stars 2.83k forks source link

A newly added card under the Members section does not appear in the Assigned Cards section. #50441

Open m-natarajan opened 1 week ago

m-natarajan commented 1 week ago

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: 9.0.46-2 Reproducible in staging?: y Reproducible in production?: y If this was caught during regression testing, add the test name, ID and link from TestRail: Email or phone of affected tester (no customers): Logs: https://stackoverflow.com/c/expensify/questions/4856 Expensify/Expensify Issue URL: Issue reported by: @jayeshmangwani Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1728308001803959

Action Performed:

  1. Navigate to Settings > Workspaces > Select any workspace that has Expensify Cards enabled and where you have permissions to add a card.
  2. Go to Members > Select any member > New Card.
  3. Fill in the card details and complete the issue card flow.
  4. Check the Assigned Cards section under the member's details.

    Expected Result:

    The card should be added to the Assigned Cards section immediately.

Actual Result:

The card does not appear until you navigate away to Workspaces and then return to the Member details page.

Workaround:

unknown

Platforms:

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

Screenshots/Videos

https://github.com/user-attachments/assets/b0bc02a0-61e9-41ca-affc-81f815138de2

https://github.com/user-attachments/assets/9fadb56c-08df-4eb6-b7fc-9703a3137786

Add any screenshot/video evidence

View all open jobs on GitHub

melvin-bot[bot] commented 1 week ago

Triggered auto assignment to @stephanieelliott (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

mountiny commented 1 week ago

@koko57 We need to add the card optimistically to the cards_ collection to show there, I believe you already working on that elsewhere, if so, can you comment so I can assign you? thanks!

koko57 commented 1 week ago

yes, I can work on that with https://github.com/Expensify/App/issues/50248 and https://github.com/Expensify/App/issues/50467 - they are related so I will fix them all in one PR

stephanieelliott commented 1 week ago

@koko57 can you link the PR when you have it?

koko57 commented 1 week ago

@stephanieelliott yes! I'm still working on it. Sorry for not posting updates here, I left some in these two other issues I mentioned. We also had a discussion yesterday on how to solve this problem on Slack

koko57 commented 1 week ago

it looks like it's rather the same root cause as https://github.com/Expensify/App/issues/50467, here we don't have the info for which type of card it happened. If for both it could be due to some error - the error handling is applied here: https://github.com/Expensify/App/pull/50644

cc @mountiny

koko57 commented 1 week ago

I'll be ooo Monday - Tuesday (14-15 Oct) if there will be some changes required to my PR and you'd like to merge it asap - please ping Callstack team, someone might be able to take it over. Thanks!

mountiny commented 5 days ago

Thanks, yeah I think we are nicely streamlining the process now