Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 291693

Add an ellipsis to truncated comment titles

$
0
0

Problem/Motivation

When no subject is set explicitly for a comment, it is automatically derived by truncating the comment body. This often leads to fragmented sentence parts being the comment subjects, which can look strange and out of place.

Proposed resolution

Add an ellipsis character to the end of the trimmed comment subject.
A screenshot of three comments on a Drupal site in the Bartik theme, the second of which is sufficiently long and has a trimmed subject with an ellipsis.

Remaining tasks

User interface changes

Trimmed comment titles appear trimmed.

API changes

None.

Beta phase evaluation

Reference: https://www.drupal.org/core/beta-changes
Issue categoryTask because nothing is broken, but this is not a new feature, just a (minor) change in behavior
Issue priorityNormal
Unfrozen changesUnfrozen because it only changes markup.
Prioritized changesThe main goal of this issue is usability.
DisruptionNot disruptive. This changes the makeup of the comment subjects that get saved in the database but it does not change the data structure in any way and the trimming is a one-time operation so this is 100% backwards-compatible not only with contributed modules but also with existing sites.

Viewing all articles
Browse latest Browse all 291693

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>