Skip to content

feat(pipelines): let cards be reordered within and across stages - #1798

Merged
viethung0o0 merged 1 commit into
mainfrom
feat/pipeline-manual-order
Nov 26, 2026
Merged

viethung0o0 merged 1 commit into
mainfrom
feat/pipeline-manual-order

Conversation

@viethung0o0

Copy link
Copy Markdown
Contributor

Summary

  • Cards on the pipeline board can now be dragged up or down within a stage, and dropped at an exact spot in another stage; the order is saved.
  • The board shows the manual order by default, with a new "Manual order" sort option.
  • New items still go to the top of their stage; moving to another stage without a spot also goes to the top, as before.
  • pipelines.moveItem accepts beforeItemId, afterItemId or placement (top / bottom), and items now return position.
  • pipelines.listItems supports sort=manual for a single stage.
  • Two migrations add PipelineItem.position, backfill it in batches from the current order, and build the index concurrently.

Test plan

  • pnpm lint
  • check-types for utils, database, business, worker, builder, cli, mcp, variables
  • pnpm test
  • test:db for the pipeline repository, service, concurrency and migration suites
  • Board checked in the browser: reorder, cross-stage drop, empty stage, keyboard drag, rollback on error, realtime

@github-actions github-actions Bot added the feature New feature or request label Nov 26, 2026
@viethung0o0
viethung0o0 force-pushed the feat/pipeline-manual-order branch from a32be08 to 42356bb Compare November 26, 2026 17:24
@viethung0o0
viethung0o0 marked this pull request as ready for review November 26, 2026 17:36
@viethung0o0
viethung0o0 merged commit dc1dae7 into main Nov 26, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants