codidact / qpixel

Q&A-based community knowledge-sharing software
https://codidact.com
GNU Affero General Public License v3.0
378 stars 69 forks source link

Validation for edit comment length #1271

Closed Oaphi closed 6 months ago

Oaphi commented 7 months ago

Closes #1258


Validation error display with > 1 max characters limit:

Screenshot from 2024-01-04 00-07-28

Site setting for updating the new limit (255 by default):

Screenshot from 2024-01-04 00-08-55

Validation error display with = 1 max character limit:

Screenshot from 2024-01-04 00-10-07

Validation error display when approving a suggested edit fails due to validation:

Screenshot from 2024-01-05 19-27-53

Additional changes include: