Skip to content

feat: add search bar for quick subject navigation (#269)#311

Open
Diksha2013 wants to merge 1 commit into
pushkarscripts:mainfrom
Diksha2013:feature/search-bar
Open

feat: add search bar for quick subject navigation (#269)#311
Diksha2013 wants to merge 1 commit into
pushkarscripts:mainfrom
Diksha2013:feature/search-bar

Conversation

@Diksha2013

@Diksha2013 Diksha2013 commented Jun 20, 2026

Copy link
Copy Markdown

Related Issue

Fixes #269


Description

Implemented a search functionality for quick subject and topic navigation in the Browse Subjects section.

Changes made:

  • Added a responsive search bar with search icon.
  • Enabled dynamic filtering of subjects across semesters.
  • Added support for searching by:
    • Subject name
    • Partial keywords
    • Subject abbreviations and codes (e.g. ml, dbms, os)
  • Automatically hides semesters with no matching subjects.
  • Added a "No results found" state with a helpful message.
  • Improved search performance using useMemo().
  • Maintained responsive design for desktop and mobile devices.
  • Added smooth hover effects and UI enhancements consistent with the existing design.

Type of Change

  • Bug fix
  • New feature
  • Documentation update
  • UI/UX improvement
  • Refactor

Screenshots / Demo

Default View

Screenshot 2026-06-20 165553

Search by keyword (math)

Screenshot 2026-06-20 164343

Search by subject code (dbms)

Screenshot 2026-06-20 165641

Search by abbreviation (ml)

Screenshot 2026-06-20 164409

Search with no matching results (xyz)

Screenshot 2026-06-20 165721

Mobile Responsive View

Screenshot 2026-06-20 165856

@vercel

vercel Bot commented Jun 20, 2026

Copy link
Copy Markdown
Contributor

@Diksha2013 is attempting to deploy a commit to the PushkarScripts Team on Vercel.

A member of the Team first needs to authorize it.

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.

Add a Search Bar for Quick Subject and Topic Navigation

1 participant