diff --git a/.mavis/last-run-report.md b/.mavis/last-run-report.md new file mode 100644 index 000000000..5b1b0dc2f --- /dev/null +++ b/.mavis/last-run-report.md @@ -0,0 +1,27 @@ +# GSSOC Cron Run Report + +**Date**: 2026-08-05 +**Repo**: ixotic27/the-leetcode-city + +## PRs Created + +### fix/remove-emoji-streak-notifications +- Issue: #1375 - https://github.com/Ixotic27/The-Leetcode-City/issues/1375 +- PR: #1376 - https://github.com/Ixotic27/The-Leetcode-City/pull/1376 + +### fix/remove-emoji-achievement-notifications +- Issue: #1377 - https://github.com/Ixotic27/The-Leetcode-City/issues/1377 +- PR: None - + +### fix/remove-emoji-emblem-notifications +- Issue: #1378 - https://github.com/Ixotic27/The-Leetcode-City/issues/1378 +- PR: None - + +### fix/escape-like-wildcards-search-api +- Issue: #1379 - https://github.com/Ixotic27/The-Leetcode-City/issues/1379 +- PR: None - + +### fix/add-null-guard-stats-api +- Issue: #1380 - https://github.com/Ixotic27/The-Leetcode-City/issues/1380 +- PR: None - + diff --git a/src/lib/notification-senders/streak.ts b/src/lib/notification-senders/streak.ts index 37a6c8340..8caf4750d 100644 --- a/src/lib/notification-senders/streak.ts +++ b/src/lib/notification-senders/streak.ts @@ -3,11 +3,11 @@ import { buildButton } from "../email-template"; const BASE_URL = process.env.NEXT_PUBLIC_APP_URL || "https://theleetcodecity.tech"; -const MILESTONE_MESSAGES: Record = { - 7: { emoji: "🔥", tagline: "You're on fire!" }, - 30: { emoji: "🏆", tagline: "A whole month. Legendary." }, - 100: { emoji: "💎", tagline: "Triple digits. Unstoppable." }, - 365: { emoji: "👑", tagline: "One full year. You're a legend." }, +const MILESTONE_MESSAGES: Record = { + 7: { badge: "7 DAYS", tagline: "You're on fire!" }, + 30: { badge: "30 DAYS", tagline: "A whole month. Legendary." }, + 100: { badge: "100 DAYS", tagline: "Triple digits. Unstoppable." }, + 365: { badge: "1 YEAR", tagline: "One full year. You're a legend." }, }; export function sendStreakMilestoneNotification( @@ -34,7 +34,7 @@ export function sendStreakMilestoneNotification( body: `${streak}-day streak! ${milestoneInfo.tagline}${rewardItemName ? ` Reward: ${rewardItemName}` : ""}`, html: `
-

${milestoneInfo.emoji}

+

${milestoneInfo.badge}

${streak}-day streak!

${milestoneInfo.tagline}