The error text is overly verbose

Created on 3 December 2016, over 7 years ago
Updated 24 March 2024, 3 months ago

The error text:

Your vote could not be recorded because you did not select any of the choices.

is unnecessarily verbose. The fact that it is an error implicitly informs the user that the vote has not been recorded. All that is needed is the reason why the error appeared which can also encapsulate the remedy eg.

Make a selection before voting.

Remaining tasks:
Create MR
Update the tests (there are checks on the old value)

πŸ“Œ Task
Status

Fixed

Version

2.0

Component

User interface

Created by

πŸ‡ΊπŸ‡ΈUnited States tkoleary

Live updates comments and jobs are added and updated live.
  • Usability

    Makes Drupal easier to use. Preferred over UX, D7UX, etc.

  • Novice

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024