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.

Provide a better built-in suggestion engine

See original GitHub issue

The progressive enhancement approach already uses a very simple suggestion engine. It would be easier to use the autocomplete if it offered an API that was as simple as:

accessibleAutocomplete({
  element: document.querySelector('#autocomplete-container'),
  options: ['United Kingdom', 'United States']
})

And as a later feature, supporting (at a basic level):

  • custom weighting
  • synonyms / aliases (e.g. UK for United Kingdom)
  • highlighting matched text
  • unicode support (diacritics)

Some work on this can be based on the openregister-picker-engine.

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
alexnewmannncommented, Oct 24, 2018

this is definitely something we are keen to have in DWP, we require a list of hospitals and their aliases both of which should return results. We may also require address to return results, will be happy to pick it up if we have time within our team 👍

0reactions
NickColleycommented, Sep 12, 2019

@alexnewmannn appreciate you offering to help but we don’t have a lot of time to work on features for this component, so we’re prioritising bugs: for example accessibility issues.

We’ll let you know if that changes as we’d love to get your input then, thanks again.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Building a Recommendation Engine: An Algorithm Tutorial
Recommendation engines allow web services to provide their users with a more engaging experience. But how does a recommendation engine really work?
Read more >
How to build an Advanced Recommendation Engine
You have your first recommendation engine live and it's performing good enough that stakeholders want you to improve it rather than take it ......
Read more >
Recommendation Engines and Why I Hate Them | Built In
The battle against relentless product recommendations doesn't have to be a zero-sum game.
Read more >
Build a Recommendation Engine With Collaborative Filtering
In this tutorial, you'll learn about collaborative filtering, which is one of the most common approaches for building recommender systems.
Read more >
Up Next: A Better Recommendation System - WIRED
With each click, the recommendations get more specific. Click on one chicken ... Recommendation engines have become The Great Polarizer.
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