Add Settings, Account, Bug Reports, and Leaderboard

Server:
- New SOR.Support project: SubmitBugReport, GetLeaderboard, GetAccountProfile handlers
- New SOR.Database support schema: BugReport + BugReportResponse entities + SupportDbContext
- EF migration: Migrations/Support/AddSupport
- Admin panel: Bug Reports list + detail pages with reply-to-submitter flow
- Admin NavMenu: Support section with Bug Reports link
- Reply creates chat.Notification (type "admin_response") for in-game mailbox

Client:
- Settings autoload (Settings.gd): music/sfx volume+mute, persisted to user://settings.cfg
- SettingsScreen: sliders + mute CheckButtons wired to Settings autoload
- AccountScreen: profile (display name, OP, rank score) + mailbox (admin_response notifications)
- LeaderboardScreen: paginated ranked player list, caller highlighted in blue
- BugReportDialog: category/title/description/steps form, submits via support.submit_bug_report
- MainScreen: new Leaderboard, Account, Settings, Report a Bug navigation buttons

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
This commit is contained in:
dingo
2026-03-06 20:14:12 -05:00
co-authored by Claude Happy
parent c4ef720570
commit a482cc5319
33 changed files with 2107 additions and 14 deletions
+2 -4
View File
@@ -20,6 +20,7 @@ using SOR.Content;
using SOR.Game;
using SOR.Gateway;
using SOR.Matchmaking;
using SOR.Support;
using SOR.Versioning;
using SOR.Networking.Nats;
using SOR.Networking.Redis;
@@ -168,10 +169,7 @@ if (IsEnabled("content")) builder.Services.AddContentService(builder.Configur
if (IsEnabled("versioning")) builder.Services.AddVersioningService(builder.Configuration);
if (IsEnabled("matchmaking")) builder.Services.AddMatchmakingService(builder.Configuration);
if (IsEnabled("game")) builder.Services.AddGameService(builder.Configuration);
// TODO: Uncomment as each service is implemented:
// if (IsEnabled("leaderboard")) builder.Services.AddLeaderboardService(builder.Configuration);
// if (IsEnabled("admin")) builder.Services.AddAdminService(builder.Configuration);
if (IsEnabled("support")) builder.Services.AddSupportService(builder.Configuration);
// ── BUILD ─────────────────────────────────────────────────────────────────────
+1
View File
@@ -43,5 +43,6 @@
<ProjectReference Include="..\SOR.Versioning\SOR.Versioning.csproj" />
<ProjectReference Include="..\SOR.Matchmaking\SOR.Matchmaking.csproj" />
<ProjectReference Include="..\SOR.Game\SOR.Game.csproj" />
<ProjectReference Include="..\SOR.Support\SOR.Support.csproj" />
</ItemGroup>
</Project>