SkygearIO / skygear-doc

[Deprecated] Doc site generator for all the platform guides of Skygear; Content are here: https://github.com/SkygearIO/guides/tree/v1
https://docs.skygear.io/
MIT License
4 stars 19 forks source link

Missing not found state and UI feedback on pasting and enter #515

Closed rickmak closed 7 years ago

rickmak commented 7 years ago

Step to reproduce

  1. paste discoverUserByEmails into search box
  2. press enter
  3. nothing happen

Expected result

Side track:

If you type discoverUserByEmails, the UX is actually okay. Since there will be some result before it become empty. :cry:

tensiuyan commented 7 years ago

I think include code block in the search may solve this problem. Also add a no result please try other keywords page. Will handle this issue in #516

rickmak commented 7 years ago

include code block

Why is it related?

no result please try other keywords page

Page? I am referring the search dropdown.

chpapa commented 7 years ago

@tensiuyan I think it is not related. We should have a "Not found" design for #516

tensiuyan commented 7 years ago

@rickmak Sorry -

  1. Currently we haven't indexed the code blocks. That's why when you search "discoverUserByEmails", you got no result. I think as a user, I will expect a result when I search an APIs. See if you agree?

  2. Yup I am talking about the search dropdown. When there's no result, we should display "No result found. Please try other keywords".

Sorry was typing too fast.