feat: Kanban columns are queues, and a card can be dragged up or down
Some checks failed
Build and deploy / Validate source (push) Successful in 4s
Build and deploy / Integration suite on a real stack (push) Failing after 3m24s
Build and deploy / Secret scan and release gate (push) Successful in 8s
Build and deploy / Publish images (push) Has been skipped

Each column is sorted explicitly by payment time, first paid on top, however
the board's list was put together (older finished orders, one opened from the
search). A card dragged within its column lands between the two it was
dropped between (queue_key, halfway between their keys) and keeps that place
for everyone; moving to another stage clears it. Reordering is not activity:
the stalled clock keeps running.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Cauê Faleiros
2026-10-02 16:57:31 -03:00
parent d7b1eaae6d
commit 894e75fd94
5 changed files with 114 additions and 12 deletions

View File

@@ -222,3 +222,7 @@ ALTER TABLE dtf_local.quotes ADD COLUMN IF NOT EXISTS discarded_by text;
ALTER TABLE dtf_local.orders ADD COLUMN IF NOT EXISTS cancelled_at timestamptz;
ALTER TABLE dtf_local.orders ADD COLUMN IF NOT EXISTS cancelled_by text;
ALTER TABLE dtf_local.orders ADD COLUMN IF NOT EXISTS cancel_reason text;
-- An order's place in its column's queue, when an operator dragged it up or
-- down. Empty means "by payment time"; it is cleared when the order moves on.
ALTER TABLE dtf_local.orders ADD COLUMN IF NOT EXISTS queue_key double precision;