You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mastodon/app/validators
Sasha Sorokin 37b3985bfa
Improve polls: option lengths & redesign (#13257)
This commit redesign the polls and increases characters limit for the
options from 25 to 50 characters, giving pollsters more freedom.

Summarizing, the redesign is making the polls more adaptive for upcoming
changes to the options characters limit: the bar, or a "chart", is now
displayed separately from the option itself; vote check mark is moved
next to the option text, making the percentages take less space. Option
lengths are taken into account and text is wrapped to multiple lines
if necessary to avoid overflow.
5 years ago
..
blacklisted_email_validator.rb
disallowed_hashtags_validator.rb
domain_validator.rb
email_mx_validator.rb
existing_username_validator.rb
follow_limit_validator.rb
html_validator.rb
note_length_validator.rb
poll_validator.rb Improve polls: option lengths & redesign (#13257) 5 years ago
reaction_validator.rb Fix validations of reactions limit (#12955) 5 years ago
status_length_validator.rb
status_pin_validator.rb
unique_username_validator.rb Search account domain in lowercase (#13016) 5 years ago
unreserved_username_validator.rb
url_validator.rb
vote_validator.rb Fix invalid votes from the API being accepted (#12601) 5 years ago