Page MenuHomePhabricator

Advanced Search Experience Enhancement
Closed, ResolvedPublic

Assigned To
Authored By
Sunkanmi12
Dec 17 2025, 6:45 AM
Referenced Files
F71128555: sortCases.ts
Dec 18 2025, 8:53 PM
F71128556: searchSuggestions.ts
Dec 18 2025, 8:53 PM
F71128557: searchHistory.ts
Dec 18 2025, 8:53 PM
F71128550: SortOptions.css
Dec 18 2025, 8:53 PM
F71128551: SearchHistory.css
Dec 18 2025, 8:53 PM
F71128552: SearchAutocomplete.css
Dec 18 2025, 8:53 PM
F71128542: SortOptions.tsx
Dec 18 2025, 8:53 PM
F71128543: SearchHistory.tsx
Dec 18 2025, 8:53 PM

Description

Title: Advanced Search Feature Enhancement
Description:
Enhance the search experience by adding interactive and intelligent features that help users find Supreme Court cases more efficiently.

Domain: Design / UI-UX
Difficulty: Intermediate

Steps to reproduce:
Not applicable.

Expected outcome:
Users can search cases faster with live suggestions, clear filters, visible result counts, and improved result relevance.

Steps:

  • Add autocomplete and live search suggestions
  • Highlight matched search terms in results
  • Implement a search history dropdown
  • Display applied filters on the results page
  • Show the total number of cases found
  • Add sorting options such as date, relevance, and title
  • Test usability and search accuracy

Any links or references:
GitHub repository placeholder

Setup Steps (short):

  1. Run frontend locally
  2. Connect to existing search endpoints

Event Timeline

Fauwaz subscribed.

I am taking this task

Demo Link

Demo Link

GitHub URL

GitHub

Two Screenshots

suggestions.png (1,914×886 px, 727 KB)

sorting.png (1,918×580 px, 277 KB)

Expected Behavior

When It Works:

  1. Type "c" → Should see suggestions starting with "c"
  2. Type "co" → Should see suggestions starting with "co"
  3. Type "contract" → Should see "contract" and related terms
  4. Click suggestion → Should fill search box and search
  5. Press Arrow Down → Should navigate through suggestions
  6. Press Enter → Should select highlighted suggestion

Visual Indicators:

  • ✅ Dropdown appears below search box
  • ✅ White background with border
  • ✅ Each suggestion has an icon
  • ✅ Hover highlights suggestion
  • ✅ Clicking selects suggestion