Skip to content

[Bug]: Improve user feedback for form validation and error states in the recommendation UI #871

@minhajparveenh2008

Description

@minhajparveenh2008

What happened?

When users interact with the DevPath recommendation form, the system validates inputs in the background, but error or failure messages are not always clearly shown in the UI.

For example, if a user enters invalid or incomplete input, or if a request fails, the application may not display a proper message explaining what went wrong. In some cases, the UI appears unchanged, which makes it feel like nothing happened.

Steps to reproduce

Open the DevPath homepage.
Locate the project recommendation form.
Enter invalid or empty values in one or more fields (e.g., empty skills or invalid selection).
Click “Generate My Projects”.
Observe whether all fields display clear error messages consistently.

Expected behaviour

When the user submits the form with missing or invalid inputs, the application should:

Display clear and specific error messages under each invalid field (e.g., Skills, Level, Interest, Time).
Prevent form submission until all required fields are correctly filled.
Provide consistent and visible feedback so the user understands what needs to be corrected.
Ensure that no request is processed with incomplete or invalid data.
Maintain accessibility by linking error messages properly to their corresponding input fields.

Area of the app affected

Homepage form

Python version

3.11.4

Operating system

Windows 11

Relevant error output or logs

No explicit terminal errors or console errors were observed.

However, during form submission with missing or invalid inputs, the application does not consistently display error messages in the UI, and no clear error logs are shown in the browser console indicating why the submission failed or why results were not generated.

In some cases, the request appears to be processed without visible feedback to the user, making it difficult to trace the issue from either the UI or console output.

Before submitting

  • I searched existing issues and this has not been reported before.
  • I can reproduce this bug consistently with the steps above.
  • I am running the latest version of the main branch.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions