Skip to content

feat: search result filters by type, size and date - #152

Merged
nextestudios merged 1 commit into
mainfrom
feature/47-search-filters
Sep 27, 2026
Merged

nextestudios merged 1 commit into
mainfrom
feature/47-search-filters

Conversation

@nextestudios

Copy link
Copy Markdown
Owner

Summary

  • SearchFilter (Application layer): type chips (folders, images, videos, audio, documents, archives, executables — combinable, any of them), size ranges and modified-date ranges (combined with the types).
  • In search results North/Y opens the filters; South/A toggles a type or steps a size/date range, and the menu reopens on the same item so several can be picked. The footer hint reads "Filtros" / "Filtros (ativos)". The previous search actions are under "Outras ações da busca…".
  • Applying a filter re-filters the stored results in place — the search is not restarted (the same SearchState keeps streaming, new batches arrive filtered). The footer summary shows "N de M resultados (filtros: …)".
  • Filters are kept for the session and apply to new searches until "Limpar filtros".

Testing

  • CI: SearchFilterJourneyTests — toggling Images then Videos combines them, keeps the menu open, doesn't restart the search (same state instance), updates the summary, persists into the next search, and "Limpar filtros" restores everything.
  • Manual (docs/TESTING.md "Filtros da busca (feat: add file search filters #47)"): ✓ marks with a controller and Narrator; filtering while a large search is still running.

Closes #47

🤖 Generated with Claude Code

@nextestudios
nextestudios merged commit 44c057a into main Sep 27, 2026
1 check passed
@nextestudios
nextestudios deleted the feature/47-search-filters branch September 27, 2026 05:28
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.

feat: add file search filters

1 participant