Skip to content

Implement Query history#434

Merged
kofrezo merged 10 commits intoinnogames:mainfrom
Mihitoko:query_history
Mar 10, 2026
Merged

Implement Query history#434
kofrezo merged 10 commits intoinnogames:mainfrom
Mihitoko:query_history

Conversation

@Mihitoko
Copy link
Contributor

@Mihitoko Mihitoko commented Mar 1, 2026

Proposed solution for #432
I would be happy for feedback :D

Copy link
Contributor

@kofrezo kofrezo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Just some minor changes needed 👍

autocomplete_search_input.autocomplete('enable');
autocomplete_search_input.autocomplete('option', 'autoFocus', $('#autoselect')[0].checked);
autocomplete_search_input.autocomplete('option', 'minLength', 0);
autocomplete_search_input.autocomplete('option', 'delay', 50);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we use the delay as well from the search settings ?

Image

Copy link
Contributor Author

@Mihitoko Mihitoko Mar 9, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I initially also thought about this, but i tought its not necessary since we only hit agains local storage.
So we can query it pretty much how often we like, which makes the UI as snappy as possible.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The delay is not in there because of the network traffic but because users got annoyed by the search kicking in too fast.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah i see alright 👍

@kofrezo kofrezo merged commit 7bfd73f into innogames:main Mar 10, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants