Closed pengyin-shan closed 2 months ago
Name | Link |
---|---|
Latest commit | 4bb52925009e19b5d1b9ed869d58c01ebd2a6568 |
Latest deploy log | https://app.netlify.com/sites/cheerful-treacle-913a24/deploys/66d87b9fd1dd5d00086c367b |
Deploy Preview | https://deploy-preview-286--cheerful-treacle-913a24.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
This PR is for #238. It updates the search box to match the new design and adds a "close" button that allows users to reset the search while typing. Note that the auto-complete is not working because
/suggest?
does not return any results at the moment. The Info icon is currently kept as a "/#" link until the corresponding page is designed.How to Test
Navigate to the search page and type anything in the search box.
You should notice an "X" button appears:
Click this button, and you should see all search input cleared.
Try adding a few spatial resolution filters and then perform a search.
Now click the "X" button again. You should see that the filters are maintained, but the result list is refreshed by removing the query.
Enter something in the search box, perform the search, and then paste the URL into another window. You should see the close button is still present in the search box in the new window.