summaryrefslogtreecommitdiff
path: root/addons/sms/static/src/js/fields_sms_widget.js
AgeCommit message (Collapse)Author
2020-08-11[IMP] sms/mass_mailing: add emojis support to the base SmsWidgetxO-Tx
This commit adds emojis to base SmsWidget in order to use a text field with both sms and emoji widgets in "mass_mailing_sms" module for sms content. The emoji feature is optional (depends on "enable_emojis" attribute). To add the emoji support, the following changes have been made: * override the method "on_attach_callback" from emoji widget base code to hide emojis if not enabled; We also adjust the css of emoji widget to make it suitable for a text field with sms option. Task ID-2224393 PR #49096
2019-08-12[REF] sms: improve onboarding and user experience of SMS composerThibault Delavallée
PURPOSE SMS are a powerful marketing tool. For instance it is perfect to announce a sale or to communicate a coupon code, to welcome a new customer in a fidelity program, ... Purpose of this task is to integrate SMS sending in batch in mass mailing. It will use same mailing objects but sending SMS instead of emails. Some metrics and flows will have to be slightly updated at the same time. SPECIFICATIONS Clean the use and options of sms composer after FP feedback : * see https://s.nimbusweb.me/share/3167586/ap1xpy95rz29a5cys576 as basis; * globally, do not display invalid recipients, only valid / invalid count as well as current selection / active domain counts; * consider logging a note as default behavior when using the composer; * simplify code: when doing a mass SMS, send SMS and attach a simple note to the document; Some other points * make name of sms templates translatable; * improve various wording, notably in sms widget; * display error code in sms list view; * update sms composer actions accordingly by correctly setting active id or ids; LINKS Task 1997464 PR #34424 Original SMS addition: Task 1922163 (4287481)
2019-07-23[FIX] sms: fix some issues in JS widgetsRemi Rahir
PURPOSE Followup of merge 4287481 . SPECIFICATIONS Correctly reload after sending SMS; Correctly re-render the typing widget for SMS. LINKS Task 1922187
2019-07-12[IMP] sms: improve SMS widgetThibault Delavallée
Related to task 1922163 Linked to PR #33510 Co-Authored-By: Thibault Delavallee <tde@odoo.com> Co-Authored-By: Pierre Rousseau <pro@odoo.com>