Monday, January 20, 2025
4 changes · saas-18.1
Enhancements to existing features
Chat window state is now saved in the user’s browser instead of relying on complex server synchronization. This simplifies live chat behavior, keeps open conversations in the right order across browser tabs, and supports faster rollout of the live chat plan.
Original PR description
We currently have very complex code to handle sync of chat window with the server. This allows from syncing them cross tab, cross device, and cross session (log in/log out). It feels the only real use case is cross-tab, so we should simplify the code by storing it only locally on each browser. Added benefit: chat windows are now sync in their correct order. Non-channel threads are also sync. Technical change: /mail/data now includes thread/data and channel/info to batch calls. The API is adapted to be more batch friendly. As open chat windows are no longer returned by the server, they need to be requested at init by the client (from local storage data) together with the rest of the server init data. Back-port of task-3707836 as we need this on our prod as soon as possible for the big live chat plan. task-4457183 https://github.com/odoo/enterprise/pull/77440
Canned responses in Mail are now triggered with "::" instead of a single colon, reducing conflicts with emoji suggestions. A new composer menu option helps users discover and insert the canned response shortcut when canned responses are available.
Original PR description
Before this commit, delimiter to use canned response was ":". This puts some conflicts with emoji substitution, which has been minimized a bit by not putting the focus on the suggestion list of…
Before this commit, delimiter to use canned response was ":". This puts some conflicts with emoji substitution, which has been minimized a bit by not putting the focus on the suggestion list of emojis. However this is still bothersome, so it's worth changing it slightly. This PR minimises the impact of change by replacing it to "::", which is relatively close to the former ":". Since the discovery of the feature was only through typing ":", we added a new item in the "+" button of composer to insert a new canned response, which simply adds the "::" in the composer to help select the canned response. This composer action only shows the shortcut to trigger canned response: it let the user learns of this feature, and in case the delimiter changes like with this PR, the user can relatively easily re-learn the new trigger thanks to this composer action. The "Insert a Canned response" composer action is visible when the user can at least find a canned response. Also the canned response suggestions are focused by default, now that they do not conflict with emoji substitution. Task-4110505 https://github.com/odoo/enterprise/pull/77184 
Live chat canned responses are now triggered with a double colon instead of a single colon. This helps reduce accidental triggers while agents type normal messages, making support conversations smoother.
Original PR description
Task-4110505 https://github.com/odoo/odoo/pull/192953
Chat windows now keep their open, collapsed, or expanded state in the user's browser, so conversations feel more consistent when navigating or returning later. This improves day-to-day usability in Discuss and related communication features without changing core business workflows.
Original PR description
Enterprise counter-part. Back-port of task-3707836 task-4457183 https://github.com/odoo/odoo/pull/194402