Notes Search & Filter Bar
Component Detail
User Interface
low complexity
mobile
0
Dependencies
1
Dependents
1
Entities
0
Integrations
Description
Reusable Flutter widget providing an accessible search text field and sort controls for the notes list. Debounces search input to minimise API calls and emits filter/sort change events to the parent state layer.
notes-search-filter-bar
Responsibilities
- Render accessible search field with clear button and semantic label
- Debounce text input before emitting search query events
- Provide sort order selector (date descending, date ascending, contact name)
- Meet WCAG 2.2 AA contrast and touch target requirements
Interfaces
onQueryChanged(String query) → void
onSortSelected(NotesSortOrder order) → void
clearSearch() → void