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

UI: fuzzy and tokenized job search #4201

Merged
merged 8 commits into from
May 5, 2018
Merged

Conversation

DingoEatingFuzz
Copy link
Contributor

The better to search through large lists with.

image

This time around fuzzy, exact, and regex can all be toggled.
Additionally, each search type gets its own set of keys to search
for. This means fuzzy search can only look at name while regex and
exact match will still look at ID.
Trailing whitespace messes with tokenization
Copy link
Member

@alisdair alisdair left a comment

Choose a reason for hiding this comment

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

This is a neat implementation! I only have one trivial code formatting suggestion, everything looks good to me. Great test coverage 👍

}
return results.uniq();
}
return this.get('listToSearch');
Copy link
Member

@alisdair alisdair Apr 30, 2018

Choose a reason for hiding this comment

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

Inverting the condition and returning the full list earlier would reduce indentation for the search code and might be a little clearer.

@DingoEatingFuzz DingoEatingFuzz merged commit f92d364 into master May 5, 2018
@DingoEatingFuzz DingoEatingFuzz deleted the f-ui-fuzzy-job-search branch May 5, 2018 16:56
@github-actions
Copy link

github-actions bot commented Mar 5, 2023

I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants