Skip to content

Fix pipeline drag stage persistence - #97

Open
vinay-lgtm-code wants to merge 3 commits into
brasiliafrom
vinay-lgtm-code/pipeline-stage-renames
Open

Fix pipeline drag stage persistence#97
vinay-lgtm-code wants to merge 3 commits into
brasiliafrom
vinay-lgtm-code/pipeline-stage-renames

Conversation

@vinay-lgtm-code

Copy link
Copy Markdown
Owner

Fixes pipeline drag-and-drop so a moved lead stays in the destination column immediately after confirmation instead of reverting until navigation or browser refresh.

The stage change now goes through a server-side endpoint that resolves the target stage UUID, provisions known missing default stages such as Decision in Principle done, updates the lead, and records history/activity without writing slugs into the UUID FK.

useLeads() now exposes a refetch method so the Pipeline view reconciles local optimistic state with fresh Supabase data after persistence.

Validation: npm run build, npx tsc --noEmit, git diff --check, and local HTTP checks for /pipeline, /leads, and /api/leads/stage-change.

@vercel

vercel Bot commented Jun 22, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
brasilia Ready Ready Preview, Comment Jun 29, 2026 11:43pm
mallard-connect Ready Ready Preview, Comment Jun 29, 2026 11:43pm

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.

1 participant