Friday, December 23, 2016
2 changes
Enhancements to existing features
Chat composer suggestions for canned responses and user mentions no longer pre-select the first option when the suggestion window opens. This prevents users from accidentally inserting an unwanted suggestion by pressing Enter, especially in languages where punctuation can trigger suggestions during normal typing.
Original PR description
The first element of canned responses (triggered by ':') and user ping (triggered by '@') is automatically chosen when the selection window is opened. In some languages, such as French, this can lead to an annoying behavior since the semi-column is always preceded by a space. Therefore, it always trigger the canned responses opening, and if the user types quickly or doesn't pay attention, pressing the ENTER key will automatically insert the first suggestion in the list. In this commit, no default selection is done on the first suggestion, and pressing ENTER when nothing is selected will simply close the suggestion window.
Resolved issues and error corrections
This fixes a browser compatibility issue that prevented users from expanding mail chat windows in browsers other than Chrome. The change makes the chat experience more consistent across supported browsers, reducing friction for users who rely on Firefox, Safari, or other alternatives.
Original PR description
Issue: https://www.odoo.com/web?#id=702571&view_type=form&model=project.issue&action=963&active_id=681&menu_id=4720 Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr