Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ Creating a user-friendly, non-duplicative Election Name field #203

Open
1 task done
rc-ms opened this issue Feb 4, 2022 · 0 comments
Open
1 task done

✨ Creating a user-friendly, non-duplicative Election Name field #203

rc-ms opened this issue Feb 4, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@rc-ms
Copy link

rc-ms commented Feb 4, 2022

Is there an existing issue for this?

  • I have searched the existing issues

Suggestion

When an election administrator creates an election entry in the setup tool, we want them to use a descriptive name that allows them to uniquiely identify the election they're preparing for, such as:

  • Hamilton County April General Election
  • Harris County Special Election May 13, 2023
  • Eureka Township Mayoral Runoff # 2

We want to make sure these character formulations are possible. If there are problematic characters (e.g., '?', '%', '$', '@', etc.) we should alert the user and prevent their being submitted/displayed in the text box.

To avoid downstream application errors, we want to ensure each Election Name is unique. From a UX perspective, we should enforce uniqueness at name creation.

When a user finishes creating an Election Name, if they press the Enter key or the Create Election button, before proceeding to the next screen the name is submitted, instead an animation that the name is being checked.

If the name is unique, the animation turns green and the user progresses to the next page in the sequence

If the name is not unique, an alert is triggered and an error message displayed: "There is already an election named [foo]". The cursor focus is returned to the text box where the original submission text is displayed with an appended set of text such as [1]. If there is already a [1] entry, then [2].

From that point, if the user simply hits return again the new item can be submitted since it's already been "pre-screened" as unique. Alternatively, the user can move the cursor or hit the delete or backspace keys to change the text themselves and resubmit

Possible Implementation

No response

Anything else?

No response

@rc-ms rc-ms added enhancement New feature or request triage Waiting to be triaged labels Feb 4, 2022
@SteveMaier-IRT SteveMaier-IRT removed the triage Waiting to be triaged label Mar 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants