summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/xml/abstract_thread_window.xml
diff options
context:
space:
mode:
authorRobot Odoo <xmo+roboto@odoo.com>2018-12-07 09:33:01 +0100
committerGitHub <noreply@github.com>2018-12-07 09:33:01 +0100
commit9f6f9c71d3258ce3652b4a5793b7dcfef6f01d25 (patch)
tree8b092fb030790b77ebc1c4061bac08c8edc3befa /addons/mail/static/src/xml/abstract_thread_window.xml
parent37212fe655e7e2b2df6fcdfb9d08fcc970e7735b (diff)
parent844fb2b51ea7cfa557b19466c0a53dde19433e7a (diff)
[MERGE] mail, *: several UX/UI improvements
*: bus, im_livechat, mail_bot, website_livechat Several improvements for Discuss app: 1. Improved "is typing..." notification 2. Merged private & public channels 3. Quick channel search 4. No push notification right after accepting them, and transparent odoo bot icon in native notification 5. Selected emojis are inserted in composer based on cursor position 6. Set surname to people for DMs name 7. Discard replying to a message in Inbox 8. Broadcast "seen" notification ('v' and 'vv' on messages) [1] [image1](https://drive.google.com/file/d/11_H6ZJh0wFaegAV0fTLdc68z37nhVKnW/view?usp=sharing), [image2](https://drive.google.com/file/d/1s9g_hUCMesuTLAqpeGMwLWzHCYnzanr6/view?usp=sharing) [2] [image1](https://drive.google.com/file/d/1WUBqc2lScfWV8Yrtq6Zk4MO4jC0CdaiG/view?usp=sharing), [image2](https://drive.google.com/file/d/13XVcW0Nookwea_4xz02mIwPi5dPhXu18/view?usp=sharing) [3] [image1](https://drive.google.com/file/d/1FuV3xH9cK6qR7ljd5vELOHc4icvHIJTF/view?usp=sharing), [image2](https://drive.google.com/file/d/1hwuu5ejlj9ou02NF5XmL-XHTiD-Ty6XT/view?usp=sharing) [4] [image](https://drive.google.com/file/d/1si1TYtCpdyOgw9IRaMWmxuUb1d8M4ccF/view?usp=sharing) [5] [video](https://drive.google.com/file/d/19knQ47F1wzlNvxT2nJH3A9V34wO1D9Bn/view?usp=sharing) [6] [image1](https://drive.google.com/file/d/11ot_DtySN2cIN_bM8n7fhFV2JXNoz0lH/view?usp=sharing), [image2](https://drive.google.com/file/d/1aNyapzKePIRg903woCo3kXJhy-ZFwfEG/view?usp=sharing), [image3](https://drive.google.com/file/d/1AtVlOG67YjsS8ax1ErWhXfSDOtKhLQhC/view?usp=sharing) [7] [image](https://drive.google.com/file/d/1U-VEut7M7-t9WzdKVagfyy6ZrbOJrflp/view?usp=sharing) [8] [image1](https://drive.google.com/file/d/1_32q8iqPBhW4sPhAtY5mIO968gj1o9o-/view?usp=sharing), [image2](https://drive.google.com/file/d/1Ne6HMEgJxHAWYN3e3SlrF6Qqg70LDvAW/view?usp=sharing) Task-ID 1881001 closes odoo/odoo#29191
Diffstat (limited to 'addons/mail/static/src/xml/abstract_thread_window.xml')
-rw-r--r--addons/mail/static/src/xml/abstract_thread_window.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/addons/mail/static/src/xml/abstract_thread_window.xml b/addons/mail/static/src/xml/abstract_thread_window.xml
index de0418af3df..89c45323c7a 100644
--- a/addons/mail/static/src/xml/abstract_thread_window.xml
+++ b/addons/mail/static/src/xml/abstract_thread_window.xml
@@ -11,6 +11,7 @@
<t t-set="status" t-value="widget.getThreadStatus()"/>
<t t-set="title" t-value="widget.getTitle()"/>
<t t-set="unreadCounter" t-value="widget.getUnreadCounter()"/>
+ <t t-set="thread" t-value="widget.getThread()"/>
</t>
</div>
<div class="o_thread_window_content">
@@ -58,6 +59,7 @@
name of the document.
@param {integer} [unreadCounter] the number of unread messages on the
thread.
+ @param {mail.model.Thread|undefined} thread
@param {Object} widget
@param {function} widget.isMobile function without any param that
states whether it should render for desktop or mobile screen.
@@ -70,6 +72,7 @@
<t t-if="status" t-call="mail.UserStatus"/>
<t t-esc="title"/>
<span t-if="unreadCounter"> (<t t-esc="unreadCounter"/>)</span>
+ <t t-if="thread and thread.hasTypingNotification() and thread.isSomeoneTyping()" t-call="mail.ThreadTypingIcon"/>
</span>
<span t-if="!widget.isMobile()" class="o_thread_window_buttons">
<a href="#" class="o_thread_window_close fa fa-close"/>