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:
@@ -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 ─────────────────────────────────────────────────────────────────────
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user