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:
@@ -92,6 +92,7 @@ builder.Services.AddCollectionDatabase(builder.Configuration);
|
||||
builder.Services.AddBazaarDatabase(builder.Configuration);
|
||||
builder.Services.AddChatDatabase(builder.Configuration);
|
||||
builder.Services.AddGameDatabase(builder.Configuration);
|
||||
builder.Services.AddSupportDatabase(builder.Configuration);
|
||||
|
||||
// ── HTTP pipeline ─────────────────────────────────────────────────────────
|
||||
var app = builder.Build();
|
||||
@@ -164,6 +165,7 @@ static async Task MigrateAllAsync(WebApplication app)
|
||||
await sp.GetRequiredService<BazaarDbContext>().Database.MigrateAsync();
|
||||
await sp.GetRequiredService<ChatDbContext>().Database.MigrateAsync();
|
||||
await sp.GetRequiredService<GameDbContext>().Database.MigrateAsync();
|
||||
await sp.GetRequiredService<SupportDbContext>().Database.MigrateAsync();
|
||||
}
|
||||
|
||||
static async Task SeedAsync(WebApplication app)
|
||||
|
||||
Reference in New Issue
Block a user