If you haven’t already, check out our contributing guidelines for onboarding!
view the job on Upwork here.
Platform - version:
current
Deliverables:
This issue builds on top of the existing CreateMenu Bottom Drawer (original issue which introduced this modal can be found here)


- Add a
menuOption enum to the CreateMenu class
- With the following types:
NewChat: 'NewChat', NewGroup: 'NewGroup', RequestMoney: 'RequestMoney', SplitBill: 'SplitBill', AttachmentPicker: 'AttachmentPicker'
- Add a new CreateMenu prop
menuOptions which takes an array of the above menuOptions. The menuItemData array should be modified and should now be created dynamically in the constructor, based upon the menuOptions prop
- The existing usage of the CreateMenu Modal should then be refactored to use the new prop method (for example here), and new array items should be generated for the new
menuOptions (RequestMoney, SplitBill, AttachmentPicker). For now RequestMoney & SplitBill can redirect to an existing route.
- A new prop should be created on The ReportView Component:
hasMultipleParticipants which will be true if participants is greater than 2
- In a 1:1 or group chat, the attachment picker should be replaced with the
CreateMenu Component.
- The ReportView
hasMultipleParticipants prop should then be used to determine the correct menu options to pass in (SplitBill|AddAttachment if true, else RequestMoney|AddAttachment).
- When the AttachmentPicker option is selected, a callback to the parent component should be invoked via another new prop:
onAttachmentPickerSelected or something similar. Finally, this callback should trigger the AttachmentPicker to be rendered from the ReportActionCompose Component, like it was prior to the CreateMenu addition.
- The new image assets (for the new menu items) should be added as Expensicons here -- these should be available as the attachment: MenuIcons.zip
If you haven’t already, check out our contributing guidelines for onboarding!
view the job on Upwork here.
Platform - version:
current
Deliverables:
This issue builds on top of the existing CreateMenu Bottom Drawer (original issue which introduced this modal can be found here)

menuOptionenum to the CreateMenu classNewChat: 'NewChat',NewGroup: 'NewGroup',RequestMoney: 'RequestMoney',SplitBill: 'SplitBill',AttachmentPicker: 'AttachmentPicker'menuOptionswhich takes an array of the abovemenuOptions. ThemenuItemDataarray should be modified and should now be created dynamically in the constructor, based upon themenuOptionspropmenuOptions (RequestMoney, SplitBill, AttachmentPicker). For now RequestMoney & SplitBill can redirect to an existing route.hasMultipleParticipantswhich will be true if participants is greater than 2CreateMenuComponent.hasMultipleParticipantsprop should then be used to determine the correct menu options to pass in (SplitBill|AddAttachmentif true, elseRequestMoney|AddAttachment).onAttachmentPickerSelectedor something similar. Finally, this callback should trigger the AttachmentPicker to be rendered from the ReportActionCompose Component, like it was prior to the CreateMenu addition.