Skip to content

Re-introduce ajax player search - #194

Merged
jschnei merged 6 commits into
masterfrom
damien/player-search-ajax
Sep 24, 2017
Merged

Re-introduce ajax player search#194
jschnei merged 6 commits into
masterfrom
damien/player-search-ajax

Conversation

@jiangtyd

@jiangtyd jiangtyd commented Sep 24, 2017

Copy link
Copy Markdown
Collaborator

Re-opening #193 with the right remote repo.

Implement part 1 from this issue: #187

Instead of loading the (now very large) list of all players, make ajax requests when the user does player search.

@jschnei @garsh0p

@jschnei

jschnei commented Sep 24, 2017

Copy link
Copy Markdown
Collaborator

I'll merge this, but we might have to roll it back until we add optimizations if there are performance issues.

@jschnei
jschnei merged commit b06fc27 into master Sep 24, 2017
@jiangtyd

Copy link
Copy Markdown
Collaborator Author

@jschnei don't worry, we debounce the typeahead now so it won't bombard the server with requests! (Try it out on staging)

BrandonCookeDev pushed a commit to BrandonCookeDev/garpr that referenced this pull request Jan 20, 2018
* return most relevant player matches from server if querying by string

* fixes

* frontend for ajax player search (rm logic, debounce)

* reformat app module deps

* fix filtering on promises

* loading spinner for ajax call
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