Repository navigation
Add text search to the todo list endpoint - #7
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Priority: ➖ Normal Merge Risk: ⚪ Minimal · up to This adds an optional, bounded text search to the todo list endpoint. The visible changes show no concrete risk to existing behavior, and the author reports passing tests that cover the new behavior. The change looks ready to merge. Security Architecture Review
Pre-merge checks |
|
|
This pull request was merged because it matched the criteria for the rule Merge low-risk changes (Triage Settings). |
Summary
GET /api/todosaccepts a newsearchquery parameter. It returns todos whose title or description contains the given text, ignoring case. It combines with the existingcompletedandinclude_archivedfilters.Details
%and_in the search term are escaped, so they match literally instead of acting asLIKEwildcardsTesting
Added tests for title and description matches, no matches, literal wildcard characters, and combining with
completed. Backend suite passes locally.Summary by CodeRabbit