fix(board): show total count in Done column and infinite scroll (#498)
* fix(board): show total count in Done column header and auto-load on scroll - Column header now shows server-side doneTotal instead of loaded count - Replace "Load more" button with IntersectionObserver sentinel for infinite scroll in the Done column Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * fix(board): move sentinel below imports and stabilize observer - Move InfiniteScrollSentinel after all import statements - Use callback ref to avoid recreating IntersectionObserver on every render Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
4bdb86057e
commit
76354cd968
3 changed files with 31 additions and 14 deletions
|
|
@ -67,7 +67,7 @@ export function useLoadMoreDoneIssues() {
|
|||
}
|
||||
}, [qc, wsId, doneLoaded, hasMore, isLoading]);
|
||||
|
||||
return { loadMore, hasMore, isLoading };
|
||||
return { loadMore, hasMore, isLoading, doneTotal };
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue