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

[design] Search bar error states / helper #80

Closed
aulneau opened this issue Apr 20, 2020 · 0 comments
Closed

[design] Search bar error states / helper #80

aulneau opened this issue Apr 20, 2020 · 0 comments
Assignees
Milestone

Comments

@aulneau
Copy link
Contributor

aulneau commented Apr 20, 2020

The input validates either a tx_id, which would be a hash -> https://github.com/blockstack/explorer/blob/86074e982e00f075cecea175c370834915d8fa7f/src/common/utils.ts#L50 or a contract name -> https://github.com/blockstack/explorer/blob/86074e982e00f075cecea175c370834915d8fa7f/src/common/utils.ts#L55.

We need an error state to display which one is invalid, and some helpful information for using the search. How would a user know to search for a contract name or tx_id?

Also, with the recently viewed component living below the search bar, the typical location of below the input for errors won't work as well.

Screen Shot 2020-04-20 at 8 16 02 AM

@aulneau aulneau added this to the 2020 Q2 Sprint 8 milestone Apr 20, 2020
@agraebe agraebe modified the milestones: 2020 Q2 Sprint 8, 2020 W17-W19 Apr 21, 2020
@aulneau aulneau self-assigned this Apr 28, 2020
@aulneau aulneau modified the milestones: 2020 W17-W19, 2020 W19-W21 May 5, 2020
@aulneau aulneau closed this as completed May 9, 2020
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

No branches or pull requests

3 participants