mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-13 21:02:08 +08:00
* feat: Passing hits from SearchHits to parent SearchBar to keep track of with the keyboard. Moved all logic for number of hits to WithInstantSearch.js * Basic functionality working * Added up/down looping functionality to dropdown * Set 's' and '/' as shortcuts to focus the search bar * Moved some things around and added functionality for mouse hovering to change the selected hit. Reworked a bit of the global CSS so mouse hovers don't cause multiple highlights in the dropdown * Brought back magnifying glass icon * feat: Switched out onKeyDown and key codes for react-hotkeys * Refactoring based on review |
||
|---|---|---|
| .. | ||
| config | ||
| plugins | ||
| src | ||
| static | ||
| utils | ||
| .babelrc | ||
| .gitignore | ||
| gatsby-browser.js | ||
| gatsby-config.js | ||
| gatsby-node.js | ||
| gatsby-ssr.js | ||
| jest.config.js | ||
| jest.transform.js | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.js | ||
| webpack-workers.js | ||