-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Nav Block - show recent pages as default suggestions when creating Nav Links #19458
Nav Block - show recent pages as default suggestions when creating Nav Links #19458
Commits on Jan 15, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 4d693f3 - Browse repository at this point
Copy the full SHA 4d693f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for a124c1b - Browse repository at this point
Copy the full SHA a124c1bView commit details -
Configuration menu - View commit details
-
Copy full SHA for a94b1c3 - Browse repository at this point
Copy the full SHA a94b1c3View commit details -
Update initial suggestions to be display whenever the input is empty …
…and there are no current suggestions This is needed to ensure that the async fulfillment of the initialSuggestions prop causes the component to re-render and display the initial suggestions. Without this the initial suggestions would only be available if the prop is fufilled on the initial component mount.
Configuration menu - View commit details
-
Copy full SHA for 56b8ff8 - Browse repository at this point
Copy the full SHA 56b8ff8View commit details -
Fix to ensure initial suggestions are shown when pages request fulfills
Addresses issues noted in #19458 (comment)
Configuration menu - View commit details
-
Copy full SHA for a4e205c - Browse repository at this point
Copy the full SHA a4e205cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5384967 - Browse repository at this point
Copy the full SHA 5384967View commit details -
Fix to allow keyboard arrow to move focus into suggestions when present
Previously it was not possible to use the down arrow key to move the focus into the search suggestions when initialSuggestions were displayed. This was due to requirement for there to be a value in the `input` which is now no longer valid now that initial suggestions can be displayed. Note that removing the derived setting of selectedSuggestion state is valid as selectedSuggestions are always reset on each new data fetch anyway. Resolves issue noted in #19458 (comment)
Configuration menu - View commit details
-
Copy full SHA for eeacd74 - Browse repository at this point
Copy the full SHA eeacd74View commit details -
Fix bug whereby not providing initialSuggestions to LinkControl disab…
…led the ability to search at all Test failures led to uncovering of a bug whereby the URLInput component’s `updateSuggestions` method would exit early it initialSuggestions wasn’t provided. As initialSuggestions is an optional prop this means that all fetching of search suggestions was disabled if the initialSuggestions wasn’t provided. Fixed this bug and all tests by improving the conditionals.
Configuration menu - View commit details
-
Copy full SHA for 2bf0d68 - Browse repository at this point
Copy the full SHA 2bf0d68View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3923795 - Browse repository at this point
Copy the full SHA 3923795View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b23050 - Browse repository at this point
Copy the full SHA 8b23050View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d34ed5 - Browse repository at this point
Copy the full SHA 7d34ed5View commit details -
Configuration menu - View commit details
-
Copy full SHA for c37497e - Browse repository at this point
Copy the full SHA c37497eView commit details -
Configuration menu - View commit details
-
Copy full SHA for cf55b73 - Browse repository at this point
Copy the full SHA cf55b73View commit details -
Configuration menu - View commit details
-
Copy full SHA for 573972f - Browse repository at this point
Copy the full SHA 573972fView commit details -
Configuration menu - View commit details
-
Copy full SHA for ee6c5b8 - Browse repository at this point
Copy the full SHA ee6c5b8View commit details -
Refactor to remove seperate initialSuggestions query
As per the GH thread below, this refactors the code to avoid the need to introduce a new fetch API around `__experimentalInitialSuggestions`. Now instead we simply reuse the existing fetchSuggestions handler to get the initial results. The only different being we introduce an arguments object to queries to restrict the number of results displayed for initial Suggestions. See #19458 (comment)
Configuration menu - View commit details
-
Copy full SHA for c96409c - Browse repository at this point
Copy the full SHA c96409cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5eef3dd - Browse repository at this point
Copy the full SHA 5eef3ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for f500fe4 - Browse repository at this point
Copy the full SHA f500fe4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0208bc6 - Browse repository at this point
Copy the full SHA 0208bc6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2244e33 - Browse repository at this point
Copy the full SHA 2244e33View commit details -
Fix potential infinite render using flag to conditionalise updating s…
…uggestions on update or mount
Configuration menu - View commit details
-
Copy full SHA for a31f651 - Browse repository at this point
Copy the full SHA a31f651View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b8b6ea - Browse repository at this point
Copy the full SHA 3b8b6eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ca624b - Browse repository at this point
Copy the full SHA 1ca624bView commit details -
Fix e2e test failure due to console warning in LinkControl
This is a temp fix and I’ve raised an Issue to solve the core issue which will then make this fix redundant. #19634
Configuration menu - View commit details
-
Copy full SHA for b6d6c26 - Browse repository at this point
Copy the full SHA b6d6c26View commit details -
Configuration menu - View commit details
-
Copy full SHA for abe616c - Browse repository at this point
Copy the full SHA abe616cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 259938a - Browse repository at this point
Copy the full SHA 259938aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 385d04f - Browse repository at this point
Copy the full SHA 385d04fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5dc5716 - Browse repository at this point
Copy the full SHA 5dc5716View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c648a3 - Browse repository at this point
Copy the full SHA 8c648a3View commit details