Change timeline event length validation to 280 on user input
What does this MR do and why?
When timeline events are created or updated by a user (via API), then restrict its length to 280 characters to stay in sync with the frontend validation. On the other hand, then timeline events created automatically by GitLab, or promoted from other comments, keep the length up to 10_000 characters.
Related to #372289 (closed)
Based on the following discussion #372289 (comment 1154505078)
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Vitali Tatarintev