question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Improve search UX by adding a loader while initializing the search

See original GitHub issue

I checked that…

  • … the documentation does not mention anything about my idea
  • … to my best knowledge, my idea wouldn’t break something for other users
  • … there are no open or closed issues that are related to my idea

Description

Add a loading animation to search input field until the search_index file gets loaded and parsed

Use Cases

When the search_index.json file is large for larger document sites, It takes a while to load and parse the file in the browser, Until it completes this process, User feels like search operation is not working, because we don’t give any feedback until the search initialization complete (On click search input, loads search_index.json, parse it)

Screenshots / Mockups

This is how we have customized search initialization in our docs

Jan-26-2020 22-01-02

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:20 (18 by maintainers)

github_iconTop GitHub Comments

1reaction
squidfunkcommented, Apr 26, 2020

0145f6d2 adds a hint that the search is being initialized. Again, the last value is re-emitted, when search is successfully initialized. We could add some more animations to it, but I think it’s a start.

Tested with Fast 3G on the official docs:

Ohne Titel

0reactions
squidfunkcommented, Apr 27, 2020

Thanks! Fixed in 671ec724.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Stop Using A Loading Spinner, There's Something Better
Stop using those boring loading spinners in your user interfaces. Seriously. It's killing your apps' experience more than you know. A loading spinner...
Read more >
Your Loading Spinner Is a UX Killer! Here's an Alternative
Using a loading spinner is terrible for user experience. Learn why, how to make them better, and about the best alternative yet: skeleton ......
Read more >
How To Improve Advanced Search UX? - UX Design World
The advanced search page displays all available parameters on the front UI and the user does not have to add parameters explicitly.
Read more >
Scoped Search: Dangerous, but Sometimes Useful
Scoped Search: Dangerous, but Sometimes Useful. Summary: Restricting search to a specific area of a website can provide better results, faster.
Read more >
UX Design Patterns for Loading - Pencil & Paper
Loading UX takes careful consideration of both the user's and the system's context to use the appropriate loading pattern.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found