feat(campaigns): prospect searcher with focused filters + add to sequence#153
Merged
Conversation
…sequence - Add AddContactsDialog component with focused filters: Name, Job Title, Location, and Company (async autocomplete) - Add Checkbox primitive to ui-kit (Catalyst-style, light/dark, multi-color) - Export Checkbox from ui-kit barrel (ui-kit.tsx) - Add apolloProspectsApi client (search, searchOrgs, addToSequence) to apollo.ts - Add getProspectSearch and getOrgSearch query options - Wire Add Contacts button + lazy-loaded dialog into CampaignDetail Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
anujeet98
approved these changes
Jun 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a prospect searcher dialog to the Campaign detail page, letting users search Apollo prospects with a focused set of filters and add selected people directly to the sequence. Also introduces a reusable
Checkboxprimitive to@zuko/ui-kit.What changed
apps/web— AddContactsDialogAddContactsDialogcomponent (components/Campaigns/AddContactsDialog.tsx)CampaignDetailapps/web— CampaignDetailUserPlusIcon) to the campaign header actionsAddContactsDialogwith the currentsequenceId!justify-start→justify-start!)apps/web— API client & query optionslib/api/apollo.ts: addedapolloProspectsApiwith three methods:search(params)→POST /integrations/apollo/prospects/searchsearchOrgs(name)→GET /integrations/apollo/organizations/searchaddToSequence(payload)→POST /integrations/apollo/prospects/add-to-sequenceProspectPerson,ProspectsSearchResponse,OrgSearchResult,SearchProspectsParams,AddPeopleToSequencePayload,AddPeopleToSequenceResponseserver/query-options.ts: addedgetProspectSearchandgetOrgSearchquery options (withenabledguards and appropriatestaleTime)libs/ui-kit— Checkbox primitivecheckbox.tsx: Catalyst-styleCheckboxcomponent built on Headless UIdark/zinc,blue,green,red,indigo, etc.)CheckboxFieldandCheckboxGrouplayout wrappersui-kit.tsx)UI behaviour
What's NOT in this PR (backend — follow-up)
The frontend targets these endpoints which need backend implementation:
POST /integrations/apollo/prospects/searchGET /integrations/apollo/organizations/searchPOST /integrations/apollo/prospects/add-to-sequenceTesting