Wednesday, December 4, 2024
2 changes · saas-17.4
Resolved issues and error corrections
The ChatGPT translation and alternative text tools now stay unavailable when no text is selected. This prevents confusing or incorrect results and gives users clearer guidance while editing website content.
Original PR description
Description of the issue this PR addresses: Current behavior before PR: When opening the chatGPT Translate dialog or Alternatives dialog without any selected text it used to provide incorrect output. Desired behavior after PR is merged: Ensure that both dialogs display an error message if no text is selected. task-4325385 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Opening a chat or channel on mobile now correctly marks its messages as read. This prevents conversations from continuing to show unread messages after users have already viewed them, improving consistency across devices.
Original PR description
**Current behavior before PR:** Unread messages in a channel or chat are not marked as read when the user opens the channel in mobile view. This is due to `thread.markAsRead()` not being called since the focus on the composer is no longer triggered after [this commit](https://github.com/odoo/odoo/pull/176557/commits/9c552d1a194f1be75b98d06b4e7659ab21cd7d4e). **Desired behavior after PR is merged:** This commit resolves the issue by explicitly calling `thread.markAsRead()` when a chat or channel is opened. Task-4320251 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr