Tuesday, August 13, 2024
2 changes · saas-17.2
Resolved issues and error corrections
Fixes the mailing template editor so it resizes to the template content instead of leaving extra blank space or making the snippet panel hard to use. This improves the email campaign editing experience, especially when working with very small or large templates.
Original PR description
Purpose ======= Fix the height of the mail templates in the mailing form. Specification ============= For small templates / theme selector, there is a blank space below the editor because the…
Purpose ======= Fix the height of the mail templates in the mailing form. Specification ============= For small templates / theme selector, there is a blank space below the editor because the iframe's height is matching the full height of the website snippets on the side. For big templates, the website snippets doesn't follow the template scrolling which makes it difficult to drag and drop the snippets. This happens following the removal of the full width view and a related js file which was previously resizing the editor height accordingly (ref commit: https://github.com/odoo/odoo/commit/cf6cd5ef46287f4e71fe96ad6b404ba9b08c1066 ) Reverting a part of the old "mailing_mailing_view_form_full_width" file into the "mass_mailing_html_field" one so that the editor iframe is correctly resized depending on its content and the editor sidebar is correctly resized to follow the scrolling behavior. Concretely, introducting back the resize observer and the "_updateIframe", "_isFullScreen", "_resizeMailingEditorIframe" and "_repositionMailingEditorSidebar" methods. Task-4086341 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Presence status updates are now sent only to users who share a chat or channel with the person whose status changed. This reduces unnecessary client-server traffic and should improve performance without changing the visible messaging experience.
Original PR description
Since [1], presences are only sent when necessary. This PR greatly reduced the traffic between client and server. This PR is a follow-up to reduce the traffic between server and client: the presences should only be sent to people sharing a chat or channel with the presence user. [1]: https://github.com/odoo/odoo/pull/174814 enterprise: https://github.com/odoo/enterprise/pull/68022