Skip to content

LO-064 [Intermediate]: Sequence Step Drag-and-Drop Reordering #401

Description

@Kuldeeep18

Description

Currently, to reorder sequence steps in the builder, users must manually change step order settings. We want to implement a smooth drag-and-drop feature to reorder campaign steps visually.

User & Contributor Value

  • Contributors: Frontend list manipulations, drag-and-drop event APIs, and sync state updates.
  • Users: Significantly improved campaign building experience.

Code Locations

  • frontend/campaign-builder.html

Implementation Guide

  1. Enable draggable="true" on campaign step cards.
  2. Listen to drag-and-drop events (dragstart, dragover, drop). Reorder the steps array in memory based on where the card was dropped.
  3. Re-render the editor steps layout and trigger a PATCH request to save the updated step_order values.

Metadata

Metadata

Assignees

No one assigned

    Labels

    gssoc:approvedGSSoC 2026 approved base points (+50 pts)level:intermediateDifficulty: Intermediate (+35 pts)type:designType: Design (+10 pts)type:featureType: Feature (+10 pts)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions