feat(backend): add new incentive task type for Reddit follow

Introduce a new incentive task type, REDDIT_FOLLOW, to encourage users to join the SurfSense community on Reddit. This includes a title, description, pages reward, and action URL for the task.
This commit is contained in:
DESKTOP-RTLN3BA\$punk 2026-01-28 21:58:49 -08:00
parent 0b65c3a98c
commit 16b839138d
2 changed files with 42 additions and 0 deletions

View file

@ -163,6 +163,7 @@ class IncentiveTaskType(str, Enum):
"""
GITHUB_STAR = "GITHUB_STAR"
REDDIT_FOLLOW = "REDDIT_FOLLOW"
# Future tasks can be added here:
# GITHUB_ISSUE = "GITHUB_ISSUE"
# SOCIAL_SHARE = "SOCIAL_SHARE"
@ -178,6 +179,12 @@ INCENTIVE_TASKS_CONFIG = {
"pages_reward": 100,
"action_url": "https://github.com/MODSetter/SurfSense",
},
IncentiveTaskType.REDDIT_FOLLOW: {
"title": "Join our Subreddit",
"description": "Join the SurfSense community on Reddit",
"pages_reward": 100,
"action_url": "https://www.reddit.com/r/SurfSense/",
},
# Future tasks can be configured here:
# IncentiveTaskType.GITHUB_ISSUE: {
# "title": "Create an issue",