-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: author searching This commit adds commit searching based on the name of the author, utilising fuzzy matching. I initially thought about just adding a basic search, but quickly realise that GitHub usernames can be a pain to type, so any help getting to the search destination faster is a bonus - hence the fuzzy matching. I didn't do too much digging into the fuzzy searching library, but Fuse.JS seemed to be a sensible choice. The trade-off for performance is a complex balance of the setup, search and teardown times. * fix selected users updating on search We were recreating the list of users that we pick for deployment on each render and, due to the way the input works, each keypress causes a render. This means that we need to memoise `developerCommits` so that it's only recreated when the relevant information changes (or on refresh). However, we _also_ need to memoise `<DeploymentUsers />` otherwise the order of the users _could_ change with each render. * PR review feedback
- Loading branch information
Showing
5 changed files
with
60 additions
and
20 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters