Skip to content

MT-22678: Add name search filter to contact lists GetAll#247

Merged
Rabsztok merged 3 commits into
mainfrom
MT-22678-dotnet-contact-list-search
Jul 14, 2026
Merged

MT-22678: Add name search filter to contact lists GetAll#247
Rabsztok merged 3 commits into
mainfrom
MT-22678-dotnet-contact-list-search

Conversation

@Rabsztok

Copy link
Copy Markdown
Contributor

Motivation

https://railsware.atlassian.net/browse/MT-22678

Changes

  • Add a ContactListListFilter with an optional Search and a GetAll(filter, ct) overload — filters contact lists by name (case-insensitive prefix match), per the OpenAPI GET /api/contacts/lists param. The token-only GetAll(ct) is kept as a separate overload, so existing positional callers still compile.

How to test

  • await resource.GetAll() — returns all contact lists (unchanged behaviour).
  • await resource.GetAll(new ContactListListFilter { Search = "news" }) — returns only lists whose name starts with "news" (case-insensitive).

@Rabsztok
Rabsztok requested a review from mklocek as a code owner July 10, 2026 05:49
@coderabbitai

coderabbitai Bot commented Jul 10, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@Rabsztok, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 59 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 4a58696e-9533-4e97-b926-8ef4a5291f04

📥 Commits

Reviewing files that changed from the base of the PR and between 9c06b96 and 398b612.

📒 Files selected for processing (6)
  • examples/Mailtrap.Example.ContactLists/Program.cs
  • src/Mailtrap.Abstractions/ContactLists/IContactListCollectionResource.cs
  • src/Mailtrap.Abstractions/ContactLists/Models/ContactListListFilter.cs
  • src/Mailtrap/ContactLists/ContactListCollectionResource.cs
  • tests/Mailtrap.UnitTests/ContactLists/ContactListCollectionResourceTests.cs
  • tests/Mailtrap.UnitTests/GlobalUsings.cs

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Comment thread README.md Outdated
@Rabsztok
Rabsztok merged commit e9a931e into main Jul 14, 2026
3 checks passed
@Rabsztok
Rabsztok deleted the MT-22678-dotnet-contact-list-search branch July 14, 2026 06:29
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.

3 participants