FN-8770: consolidate task display sorting
Centralize workflow column sorting in core and remove the duplicate dashboard implementation.
- Export shared display-column sort options and complete-column modes from core.
- Route board, lane, list, and column consumers through the shared sorter.
- Harden inert flag seam checks for same-named module functions.
Files changed:
.../display-ranking-roles-resolved.test.ts | 6 +-
packages/core/src/__tests__/task-priority.test.ts | 63 +++++++
packages/core/src/index.gate.ts | 2 +
packages/core/src/index.ts | 2 +
packages/core/src/tasks/task-priority.ts | 87 +++++----
packages/core/src/types.ts | 9 +
packages/dashboard/app/components/Board.tsx | 45 +----
packages/dashboard/app/components/Column.tsx | 4 +-
packages/dashboard/app/components/Lane.tsx | 34 +---
packages/dashboard/app/components/ListView.tsx | 19 +-
.../app/components/__tests__/Lane.test.tsx | 8 +-
.../app/components/__tests__/taskSorting.test.ts | 201 ---------------------
packages/dashboard/app/components/taskSorting.ts | 138 --------------
scripts/__tests__/check-inert-flag-seams.test.mjs | 4 +-
scripts/check-inert-flag-seams.mjs | 83 +++------
15 files changed, 177 insertions(+), 528 deletions(-)
Fusion-Task-Id: FN-8770
Fusion-Task-Lineage: 81740c52-0a3c-44df-9fbb-addaefdfeb82
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>