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

#81 added NO data error message #126

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

suprajamannava17
Copy link
Collaborator

Fixes #81

What was changed?

The DraftOrcaDashboard frontend, file_search_operations backend, and usecases/search_orca_data backend logic were modified to handle cases where no search terms or data are found by alerting users and returning appropriate error responses.

Why was it changed?

These changes were made to improve user experience and error handling by providing feedback when no data matches the provided search terms, ensuring the application responds gracefully.

How was it changed?

  • In DraftOrcaDashboard, an alert was added for 404 responses when no data is found.
  • In file_search_operations, a check was added to return an empty string if no matching search terms are found.
  • In usecases/search_orca_data, error handling was added to return a NOT_FOUND response with a clear message when no content is retrieved.

Screenshots that show the changes (if applicable):
image

@suprajamannava17 suprajamannava17 linked an issue Dec 27, 2024 that may be closed by this pull request
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 this pull request may close these issues.

Display 'No data' error message
1 participant