fix(web): address code review findings from Razor Pages migration

- Remove legacy wwwroot files (old index.html, app.css, api.js, page scripts)
- Add Index page that redirects / to /board
- Fix mapping delete button missing handler=Delete in URL
- Add [IgnoreAntiforgeryToken] to AnalyticsModel for consistency
- Remove duplicate JS from _TaskDetail.cshtml (already in app.js)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-01 22:47:49 -05:00
parent cffd09941a
commit 6ea0e40d38
13 changed files with 14 additions and 1495 deletions

View File

@@ -0,0 +1,9 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
namespace TaskTracker.Api.Pages;
public class IndexModel : PageModel
{
public IActionResult OnGet() => RedirectToPage("/Board");
}