This repository has been archived by the owner on Dec 30, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 386
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore(package.json): update yarn requirement This is definitely something that we can skip... * feat(loading-indicator): add information about stalled searches With this implementation all the connectors can propagate the information that the search is currently stalled (meaning that it seems that there are slow network issues). Currently it is only implemented in the searchbox. * feat(loading-indicator): Make timeout for stalled search configurable * feat(loading-indicator): add option to searchbox * chore(ci): update yarn version in travis config * chore: rename stalledSearchTimeout into stalledSearchDelay For consistency with InstantSearch.js * fix: revert behaviour change of `searching` It was a mistake to try to fix the current behaviour of this flag. We should keep it as legacy and remove it during the next major. * feat(SearchBox): new API for the loading indicator And fix tests * fix: actually add the loading indicator * chore(stories): add with custom loading indicator * chore(doc): add doc for new API * chore(createInstantSearchManager): test loading status * chore: remove loading indicator DOM when not needed * refactor(createInstantSearchManager): isSearchStalled should be in store * refactoring(InstantSearch): stalledSearchDelay as a defaultProps * refactor(SearchBox): isSearchStalled computed once * chore: eslint:fix * refactor(SearchBox): use default props for components * chore: isSearchStalled should have a default value * chore: update yarn version (consistency) * chore: remove props since it's the same value as default * chore(storybook): loading indicator as knob * chore: udpate the behaviour and improve test The search is now considered stalled before first results. * chore: fix lint * refactor: variable renaming in createConnector * chore: syntactic sugar * chore(SearchBox): test behaviour with stalled search * refactor: consolidate destructuring of props
- Loading branch information
Showing
18 changed files
with
665 additions
and
47 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -133,7 +133,7 @@ | |
}, | ||
"engines": { | ||
"node": "8.6.0", | ||
"yarn": "1.2.0" | ||
"yarn": "1.3.2" | ||
}, | ||
"jest": { | ||
"notify": false, | ||
|
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
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
Oops, something went wrong.