You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(content): add a bulk "Done" button next to "Send all" to mark opportunities complete #354
On the Content Optimization page (/dashboard/content), when opportunities are selected, the bulk action bar has a Send all button and a Dismiss all button. Add a Done button next to Send all that marks the selected opportunities as done in bulk. Users want to check off the opportunities they've already actioned so they aren't looking at the same finished items over and over.
Add a bulk Done handler mirroring the existing handleBulkDismiss, but setting the done status: bulkUpdateStatus(Array.from(selectedIds), 'done'), then toast + clear the selection + refetch.
Render a Done button in the selection action bar (shown when selectedIds.size > 0), next to Send all.
No backend work is needed:
bulkUpdateStatus(ids, status) already accepts any status, including done.
The done status already exists (it has a STATUS_COLORS.done badge and a "Done" option in the status filter).
"Don't want to see them again"
Marking items done already lets the user hide them via the existing status filter (filter to everything except done / to a specific status). If we want done items hidden by default too, that's a small optional follow-up (e.g. exclude done + dismissed from the default all view, or add a "Hide completed" toggle) — but the core ask here is just the bulk Done button.
How to test
/dashboard/content → select one or more opportunities → the action bar shows Send all, Done, and Dismiss all.
Click Done → the selected opportunities flip to the done status (green badge), the selection clears, and the list refetches.
Filtering the status dropdown away from done hides the completed ones, so they aren't shown repeatedly.
Notes
Small, self-contained UI change — good first issue.
Thanks @Sam-syntax35 — assigned to you! 🎉 As described: add a bulk Done handler in content/page.tsx mirroring handleBulkDismiss but calling bulkUpdateStatus(Array.from(selectedIds), 'done'), and render a Done button next to Send all in the selection action bar. No backend work — bulkUpdateStatus and the done status already exist. Ping here if anything's unclear.
Activity
Sam-syntax35 commentedon Jul 6, 2026
Hi @gkhngyk ! I'd like to work on this issue. Could you assign it to me?
gkhngyk commentedon Jul 6, 2026
Thanks @Sam-syntax35 — assigned to you! 🎉 As described: add a bulk Done handler in
content/page.tsxmirroringhandleBulkDismissbut callingbulkUpdateStatus(Array.from(selectedIds), 'done'), and render a Done button next to Send all in the selection action bar. No backend work —bulkUpdateStatusand thedonestatus already exist. Ping here if anything's unclear.