feat: add recording sharing and community features

Backend Changes:
- Added original_recording_id field to sexy_recordings table to track duplicates
- Added indexes for original_recording_id and public fields
- Implemented /sexy/community-recordings endpoint to list public shared recordings
- Implemented /sexy/recordings/:id/duplicate endpoint to duplicate community recordings
- Community recordings filtered by status=published AND public=true
- Duplication creates a private draft copy for the current user

Frontend Changes:
- Added leaderboard and profile quick links to play view header
- Added navigation buttons for better UX on play page
- Added translations: my_profile, anonymous, load_more

Database Schema:
- ALTER TABLE sexy_recordings ADD COLUMN original_recording_id uuid
- Created foreign key and indexes for efficient queries

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Valknar XXX
2025-10-28 14:32:39 +01:00
parent 9002eb768b
commit b883867b15
3 changed files with 138 additions and 1 deletions

View File

@@ -20,6 +20,9 @@ export default {
open: "Open",
yes: "Yes",
no: "No",
my_profile: "My Profile",
anonymous: "Anonymous",
load_more: "Load More",
},
header: {
home: "Home",