Margaret-Petersen / Margaret-Petersen/python-based-food-ordering-system

Enatega Restaurant Application: Change error message on Text fields when logging-in, make it relevant.

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

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
Change error message on Text fields when logging-in to restaurant application.

To Reproduce
Steps to reproduce the behavior:

Go to 'Enatega Restaurant Application'.
Now on login screen just click on sign in button without entering in any text in the text fields.
Now see error message will show up below email field 'Username is too short' make it relevant according to the field.

Expected behavior
The error message against any field should be relatable to the text field and understandable to a new user.

Screenshots

Image

Smartphone (please complete the following information):

Device: [e.g. Infinix Hot 50, Iphone 15 Pro]
OS: [e.g. Android,iOS]
Browser [e.g. Application]
Version [e.g. Latest]

Contributor guide

Open the contributing guide

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 by reproducing the restaurant application's login-screen validation with both text fields empty. Locate the email-field validation that displays “Username is too short” and determine the corresponding field-specific wording. Done means the messages are relevant and understandable for each empty field.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.