question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Skip IOU participants step if launched from within chat

See original GitHub issue

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


This issue builds on top of the existing IOU Modal, which was implemented in this PR. The second step (IOUParticipant) should be skipped if the user has launched the IOUModal from within a chat/group chat.

Displaying the IOU menu options

  • Make the following changes to temporarily display the IOU menu options – but please do not commit them!

Deliverables:

  • When opening the IOUModal from a 1:1 or group chat, we should retrieve the participant list and pass that list to the Modal. Then, within IOUModal:
    1. If user list empty, include the IOUParticipants step within the step array
    2. Else, exclude the participant step and set the IOUModal participants
  • Use react-navigation and add participants as screen props. Build out a second param for Navigation.navigate() to pass data to the view and make them available (see react-nav docs)

Expensify/Expensify Issue URL: https://github.com/Expensify/Expensify/issues/156863#

Job on Upwork https://www.upwork.com/jobs/~012decdc661dbfa12b

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:20 (18 by maintainers)

github_iconTop GitHub Comments

2reactions
Julessssscommented, Apr 20, 2021

Just to clarify, we don’t need to wait for this to reach prod as all changes are on the front-end.

1reaction
mallenexpensifycommented, May 2, 2021

Paid, sorry for the slight delay @Maftalion

Read more comments on GitHub >

github_iconTop Results From Across the Web

How the Property Brothers got Brad Pitt, Viola Davis for ...
The initial idea for Celebrity IOU sparked from a fan comment that made us think, "What if we take these huge celebrities and...
Read more >
Drew and Jonathan Scott Host Another Star-Studded Season ...
'Celebrity IOU' Is Coming Back This December!​​ Drew and Jonathan Scott are teaming up with Zooey Deschanel, Justin Hartley, Allison Janney and ...
Read more >
tf.keras.metrics.MeanIoU outcome is not improving #55565
I am using tf.keras.metrics.MeanIoU as a metric in a semantic segmentation problem. All of the other metrics (accuracy, precision, recall) are ...
Read more >
CBS Announces 'Celebrity IOU' Copycat on Same Day ...
“Secret Celebrity Renovation” will be hosted by “Entertainment Tonight” correspondent Nischelle Turner. The one-hour series “gives celebrities in sports, music ...
Read more >
NBA players already paid in full have IOU to be taken out of ...
Friday will be the first check most NBA players receive with 25% of their pay taken out, but for players paid up front...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found