Right now, in the comment section, "Share with customer" is the default selection in blue.
It would be good to have an option where "Comment Internally" is highlighted in blue so that the users do not press "Share with customer" accidentally.
Although the user has the option to select either when making the comments, the tendency is to select the highlighted option always. So, if the administrator has this option to highlight the required option, it would avoid accidental clicks on the wrong option.
Workaround for switching the order of the internal/external tabs in transition screens
Adding the following javascript to the Announcement Banner will switch the order of the tabs on the transition screen:
<script type="text/javascript">
var initialTabHighlightSwapped = false;
function checkJSDCommentTabs () {
var tabs = jQuery("#sd-comment-tabs");
if (tabs.size() > 0 && !initialTabHighlightSwapped) {
switchJSDCommentTabHighlight();
initialTabHighlightSwapped = true;
} else if (tabs.size() == 0) {
initialTabHighlightSwapped = false;
}
}
function switchJSDCommentTabHighlight () {
jQuery(".js-sd-internal-comment").click();
}
var intervalFunct = setInterval(checkJSDCommentTabs, 1000);
</script>