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

Search #212

Open
pdinklag opened this issue Oct 16, 2022 · 2 comments
Open

Search #212

pdinklag opened this issue Oct 16, 2022 · 2 comments
Labels
New Feature Something that would be cool if added.

Comments

@pdinklag
Copy link
Owner

A search bar could ease up navigating the site by indexing awards, player names, maybe UUIDs and more.

@pdinklag pdinklag added the New Feature Something that would be cool if added. label Oct 16, 2022
@pdinklag
Copy link
Owner Author

pdinklag commented Oct 16, 2022

This would mean quite some work. Some keynotes:

  • The search index can be built up during the server-side update for the client to download. A simple inverted index should do the trick, probably there are libraries for that.
  • The search algorithm itself must run on the client side (JavaScript), because the frontend is serverless. Implementing AJAX would require some sort of script (e.g., PHP) on the server side to reply
  • Finally, a frontend presenting the search results is needed.

@articbloom
Copy link

Vouch for this, would be awesome for players to search themselves in the stats website rather than having to go through the server list (if they are not the firsts in any awards)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
New Feature Something that would be cool if added.
Projects
None yet
Development

No branches or pull requests

2 participants