Skip to content

Increase character and answer options limits

Lukas Weingarten requested to merge reduce-restrictions into master

Increase comment answer length to 1000 characters

Increase content group name lenght to 50 characters

Make the following UI enhancements to handle longer content group names:

  • Reduce font size for content group list and content group overview title on mobile devices
  • Introduce new TextOverflowClipComponent which creates an ellipsis in the middle (before the fifth last character) of text and use it for displaying content group names in room overview and nav bar menu.

This also fixes a UX bug: Currently content groups with longer names overlap with other features in mobile nav bar.

Increase room name length and optimize displaying it

To increase room length to 50 characters, make following layout enhancements:

  • Reduce room overview header font size to default sizes
  • Reduce room list font size on mobile devices
  • Hide room lists comments counter badge on mobile devices
  • Use TextOverflowClipComponent for text overflow handling

Prepare for up to 12 answer options

  • Stop settings bar thickness manually in bar charts
  • Stop settings font size manually in bar charts
  • Use "–" as abstentions label under bar charts since this label is to present and leads to a rotation of all labels
  • Add tooltips to choice and sort charts for understanding of the abstention sign
  • Improve horizontal chart height calculation for prioritization statistics
  • Introduce 4 new colors for bar charts

Closes #1241 (closed)

Merge request reports