Send email notification when @mentioned in task 📧
メンテナーはふだん 3 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- express, javascript, mongodb, node.js
調査の方向性
Start by reading the task routes in server/routes/tasks.js and checking how users and email configuration are handled in the project. The issue proposes notifying users mentioned in a task description on create and update, and adding SMTP settings to .env.example. Done means both routes send the specified notification to matched users and the email setup is documented; verify the relevant task routes and tests.
索引モデルが issue の本文から書いたものです。
説明
Send email notification when @mentioned in task 📧
File: server/routes/tasks.js
You can @mention people in descriptions
but they never get notified 💀 fr!!
Fix: parse mentions on task save:
const nodemailer = require('nodemailer')
const extractMentions = (text) => {
const matches = text.match(/@(\w+)/g) || []
return matches.map(m => m.slice(1))
}
// in POST /api/tasks and PUT /api/tasks/🆔
const mentions = extractMentions(
req.body.description || ''
)
if (mentions.length > 0) {
const mentionedUsers = await User.find({
name: { $in: mentions }
})
// send email to each mentioned user
mentionedUsers.forEach(async (user) => {
await transporter.sendMail({
to: user.email,
subject: 'You were mentioned in DevBoard',
text: You were mentioned in task: "${req.body.title}"
})
})
}
Add SMTP config to .env.example:
[email protected]
EMAIL_PASS=your_app_password
~20 lines! nodemailer package needed 🎯
Real team collaboration feature!! 🔥
- 主要言語
- JavaScript
- スター
- 39
- フォーク
- 105
- 平均マージ
- 2日 10時間
- マージ済み PR(30日)
- 22
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
anoopcodehack/DevBoard のほかの issue
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
anoopcodehack/DevBoard#648 · コメント 1 件 ·
メンテナーはふだん 3 日以内に返信
-
Show "No snippets yet" empty state in task modal 💻再び着手できるかも @tu-lasizzzz が 36 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンgood first issue
難易度 1/5 1時間未満 初心者へのやさしさ 96/100
anoopcodehack/DevBoard#639 · コメント 2 件 · 担当者 1 名 ·
メンテナーはふだん 3 日以内に返信
-
good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 96/100
anoopcodehack/DevBoard#637 ·
メンテナーはふだん 3 日以内に返信
-
Add smooth horizontal scroll on board 🖱️再び着手できるかも @nikhil9verma が 43 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンgood first issue
難易度 1/5 1〜3時間 初心者へのやさしさ 85/100
anoopcodehack/DevBoard#615 · コメント 2 件 ·
メンテナーはふだん 3 日以内に返信
-
Show task creation date in modal footer 📅再び着手できるかも @nikhil9verma が 43 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンgood first issue
難易度 1/5 1〜3時間 初心者へのやさしさ 90/100
anoopcodehack/DevBoard#614 · コメント 1 件 ·
メンテナーはふだん 3 日以内に返信
anoopcodehack/DevBoard の issue をすべて見る
似ている issue
-
flex-flow: wrap-reverse gets a vertical, reversed 2009 box fallback対応中かも @goranai が今日担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 86/100
postcss/autoprefixer#1577 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
PranshulGG/WeatherMaster#1266 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
FEATURE REQUEST
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
linuxmint/cinnamon-spices-applets#9356 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
opnsense/plugins#5976 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信