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

Added search bar for sidebar. #133

Merged
merged 4 commits into from
Feb 5, 2023
Merged

Added search bar for sidebar. #133

merged 4 commits into from
Feb 5, 2023

Conversation

fracergu
Copy link
Contributor

@fracergu fracergu commented Feb 4, 2023

Created two search hooks:

  • useSearch: Manages search input and allows to use debounced search
  • useSidebarSearch: Uses previous hook to get data from database and filter it if needed

Closes #114

Created two search hooks:
  -  useSearch: Manages search input and allows to use debounced search
  -  useSidebarSearch: Uses previous hook to get data from database and
     filter it if needed
closes #114
@vercel
Copy link

vercel bot commented Feb 4, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
linkshub ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Feb 5, 2023 at 7:31AM (UTC)

Copy link
Owner

@rupali-codes rupali-codes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank for contributing, it looks great, but there's some small issues needs to be fixed:

  1. Searchbar overlapping in small screen i.e It's not responsive
    It's should be in the sidebar

image

  1. Color contrast on-focus is too much, and it does not match with our theme.
    Make it either violet or gray

image

  1. Background color should be as same as sidebar background color

image

applications theme.
Moved Searchbar component inside the menu container to inherit
responsiveness
@rupali-codes
Copy link
Owner

Thank you, could you please resolve conflicts?

Copy link
Owner

@rupali-codes rupali-codes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks perfecct

Co-authored-by: Rupali Haldiya <78981177+rupali-codes@users.noreply.github.com>
Copy link
Owner

@rupali-codes rupali-codes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

@rupali-codes rupali-codes merged commit 86b46ce into rupali-codes:main Feb 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Vertical overflow on Design-inspiration subcategory in mobile view
2 participants