Skip to content

feat(leads): build lead detail page with full lead information - #29

Merged
anujeet98 merged 1 commit into
mainfrom
feat/lead-detail-page
Aug 7, 2026
Merged

feat(leads): build lead detail page with full lead information#29
anujeet98 merged 1 commit into
mainfrom
feat/lead-detail-page

Conversation

@Rishavraaj

@Rishavraaj Rishavraaj commented Aug 7, 2026

Copy link
Copy Markdown
Member

Summary

  • Clicking a lead in the list now navigates to a dedicated detail page
  • Detail page shows all lead information with a sidebar for key fields

Changes

apps/web

  • query-options.ts: add getLead(id) query option
  • app/(app)/leads/[id]/page.tsx: new page with server-side prefetch and metadata
  • components/Leads/LeadDetail.tsx: full lead detail component
    • Contact info section: email, phone, company, title, LinkedIn link
    • Sidebar: status badge, source, ICP profile link, campaign link, contact link, deal link, created date
    • Actions: Convert to Deal button, Delete button
  • components/Leads/LeadsList.tsx: wire onRowClick to navigate to /leads/[id]

Test plan

  • Click a lead row → navigates to /leads/<id>
  • Detail page shows name, email, company, title, LinkedIn
  • Sidebar shows status, source, linked ICP/campaign/contact/deal
  • Convert to Deal button works and updates status
  • Delete button removes lead and redirects to /leads
  • Page title reflects lead name

🤖 Generated with Claude Code

- Add getLead query option
- Add /leads/[id] page with server-side prefetch
- Add LeadDetail component: contact info, status/source/ICP/campaign/deal
  sidebar, convert to deal and delete actions
- LeadsList row click navigates to detail page

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@anujeet98
anujeet98 merged commit 0529101 into main Aug 7, 2026
1 check passed
@anujeet98
anujeet98 deleted the feat/lead-detail-page branch August 7, 2026 12:09
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.

2 participants