MT-22678: Add name search filter to contact lists listing#116
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
📝 WalkthroughWalkthroughContact list listing now accepts an optional ChangesContact list name filtering
Estimated code review effort: 2 (Simple) | ~10 minutes Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@coderabbitai review |
✅ Action performedReview finished.
|
Motivation
https://railsware.atlassian.net/browse/MT-22678
Changes
searchkeyword toContactListsApi#list— filters contact lists by name (case-insensitive prefix match), per the OpenAPIGET /api/contacts/listsparam. When omitted the request is unchanged, so the call stays backward compatible.How to test
client.contact_lists.list— returns all contact lists (unchanged behaviour).client.contact_lists.list(search: "news")— returns only lists whose name starts with "news" (case-insensitive).Summary by CodeRabbit
New Features
Documentation