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

Add a search functionality to the "Add Block" popover #341

Closed
6 of 9 tasks
ScopeyNZ opened this issue Aug 21, 2018 · 1 comment
Closed
6 of 9 tasks

Add a search functionality to the "Add Block" popover #341

ScopeyNZ opened this issue Aug 21, 2018 · 1 comment

Comments

@ScopeyNZ
Copy link
Contributor

ScopeyNZ commented Aug 21, 2018

#338 adds an "Add Block" popover. The designs show a search area that will filter down the list of blocks as you type:

image

Note that the designs have been updated since this ticket was created.

A/Cs

  • A search box shows above the list of blocks as per the designs above
  • A search box shows above the list of blocks as per the updated designs, see https://projects.invisionapp.com/share/N5MVKR392DS#/screens/318343221_Add_Block
  • Typing in the search area immediately filters the list of blocks
  • The "Show All Blocks" option is automatically enabled while a search query is present
  • By default all available block types are shown - if no search term was entered -
  • Pressing enter should not submit a parent form
  • A small (x) icon appears when there is a search term - clicking it will clear the search
  • A clear link appears when there is a search term - clicking it will clear the search
  • After clearing the search, the previous state of "Show All Blocks" is remembered and restored.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants