feat(FN-4023): preserve triage column when SSE updates contain only priorit

Fix FN-4023: preserve the triage column filter when SSE updates only carry priority changes, preventing unintended column resets during selective priority refreshes. Added regression tests across the task store, useTasks hook, and API routes to cover column-stability scenarios.

Fusion-Task-Id: FN-4023
This commit is contained in:
Fusion
2026-05-11 14:52:23 -07:00
committed by gsxdsm
parent 109ba3b9cf
commit 1f47e137f7
6 changed files with 158 additions and 7 deletions

View File

@@ -59,7 +59,7 @@ function mergeIncomingTask(current: Task, incoming: Task): Task {
return { ...incoming, column: current.column, columnMovedAt: current.columnMovedAt };
}
if (columnTimestampCompare > 0) {
if (columnTimestampCompare >= 0) {
return { ...incoming, column: current.column, columnMovedAt: current.columnMovedAt };
}