docsearch icon indicating copy to clipboard operation
docsearch copied to clipboard

fix(navigator): check for experimental `userAgentData` first

Open shortcuts opened this issue 1 year ago • 1 comments

Summary

https://algolia.atlassian.net/browse/CRAW-2433

Proposed in https://github.com/algolia/docsearch/pull/1483 by @bershanskiy, moved here to add tests on top

This addition prevents the console warning when trying to detect the platform. We still fallback on the default navigator implementation if not found.

shortcuts avatar Sep 09 '22 12:09 shortcuts

Deploy Preview for docsearch ready!

Name Link
Latest commit a90cdb86478a390c8d6f5473b49cc6c559ee9fb9
Latest deploy log https://app.netlify.com/sites/docsearch/deploys/636a0c15b9775200080e4f40
Deploy Preview https://deploy-preview-1548--docsearch.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

netlify[bot] avatar Sep 09 '22 12:09 netlify[bot]