fix : added colored tier indicators to achievement notification emails - #1392
Conversation
|
👋 Hey @tmdeveloper007! Thanks for your contribution! 🎉 It looks like this PR isn't linked to any issue yet. Please edit your PR description and add a closing keyword so we can track this properly, for example:
Once you've updated the PR description the check will re-run automatically. 🙌 |
📋 GSSoC Label Validation Report✅ All label requirements met. This PR passes the pre-merge label check. 📖 Label Reference
|
|
👋 Hey @tmdeveloper007, it looks like you didn't use our PR template! The section Please update your PR description to include all required sections so we can review this properly:
You can find the full template in CONTRIBUTING.md. Just edit your PR description and the |
|
@Ixotic27 is attempting to deploy a commit to the ixotic27-8245's projects Team on Vercel. A member of the Team first needs to authorize it. |
Ixotic27
left a comment
There was a problem hiding this comment.
LGTM! Verified and approved. Great contribution!
Ixotic27
left a comment
There was a problem hiding this comment.
LGTM! Approved and verified. Great contribution!
|
🎉 Congratulations @tmdeveloper007! Your PR has been successfully merged. 🚀 Thank you for contributing to The Leetcode City. Your work helps us build a better platform for the community.
Keep building! 💻✨ |
What does this PR do?
Removes emoji characters from achievement unlock notification emails by replacing TIER_EMOJI with TIER_COLORS.
Summary of What Has Been Done
Replaced
TIER_EMOJIusage insrc/lib/notification-senders/achievement.tswithTIER_COLORSfrom the same module. Tier indicators are now rendered as colored circles (HTML span elements with border-radius and background-color) instead of emoji characters.Changes Made
src/lib/notification-senders/achievement.ts:TIER_EMOJItoTIER_COLORSfrom../achievementsconst emoji = TIER_EMOJI[a.tier] ?? ""withconst tierColor = TIER_COLORS[a.tier] ?? "#888888"Impact it Made
Closes 1383
Note: Please assign this PR to the
tmdeveloper007account.