[FEATURE] Add Global Search Functionality for Subjects and Topics#71
Open
sneharam543 wants to merge 4 commits into
Open
[FEATURE] Add Global Search Functionality for Subjects and Topics#71sneharam543 wants to merge 4 commits into
sneharam543 wants to merge 4 commits into
Conversation
Contributor
|
@sneharam543 is attempting to deploy a commit to the PushkarScripts Team on Vercel. A member of the Team first needs to authorize it. |
Updated keyboard shortcut from 'Cmd/Ctrl + K' to '/' for focusing search.
Owner
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Related Issue
Fixes #8
Description
Implemented a lightweight global search system to improve navigation and content discoverability across openCSE.
Changes Made
Added reusable search components:
SearchBarSearchResultsSearchResultItemImplemented fuzzy search with relevance-based matching
Added keyboard shortcuts (
/,Escape)Created a centralized metadata system for subjects and chapters
Added dynamic chapter registration and search indexing
Refactored chapter pages to use metadata-driven architecture
Integrated search functionality into the navbar
Added documentation for the search system
The implementation is fully client-side, lightweight, and avoids unnecessary external dependencies while maintaining the existing UI consistency.
Type of Change
Screenshots / Demo
Desktop Demo
download.1.mp4
How Has This Been Tested?
npm run devExample Queries Tested
laplacepolymorphismpointerjavamathoopChecklist
AI Usage
I have not used AI tools for this contribution
I have used AI tools (ChatGPT, Copilot, Claude, etc.) and I have reviewed, verified, and understood all generated code/content before submitting this PR
If AI tools were used, briefly explain how:
AI tools were used for development assistance, debugging, refactoring suggestions, and improving documentation while ensuring all implementation decisions and final code were manually reviewed and tested.
Additional Notes