RunestoneInteractive / RunestoneInteractive/rs

Signup - Validation messages do not display label text

Open
#887 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
69
Forks
117
Avg merge
6d 4h
Merged PRs (30d)
24

Description

When the user encounters an error on the signup page (runestone/default/user/register), the validation messages include the variable names for the fields with the errors (first_name, course_id) instead of the label text (First Name, Course Name).

To recreate:

  1. Go to the Runestone Academy home page.
  2. In the main navigation, click Sign Up.
  3. Signup form displays. Click the terms and conditions checkbox to check it.
  4. Click the Sign Up button.

Errors display:


username: Value already in database or empty
first_name: Cannot be empty
last_name: Cannot be empty
email: Invalid email
password: Too short
course_id: Unknown course name. Please see your instructor.```

Please display the label text for each (including the proper capitalization) instead of the variable name.

![Image](https://github.com/user-attachments/assets/9f910bd5-60dc-4e98-a1d9-526dd93e3230)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the signup page entry point, runestone/default/user/register, and reproduce the validation errors described in the issue. Trace how the signup form builds its error messages and update the displayed field names to the corresponding capitalized labels. Done means the errors show label text such as “First Name” and “Course Name” rather than variable names.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.