-
Notifications
You must be signed in to change notification settings - Fork 113
fix: squad member join notification when welcome post is deleted #3466
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
|
…me post is deleted Co-authored-by: omBratteng <1681525+omBratteng@users.noreply.github.com>
|
@copilot Also update the notification message so that it no longer says anything about a comment when the welcome post is deleted |
…st is deleted Co-authored-by: omBratteng <1681525+omBratteng@users.noreply.github.com>
When a welcome post is deleted, squad member join notifications link to a non-existent post and suggest users comment on it. Users click the notification and encounter a 404, and the message is misleading.
Changes
Notification generation (
src/notifications/generate.ts):post.deletedflag insquad_member_joinedbuilder and titletargetSource()to link to squad page and remove comment suggestion from messageTest coverage (
__tests__/notifications/index.ts):Examples
Notification builder:
Notification title:
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.