feat: add social features, leaderboard, auth enhancements, and admin fixes
continuous-integration/drone/push Build is passing

- Implement Social Features: Shared Tasks, Global Access, Privacy Settings (Leaderboard/Searchable).
- Add Leaderboard Page and API.
- Enhance Auth: Support Email/Username login, explicit duplicate registration errors.
- Fix: Admin login password hash regression.
- Refactor: Move to wouter for routing, add Admin Dashboard and User Management.
- Add Setup Wizard.
- Update UI with Sidebar and Gamification elements.
This commit is contained in:
2025-12-10 14:04:26 +01:00
parent d5b045158a
commit ccfb674318
52 changed files with 9206 additions and 1505 deletions
+123 -1
View File
@@ -5,10 +5,12 @@
},
"navigation": {
"tasks": "Tasks",
"focus": "Focus",
"calendar": "Calendar",
"weekList": "Week",
"create": "Create",
"kanban": "Kanban",
"achievements": "Achievements",
"settings": "Settings"
},
"taskList": {
@@ -298,5 +300,125 @@
"description": "Are you sure you want to delete this task? This action cannot be undone.",
"cancel": "Cancel",
"confirm": "Delete"
},
"focus": {
"greeting": {
"morning": "Good morning",
"afternoon": "Good afternoon",
"evening": "Good evening"
},
"stats": {
"dailyProgress": "Daily Progress",
"momentum": "Keep up the momentum",
"tasksCompleted": "tasks completed",
"activeTasksMessage": "You have {{count}} active tasks. Let's make today productive."
},
"viewAll": {
"title": "View All Tasks",
"description": "Manage your full backlog and projects",
"button": "Go to List"
},
"list": {
"title": "Your Focus List",
"subtitle": "Drag to prioritize",
"empty": "No active tasks. Enjoy your day!"
}
},
"gamification": {
"level": "Level {{level}}",
"streak": "{{count}}",
"xp": "{{count}} XP",
"nextLevel": "{{count}} XP",
"currentXP": "{{current}} / {{next}} XP",
"viewDetails": "View Details"
},
"ranks": {
"novice": "Novice",
"builder": "Builder",
"planner": "Planner",
"architect": "Architect",
"master": "Master"
},
"achievements": {
"title": "Achievements",
"subtitle": "Track your progress and goals",
"currentStreak": "Current Streak",
"days": "{{count}} Days",
"bestStreak": "Best: {{count}} Days",
"xpActivity": "XP Activity",
"xpDescription": "Your productivity over time",
"goals": "Goals",
"goalsDescription": "Personal targets",
"addGoal": "Add Goal",
"createGoal": "Create Goal",
"noGoals": "No goals set yet",
"goalTitle": "Goal Title",
"targetValue": "Target Value",
"type": "Type",
"weekly": "Weekly",
"monthly": "Monthly",
"yearly": "Yearly",
"types": {
"weekly_tasks": "Weekly Tasks",
"total_xp": "Total XP",
"streak": "Streak Days"
},
"levelDetails": "Level Details",
"nextReward": "Next Level Reward",
"unlockReward": "Unlock advanced analytics at Level {{level}}",
"goalTitlePlaceholder": "e.g., Complete 50 Tasks",
"fromLastWeek": "from last week"
},
"analytics": {
"mon": "Mon",
"tue": "Tue",
"wed": "Wed",
"thu": "Thu",
"fri": "Fri",
"sat": "Sat",
"sun": "Sun",
"jan": "Jan",
"feb": "Feb",
"mar": "Mar",
"apr": "Apr",
"may": "May",
"jun": "Jun",
"jul": "Jul",
"aug": "Aug",
"sep": "Sep",
"oct": "Oct",
"nov": "Nov",
"dec": "Dec",
"week_1": "Week 1",
"week_2": "Week 2",
"week_3": "Week 3",
"week_4": "Week 4",
"cw": "CW"
},
"energy": {
"low": "⚡ Low Energy",
"medium": "⚡⚡ Medium Energy",
"high": "⚡⚡⚡ High Energy"
},
"rewards": {
"shopTitle": "Reward Shop",
"buy": "Buy",
"insufficientFunds": "Not enough XP",
"owned": "Owned",
"processing": "Processing...",
"defaults": {
"coffee": {
"title": "Coffee Break",
"description": "Take a 15 min coffee break"
},
"gaming": {
"title": "Gaming Session",
"description": "1 hour of guilt-free gaming"
},
"theme": {
"title": "Golden Theme",
"description": "Unlock the golden theme"
}
}
}
}
}