CodeIssuesPull RequestsActionsSecurityInsights
✨ AI
More
Settings

fix(domains): Verify Now feedback + DNS setup wizard with provider-specific instructions #4044

Merged⚡ AI-generatedXSccantynz wants to mergeclaude/ecstatic-hopper-77iamvmainopened Jun 20, 20260/7 tasks
ccantynzcommented Jun 20, 2026

Originally written by @ccantynz-alt on GitHub.
Imported from https://github.com/ccantynz-alt/AlecRae.com/pull/87


Summary

  • Fix: Verify Now button had no feedback — button now shows a spinner + "Checking..." label while the API call runs; the domain card status badge changes to "Checking..."; an inline result message appears below the card for 6 seconds (green for success, amber for pending/failed). Previously the button fired silently with zero visual change.

  • Fix: DomainCard gains verifying propDomainCard in packages/ui now accepts verifying?: boolean which activates the button's loading state and disables Remove while a check is in progress.

  • Feature: DNS setup wizard — replaces the plain "View Records" modal for unverified domains with a guided wizard:

    • Provider picker (Cloudflare, GoDaddy, Namecheap, Porkbun, Google Domains, Other) with numbered step-by-step instructions specific to each provider
    • All 4 DNS records (TXT/CNAME) shown with one-click copy and verified/pending badges
    • "Check Now" button with loading state and inline result
    • Auto-polls pending domains every 30 s in the background — no manual "Verify Now" needed
    • Wizard opens automatically right after adding a new domain
    • "View Records" on a pending domain opens the wizard; on a verified domain it opens the read-only reference modal
    • Improved empty state with a call to action

Test plan

  • Add a new domain → wizard opens automatically with DNS records
  • Select each provider in the wizard → step-by-step instructions update
  • Copy a record value → "✓ Copied!" appears for 2s
  • Click "Check Now" → spinner appears on button + "Checking..." badge on card → result message appears
  • Leave page open with a pending domain → auto-polls every 30s (check Network tab)
  • Click "I'll do this later" → wizard closes, domain card remains
  • On a verified domain, "View Records" opens the read-only modal (not the wizard)

🤖 Generated with Claude Code

https://claude.ai/code/session_01GYakKc6rtYKmTgknsK1AiY


Generated by Claude Code

Cross-repo impact

See what breaks downstream if this PR merges.

Analyze →
⮌ Merged

This pull request was merged into main.

c comment · e edit title · m merge · a approve · r request changes · ? shortcuts