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

Search - handle no input provided #288

Closed
monikasmolarek opened this issue Oct 17, 2024 · 0 comments · Fixed by #291
Closed

Search - handle no input provided #288

monikasmolarek opened this issue Oct 17, 2024 · 0 comments · Fixed by #291
Labels
enhancement New feature or request

Comments

@monikasmolarek
Copy link

Now we get the "NOT FOUND" page:

Screenshot 2024-10-17 at 10 33 02

In case the user doesn’t provide any input, it would be better to:

  • either disable the search button

  • or display a "no input - no output" message, for example:

No Search Input Provided
It looks like you haven't entered anything into the search bar. Please type a keyword and try again to explore the results. 
  • or display a short instruction on how to use the search func effectively, e.g.:
It seems like you haven't entered any search terms yet. 
To make the most out of Spacemesh Explorer, simply enter a transaction ID, smesher ID, account address, layer or epoch number in the search bar. This will help you quickly find the details you're looking for within the Spacemesh network.
@monikasmolarek monikasmolarek added the enhancement New feature or request label Oct 17, 2024
@kacpersaw kacpersaw linked a pull request Oct 21, 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
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant