feat(notifications): evaluation-framed reminder emails for override workspaces - #1366
Merged
priosshrsth merged 3 commits intoJul 3, 2026
Merged
Conversation
…orkspaces Opted-in workspaces now receive an htmlBody variant that frames reminders as a "mystery shop evaluation for <bold title>" and uses review wording, instead of the generic task body. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
- HTML-escape the task title before interpolating into the reminder htmlBody (XSS). - Compute subject/body titles explicitly in the caller: the subject keeps the "Action Required: " prefix (mirrors the assignment email) while the evaluation htmlBody drops it, instead of stripping it hidden inside the helper. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Contributor
|
Deployment failed with the following error: Learn More: https://vercel.link/multiple-function-regions |
Collaborator
Author
|
@greptileai I have addressed your comments. Please re review the pr. |
arpandhakal
reviewed
Jul 3, 2026
Comment on lines
+45
to
+50
| ? { | ||
| subject, | ||
| header: 'Review your mystery shop evaluation', | ||
| title: 'Review Evaluation', | ||
| htmlBody: details.htmlBody, | ||
| } |
Collaborator
There was a problem hiding this comment.
Lets store this object somewhere in config or constants instead of hardcoding.
arpandhakal
approved these changes
Jul 3, 2026
priosshrsth
added a commit
that referenced
this pull request
Jul 3, 2026
* feat(notifications): evaluation-framed reminder emails for override workspaces (#1366)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Override workspaces (C1) now get an evaluation-framed reminder email: an
htmlBodyreading "mystery shop evaluation for <title>" with review wording, instead of the generic task body. Non-override workspaces are unchanged.#Test Cases
🤖 Generated with Claude Code