Skip to content

feat: add search and diagnosis filter to history page (#21)#26

Open
pericharlabindhumadhavi-data wants to merge 1 commit into
Pushkarini579:mainfrom
pericharlabindhumadhavi-data:feat/issue-21-history-search-filter
Open

feat: add search and diagnosis filter to history page (#21)#26
pericharlabindhumadhavi-data wants to merge 1 commit into
Pushkarini579:mainfrom
pericharlabindhumadhavi-data:feat/issue-21-history-search-filter

Conversation

@pericharlabindhumadhavi-data

Copy link
Copy Markdown

Closes #21

Problem

The Patient History page loaded all records in a flat table with no way to search or filter. Finding a specific patient required manually scrolling through every record — not practical in a clinical environment.

Fix

Added client-side search and filter functionality:

  • Search input to filter records by filename
  • Dropdown to filter by diagnosis: All / Healthy / Diabetic Retinopathy
  • Both filters work together on already-fetched data (no extra API calls)
  • Shows "No records match your search." when filters return nothing

Files Changed

  • src/app/history/page.tsx

Screenshots

image

@vercel

vercel Bot commented Jun 1, 2026

Copy link
Copy Markdown

@pericharlabindhumadhavi-data is attempting to deploy a commit to the Pushkarini 's projects 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.

Enhancement: Add search and diagnosis filter to Patient History page

1 participant