#28 Discourage or disallow long comments
Opened 6 months ago by adamwill. Modified 6 months ago

Currently, there doesn't seem to be any restriction on comments. This means people can write whole bug descriptions or essays in there, and boy howdy, they sure do. As the desktop folks pointed out, this is not super useful for developers.

I think it'd probably be a good idea to put a fairly low character limit on the comment field - either a hard limit or a soft 'do you really want to submit a comment that long?' warning thing - and have the UI shown when you hit the limit encourage you to file a bug instead. Something like "Please don't write full bug descriptions as comments! Please submit a bug report following the instructions in the Test Day page, and link the bug report here instead."

We do have an associated consideration here of handling reports to places other than RH bugzilla; we want the limit to be long enough to allow e.g. links to gitlab.gnome.org without hitting the max. The tool I wrote to dump 'long' comments out of the table uses 150 characters as the cutoff for a 'long' comment, which is a number I more or less made up, but seems to work OK. A long gitlab.gnome.org link would be https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/775 , which is 65 chars...

Hmm, I was looking in the wrong place - this does exist as tooLongAlert, but max length is 500 (which is already pretty long) and the text is quite vague. I'll see if I can send a PR to improve things a bit.

Login to comment on this ticket.