Feature: Functional global search in header #6
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The search bar in the main layout header (
src/app/(main)/layout.tsx) has local state but never triggers search. Make it functional.Implementation
Create a shared search context or use URL params:
/explore?search=querysearchfrom URL search paramsUpdate Explore page to read initial search from URL params
Sync header search with explore page search (bidirectional)
Add search suggestions/dropdown (optional, can be separate issue)
Files
src/app/(main)/layout.tsx(header search bar)src/app/(main)/explore/page.tsx(read URL params)Acceptance Criteria