Skip to content

Add drag-and-drop reordering to event funnel steps - #599

Merged
tudddorrr merged 1 commit into
developfrom
reordering-funnel-steps
Sep 13, 2026
Merged

Add drag-and-drop reordering to event funnel steps#599
tudddorrr merged 1 commit into
developfrom
reordering-funnel-steps

Conversation

@tudddorrr

Copy link
Copy Markdown
Collaborator

Drag-and-drop funnel step reordering

  • Added grip icon handle on each funnel step that allows reordering via drag-and-drop using motion/react Reorder components
  • Steps are wrapped in a Reorder.Group with Reorder.Item children, using a transient id field as the stable key for motion reconciliation
  • prepareFunnelStep now strips the transient editor id before saving so it never reaches the server
  • reorderFunnelSteps utility reorders steps array based on the ordered IDs returned by the Reorder component
  • A new EditableFunnelStep type extends EventFunnelStep with a client-only id field, assigned via a simple incrementing counter

@tudddorrr tudddorrr added the enhancement New feature or request label Sep 13, 2026
@tudddorrr
tudddorrr merged commit e97ae85 into develop Sep 13, 2026
4 checks passed
@tudddorrr
tudddorrr deleted the reordering-funnel-steps branch September 13, 2026 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant