When creating a topic via a link, the title is truncated to 80 characters, following the rule for onebox titles. However, this limit is too restrictive, as Discourse allows longer titles by default. Terrapop suggests that the max topic title length setting should be applied instead, to prevent poorly truncated titles.
Terrapop mentions that users rarely edit the title, and a more flexible limit would be beneficial. Sam acknowledges the issue, but notes that a fix would be complicated. While a fix is welcome, it’s not urgent, and sam suggests that a commissioned fix through the Marketplace could be a faster solution.
The same rule that is applied to onebox titles (max 80 chars) is applied to the Discourse topic title when creating a topic via a link.
I’m fine with the truncation for the generated onebox in the body, but why truncate the title for the topic on Discourse, which allows much longer titles by default, with the same 80 chars limit?
This leads to a lot of topics with awfully truncated titles, although max title length for topic titles is a lot higher (even by default Discourse) .
For the topic title, the max topic title length setting/limit should be considered/applied for title truncation, not the fixed 80 char one used for the rendered oneboxes in the body text IMHO.
Hi @Sam thanks for the answer. Well, agreed users can alter the title (but they don’t in 99% of the cases), and IMHO the title for the topic should adhere to the max topic title length setting, and not to the very short hard-set one used for the oneboxes. PR would be very welcomed.
Any update on this? We have a community where a lot of people post links via this feature and almost 50% of the titles are truncated badly because of this.