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

Display 'No data' error message #81

Open
SiriChandanaGarimella opened this issue Oct 1, 2024 · 0 comments · May be fixed by #126
Open

Display 'No data' error message #81

SiriChandanaGarimella opened this issue Oct 1, 2024 · 0 comments · May be fixed by #126
Assignees

Comments

@SiriChandanaGarimella
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
Users are not informed when their search term yields no results, which can be confusing.

Describe the solution you'd like
Implement an error message that says, "There is no data for the provided search term" when the search yields no results. Currently, no message is displayed on the UI, and the backend find-sections and preview API calls return a 500 internal server error. Proper error messages should be displayed on the UI and in the API response. This feature will improve user experience by providing clear feedback when searches don't return data.

Additional context
This issue should be picked after the issues #75 and #76 are fixed

Acceptance criteria

  1. When a search term yields no results, the message "There is no data for the provided search term" is displayed prominently on the page.
  2. This message should be displayed instead of a 500 internal server error in the find-sections and preview API calls
  3. This message should be displayed on the UI on clicking on Preview output or Download output.
  4. The UI remains responsive, allowing users to modify their search terms and try again.
  5. The error message is styled consistent with the rest of the application's UI.
@suprajamannava17 suprajamannava17 self-assigned this Dec 26, 2024
@suprajamannava17 suprajamannava17 linked a pull request Dec 27, 2024 that will close this issue
@suprajamannava17 suprajamannava17 linked a pull request Dec 27, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants