gsxdsm
49114a27ad
fix(dashboard): show Merging badge during AI-merge reviewing/landing
...
AI merge spends most of its time in reviewing and landing, not merging.
Treat the full merge pipeline as active so cards, workflow switcher, and
stall suppression show Merging… while the pump owns a task.
2026-07-15 10:36:10 -07:00
gsxdsm
03161adfb9
FN-7659: paginate and sort the Archived column newest-first
...
Adds server-side pagination for the Archived task column, sorted by most-recently-archived first, with a Show more control on the dashboard.
- Add ArchiveDatabase.listPage and TaskStore.listArchivedTasks for a bounded SQL LIMIT/OFFSET read ordered by archivedAt DESC
- Add GET /tasks/archived route for paged archive fetches, leaving the legacy merged listTasks({includeArchived}) path unchanged
- Wire useTasks.loadArchivedTasks to fetch page 1 on first Archived-column expand and loadMoreArchivedTasks for subsequent pages
- Add a "Show more" affordance in Column.tsx/Board.tsx/MainContent.tsx to trigger loading additional archived pages
- Extend taskSorting.ts to keep archived task ordering stable with the new paged data
- Add core and dashboard tests covering archive pagination and store/route behavior
- Add changeset for @runfusion/fusion (minor) and update docs/storage.md and docs/dashboard-guide.md
Files changed:
.changeset/FN-7659-archived-pagination.md | 7 +
docs/dashboard-guide.md | 4 +-
docs/storage.md | 7 +
packages/core/src/__tests__/archive-db-pagination.test.ts | 94 ++++++++
packages/core/src/__tests__/store-archive-search.test.ts | 63 ++++++
packages/core/src/archive-db.ts | 18 ++
packages/core/src/store.ts | 32 +++
packages/dashboard/app/App.tsx | 5 +-
packages/dashboard/app/api/legacy.ts | 19 ++
packages/dashboard/app/components/Board.tsx | 19 +-
packages/dashboard/app/components/Column.tsx | 48 ++++-
packages/dashboard/app/components/__tests__/Column.test.tsx | 41 ++++
packages/dashboard/app/components/__tests__/taskSorting.test.ts | 27 +++
packages/dashboard/app/components/dashboard/MainContent.tsx | 9 +
packages/dashboard/app/components/dashboard/types.ts | 6 +
packages/dashboard/app/components/taskSorting.ts | 16 ++
packages/dashboard/app/hooks/__tests__/useTasks.test.ts | 236 ++++++++++++++++++++-
packages/dashboard/app/hooks/useTasks.ts | 173 ++++++++++++++-
packages/dashboard/app/test/mockApi.ts | 3 +
packages/dashboard/src/routes/__tests__/tasks-archived-pagination.test.ts | 94 ++++++++
packages/dashboard/src/routes/register-task-workflow-routes.ts | 32 +++
21 files changed, 930 insertions(+), 23 deletions(-)
Fusion-Task-Id: FN-7659
Fusion-Task-Lineage: 7a5a1f62-277c-4f29-883c-62e75b269bc5
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-07-08 01:29:56 -07:00
gsxdsm
5b668d297f
FN-7238: add Done column sort modes
...
Add Done-column controls for choosing descending completion-date or task-ID order.
- Add a Done-only sort selector shared by legacy and workflow complete columns.
- Extend task display sorting with completion-date and task-ID descending modes.
- Cover board, column, and sorting behavior with regression tests and docs.
- Add a minor changeset for the published CLI package.
Files changed:
.changeset/fn-7238-done-column-sort.md | 7 +
docs/dashboard-guide.md | 5 +-
packages/dashboard/app/components/Board.tsx | 28 +++-
packages/dashboard/app/components/Column.tsx | 33 ++++-
.../app/components/__tests__/Board.test.tsx | 133 ++++++++++++++++-
.../app/components/__tests__/Column.test.tsx | 158 +++++++++++++++++++++
.../app/components/__tests__/taskSorting.test.ts | 114 +++++++++++++++
packages/dashboard/app/components/taskSorting.ts | 39 ++++-
packages/dashboard/app/styles.css | 35 +++++
9 files changed, 538 insertions(+), 14 deletions(-)
Fusion-Task-Id: FN-7238
Fusion-Task-Lineage: 143722e9-0b59-41e5-954d-810263f18ba9
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-06-29 15:46:35 -07:00
Fusion
fbf91c74a9
feat(FN-3596): unify board/list task ordering, split TaskDetailModal test m
...
The merge introduces a major TaskDetailModal test refactor (splitting a 6.7K-line monolith into five focused suites), significant merger improvements including autostash race-rescue, deduplication, and advisory logging for destructive operations, a new TUI narrow-mode log-split feature for the dashb
Fusion-Task-Id: FN-3596
2026-05-06 18:37:23 -07:00