-
Notifications
You must be signed in to change notification settings - Fork 40
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
Use compose component for Send Message action #1184
Conversation
- added validateCompose to flow action helpers - added getComposeStateToAction and getRecipientsStateToAction to flow action helpers - updated send msg and send broadcast stateToAction to use helper methods above - updated SendMsgForm and SendBroadcastForm initializeForm fn's to use helper methods above - updated SendMsgForm and SendBroadcastForm handleUpdate fn's to use validateCompose helper method - updated SendMsg main flow render to remove outer check for action.text and move to be an inner check for action.text - added ComposeElement to SendMsgForm - updated createSendMsgAction in assetCreators - added back attachments because MsgLocalizationForm still uses this todo - update unit tests
note - this PR is on hold for now until it's confirmed how we'll handle migration/transference of the "conditional media url" functionality inclusive of the current attachment feature in the send message action attachments tab |
Without activity, this PR will be closed in 14 days. |
We agreed that the attachment code should work with old attachment formats as well. |
Without activity, this PR will be closed in 14 days. |
This PR was closed for inactivity. |
fixes #1182
needs to be merged AFTER #1183 AND nyaruka/temba-components#315 are merged