summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/components/message/message.xml
AgeCommit message (Collapse)Author
2021-03-08[FIX] mail, test_mail: ensure thread name is up to date on messageDidier (did)
When formatting a message, a message could be with an empty or obsolete record_name field. It's better to rely on the relation between the message and the thread and fetch the current thread name. task-2411715 closes odoo/odoo#63000 Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
2021-03-03[FIX] mail: do not show falsy value in tracking values messagesXavier Dubuc
task-2438828 closes odoo/odoo#65183 Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2021-02-11[FIX] mail: improve subject of message in inboxPriyanka Kakadiya
PURPOSE Displaying the subject when the name of the record is exactly the same is redundant and crowds the interface needlessly SPECIFICATION Subject should only be displayed if it is different than the name of the record LINKS closes odoo/odoo#61044 Taskid: 2363130 Pr: https://github.com/odoo/odoo/pull/61044 Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
2020-12-17[FIX] mail: speed up render of Message by inserting content manuallySébastien Theys
`t-raw` is too slow due to parsing the HTML in JS, converting it to VDOM and comparing to existing VDOM. Here we can make a custom comparison based on actual string, and directly replace in DOM if needed. Part of task-2399731 closes odoo/odoo#63505 Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2020-12-04[FIX] mail: split attachments list to improve styleXavier Dubuc
There is now two lists of attachments : first one with images and second one with non-images. Attachment viewer allows to navigate through previews of all viewable attachments in the order they're shown. task-2272587 task-2401325 closes odoo/odoo#62866 Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2020-12-02[FIX] mail: set href on notification link.Didier (did)
This allow the user to open link in new tabs with middle click task-2387837 closes odoo/odoo#62304 Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2020-11-20[FIX] mail: avoid empty seen indicatorSébastien Theys
`MessageSeenIndicator` sub-component should not be rendered if the thread does not support seen indicators. The issue is manifesting because the otherwise empty indicator has a margin, which is adding more space than expected before the following element. closes odoo/odoo#62030 Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2020-11-16[FIX] mail: fix race conditions, especially with scrollSébastien Theys
The `_update` of some components must take place before the `_update` of other (usually sibling) components that might directly influence their layout. This is in particular the case for `_update` that are relying on height. Prevent force save of scroll position if there are pending hints to adjust it, and prevent pending hints from overriding new scroll value. Prevent flicker with message date. This should fix all known issues related to incorrectly saving or restoring scroll position. task-2344226 task-2358066 task-2369332 task-2372339 task-2373741 closes odoo/odoo#61054 Related: odoo/enterprise#14736 Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2020-09-24[FIX] mail: fix tracking value issue when value is 0Priyanka Kakadiya
Before this commit: When a tracking field is set to 0, the mail tracking value doesn't display 0 in the chatter. It is empty instead i.e: Field Name: 1 -> After this commit: Tracking value will show the changed value even if it is false or 0 i.e: Field name: 1 -> 0 closes odoo/odoo#58419 Task: 2334048 Closes: https://github.com/odoo/odoo/pull/57342 X-original-commit: 57f4018694a895fd804b51e8206503e3d1d3c5d4 Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2020-09-18[FIX] mail: fix notification partners display in popoverXavier Dubuc
Handle notification creation in convertData correctly. task-2324260 closes odoo/odoo#57970 X-original-commit: 7305bcf4edcbaa31b86bdc7b4ece460f30515c27 Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
2020-09-03[FIX] mail: add open chat when clicking on author im status iconSébastien Theys
task-2329538 closes odoo/odoo#57006 X-original-commit: bfb8d99baaadedb2d0492b6f378b13b3330d496a Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com> Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
2020-08-28[FIX] mail, *: fix opens and redirects, adapt messaging menu closeSébastien Theys
task-2244279 task-2262862 task-2274993 task-2277537 task-2282238 closes odoo/odoo#56745 X-original-commit: 109f202 Related: odoo/enterprise#12761 Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com> Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
2020-08-28[FIX] mail, *: rename thread viewer to thread viewSébastien Theys
The "viewer" should be the "parent" not the view itself. This distinction will become important in a future commit to allow viewers to not display the view in some situations. Rename done as a standalone commit to ease diff readability. Part of task-2310623 closes odoo/odoo#56737 X-original-commit: 1b811e6a972d72de02965adda67c5b039bee023f Related: odoo/enterprise#12756 Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com> Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
2020-08-27[FIX] mail: prevent "record created" from being twice in the chatterSébastien Theys
task-2280184 closes odoo/odoo#56691 X-original-commit: 1af2cc1b2190623739085de83870fb415cbdccf1 Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com> Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
2020-07-29[FIX] mail: prevent attachment delete from not authored messageXavier Dubuc
task-2299330 closes odoo/odoo#55164 X-original-commit: c331b6761fbc1e8dd4d554109acab142ab02702d Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2020-07-22[IMP] mail: hide message error notifications if not origin threadXavier Dubuc
task-2282370 closes odoo/odoo#54768 X-original-commit: 4f693105bcaac7546590302cdc25c2b11b0f42cd Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2020-07-16[FIX] mail: show subject of the message in inbox if setXavier Dubuc
task-2280146 closes odoo/odoo#54599 X-original-commit: 3114c7dab3c7f0f63e59f01fd06237fdc109203a Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2020-07-08[FIX] mail: bring back extended composer for mailing channelXavier Dubuc
task-2171877 task-2282377 task-2282382 closes odoo/odoo#54249 X-original-commit: acf8eb3e2e49c1ade638ff1f2fed4969f9944053 Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
2020-06-22[FIX] mail: consistent relations between threads, caches and messagesAlexandre Kühn
task-2171881 closes odoo/odoo#53440 X-original-commit: 80d13bb828ee75a50d8cea29046a8eb49c71948a Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2020-06-15[REF] mail, *: refactor messaging with OWLSébastien Theys
This commit is a significant rewriting of client-side discuss, chatter, chat window, and messaging menu using OWL. The behavior should be broadly the same, with some slight functional changes here and there. From a technical standpoint, the code of messaging is mainly organized in 2 main groups of modules: - models, which are logical entities that depict the client-side state of messaging as a whole. - components, which are in charge of displaying information from models. This refactoring also introduces new JS guidelines regarding folder structure (/static) and naming rules for JS modules. Community PR: https://github.com/odoo/odoo/pull/39023 Enterprise PR: https://github.com/odoo/enterprise/pull/6249 Task-1914207 This PR is a collaborative work by Alexandre, Julien, Sébastien and Xavier, with the precious help of Lucas to speed it up towards the end. closes odoo/odoo#39023 Related: odoo/enterprise#6249 Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com> Co-authored-by: Alexandre Kühn <aku@odoo.com> Co-authored-by: Julien Giannone <jgi@odoo.com> Co-authored-by: Lucas Perais <lpe@odoo.com> Co-authored-by: Sébastien Theys <seb@odoo.com> Co-authored-by: Xavier Dubuc <xdu@odoo.com>