TrackerNetwork / DestinyStatus

Destiny Status code base
https://destinystatus.com
MIT License
101 stars 29 forks source link

Autocomplete names #82

Closed iBotPeaches closed 7 years ago

iBotPeaches commented 7 years ago

A big feature of other sites is the ability to type names and have auto complete help you. This helps for those strange names that are like iLiLiL xXx r0aDsniPes, so after a profile is successfully loaded lets record the following in a new table

index on name.

A fear is during a name change, this information may incorrect. So during every profile load, do a simple query for slug & membershipId & membershipType. If that isn't found, delete the records with that same membershipId and membershipType and insert a new one.

This will be API`d to the search bar on the front page.

This is a enhancement to be done after initial D2 support.

iBotPeaches commented 7 years ago

For some reason I thought Bootstrap 3.3 had an included typeahead/autocomplete plugin. This is not the case, so I need to do some research to find one without 13092103 dependencies.