Skip to content

feat(content): add bulk Done button - #356

Merged
gkhngyk merged 2 commits into
ansvisor:mainfrom
Sam-syntax35:feat/bulk-done-button
Jul 6, 2026
Merged

gkhngyk merged 2 commits into
ansvisor:mainfrom
Sam-syntax35:feat/bulk-done-button

Conversation

@Sam-syntax35

Copy link
Copy Markdown
Contributor

Summary

Adds a bulk Done button to the Content Optimization page.

Changes

  • Added handleBulkDone using bulkUpdateStatus(..., "done")
  • Added a Done button next to Send all
  • Clears the selected opportunities after update
  • Refreshes the list after marking opportunities as done

Fixes #354

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Welcome to Ansvisor, and thank you for your first PR! A maintainer will be by soon to review.

In the meantime, two things that make review faster:

  • A short description of why the change matters, not just what it does — most of our PRs link a Fixes #... to the issue that explains the why.
  • A quick local test note if there's anything worth eyeballing in the browser.

If you'd like to keep an eye on where Ansvisor goes next, a ⭐ on the repo helps others discover it (and Watch sends you a ping when related issues land). Either way — looking forward to your next one.

@gkhngyk gkhngyk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks — Prettier's clean and the bulk Done button works exactly as described (marks the selected opportunities done, clears the selection, and refetches the list). LGTM! 🎉

One tiny non-blocking follow-up for later: the button label hardcodes "Done" while the sibling buttons use t('bulk.*') — a bulk.markDone key would keep it consistent, but it's fine to merge as-is.

@gkhngyk
gkhngyk merged commit aeffb84 into ansvisor:main Jul 6, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(content): add a bulk "Done" button next to "Send all" to mark opportunities complete

2 participants