Skip to content

Search Form bugs and improvements #2

@Dorin-David

Description

@Dorin-David

The main form search has several issues:

  1. It is not possibile to trigger a user search by pressing the Enter button
  2. When clicking on the text input, the placeholder message does not dissapear
  3. When a user is not found, a generic error message is displayed, rather than a more informative message
  4. Clicking on the Search button when the form is empty clears the state and resets the application
  5. (Minor) consider adding a hover / active styling on the search button
  6. (Potential feature) consider displaying a list of potential search matches (if API allows that) if a user was not found

Fix

  • Allow search trigger with Enter keypress
  • Remove placeholder text when input is on focus
  • Display more descriptive message when user is not found
  • Fix app clear state bug when clicking on search button while input is empty
  • Investigate API to potentially implement a better search experience

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions