8000 No persisted card order within a kanban stage · Issue #13 · iblai/crm · GitHub
[go: up one dir, main page]

Skip to content

No persisted card order within a kanban stage #13

Open

Description

@mamigot

What the CRM needs to store

The order of deals inside a stage column, so a rep can drag the deal they are working on to the top and have it stay there (Twenty's position field).

Where it bites today

components/crm/deals/deal-board.tsx:82-88 buckets deals by stage in whatever order the API returned them. Dragging between columns persists through move-stage/; dragging within a column has nothing to write to, so the board does not offer it.

What I looked for in iblai/vibe

Stages have sort_order (column order). Deal has no rank or position field (iblai-api-crm → references/schema.md), and list endpoints accept no ordering= (#5), so even a metadata.position could not be read back sorted.

Proposal

position (float or lexorank string) on Deal, writable by PATCH and optionally by move-stage/ ({stage_id, position}), with ordering=position on the list endpoint.

Activity

  1. added
    api-gap
    data-persistence
    on Sep 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    api-gapdata-persistence

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0