Skip to content
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

Searchbox #2

Merged
merged 20 commits into from
Jul 29, 2024
Merged

Searchbox #2

merged 20 commits into from
Jul 29, 2024

Conversation

joerideg
Copy link
Contributor

Add the searchbox component, hook and context

@feixie1980
Copy link
Contributor

Looks straight forward, which means good!

generators/hook/{{ kebabCase name }}.hook.ts.hbs Outdated Show resolved Hide resolved
src/search/search-box/search-box.tsx Outdated Show resolved Hide resolved
src/search/search-box/search-box.types.ts Outdated Show resolved Hide resolved
src/search/hooks/productSearch.hook.ts Outdated Show resolved Hide resolved
src/search/search-box/search-box.stories.tsx Show resolved Hide resolved
src/search/search-box/search-box.tsx Show resolved Hide resolved
@vkovrigo
Copy link

LGTM

joerideg added 2 commits July 19, 2024 13:03
This hook is a companion to the SearchBox component. It allows for consumers to build their
searchbox component from scratch instead of using the out of the box SearchBox component.
joerideg added 3 commits July 19, 2024 16:22
- Add error and loading state to SearchContext to manage search status and error handling
- Update SearchBox to include InputHTMLAttributes for better flexibility in input handling
- Adjust useSearchBox hook to set error and loading states in SearchContext
- Restructure imports for better readability in search.context.tsx
- Reorder and adjust SearchBoxProps to move debounceDelay configuration
- Export necessary hooks and context from the search index file for unified module access
@joerideg joerideg marked this pull request as ready for review July 29, 2024 12:59
@joerideg joerideg merged commit dc589f7 into main Jul 29, 2024
12 checks passed
@joerideg joerideg deleted the searchbox branch July 29, 2024 13:03
@joerideg
Copy link
Contributor Author

joerideg commented Sep 6, 2024

🎉 This issue has been resolved in version 0.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants