Skip to content

fix: filter ccers from delete email - #2914

Merged
dguyen merged 1 commit into
mainfrom
fix/filter-ccers-from-delete-email
Jun 2, 2026
Merged

dguyen merged 1 commit into
mainfrom
fix/filter-ccers-from-delete-email

Conversation

@dguyen

@dguyen dguyen commented Jun 2, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings June 2, 2026 05:20
@vercel

vercel Bot commented Jun 2, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

3 Skipped Deployments
Project Deployment Actions Updated (UTC)
prd-docs Ignored Ignored Jun 2, 2026 5:20am
prd-openpage-api Ignored Ignored Jun 2, 2026 5:20am
stg-docs Skipped Skipped Jun 2, 2026 5:20am

Request Review

@coderabbitai

coderabbitai Bot commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are limited based on label configuration.

🏷️ Required labels (at least one) (1)
  • coderabbit

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 0d65d6da-7f1e-4de8-81c8-35f0213dbf01

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/filter-ccers-from-delete-email

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions

github-actions Bot commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

Thank you for following the naming conventions for pull request titles! 💚🚀

Copilot AI 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.

Pull request overview

This PR updates the document deletion flow to avoid sending “document cancelled” emails to CC recipients, aligning behavior with how CC recipients are treated elsewhere in the codebase.

Changes:

  • Import RecipientRole to enable role-based filtering.
  • Skip sending delete/cancellation emails to recipients whose role is CC.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@roshboi roshboi 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.

Lgtm

@dguyen
dguyen merged commit c3135a3 into main Jun 2, 2026
12 checks passed
@dguyen
dguyen deleted the fix/filter-ccers-from-delete-email branch June 2, 2026 05:27

This branch was previously deployed

1 inactive deployment
Preview – stg-docs — a4ff2133 Deployed Jun 2, 2026 by vercel[bot]
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.

3 participants