🔍  Feature Request — Enhance Sample Search with Additional Filters and Advanced Search
🗣️  User Feedback / Suggested Improvements
- Add Person as a filter option.
 - Add Sample Type as a filter option.
 - Update search box placeholder text: change “Name” → “Sample Name”.
 - Review Date Types filter: remove inappropriate types (also on sample creation).
 
🎯  Goal
Improve the Sample Search interface to support:
- 
Person filter (
SampleUser) - 
Sample Type filter (
SampleType.name) - Valid Date Types only
 - Advanced search panel with multiple combined criteria
 - Update search box placeholder: “Sample Name”
 
🧩  Implementation
- 
Add Advanced Search panel: allow multiple filters input with hide/show feature  - 
Add Person (distinct list of samples users) filter (need another endpoint in backend to provide the list with some lookup feature) GET /sample_user?session_id=....backend related issue - 
Add Sample Type filter (we have the endpoint in backend that provide the list but need some enhancement)  - 
Remove invalid date types from filters and sample creation  - 
Update search box placeholder text  - 
Ensure compatibility with backend cursor-based pagination ( POST /sample/initiate+GET /sample) 
🧪  Testing
- Filters return correct results
 - Advanced search applies multiple criteria correctly
 - Placeholder text updated in all search boxes
 - Date filters exclude invalid types
 
🏷️  Labels
frontend feature enhancement search sample priority::medium
Edited  by Mojeeb Rahman Sedeqi