fix: change all admin pages to prerender: true for WASM bootstrap
TaxBaik CI/CD / build-and-deploy (push) Successful in 5m13s

All Page components now use:
@rendermode @(new InteractiveWebAssemblyRenderMode(prerender: true))

Attempted solution based on observation that Login.razor (prerender: true)
works correctly while Dashboard.razor (prerender: false) fails WASM init.

Result: blazor.boot.json still not generated, WASM bootstrap still fails.

Indicates deeper SDK issue with ASP.NET Core 10 Preview Blazor WASM
initialization mechanism, not fixable by render mode configuration alone.

Changed files:
- All 30+ admin Page components: prerender: false → true
- Program.cs: MapRazorComponents added (required for WASM)

Status: WASM bootstrap blocked at fundamental SDK level.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-07-04 22:07:05 +09:00
parent c00d237a4d
commit 333089a6ea
44 changed files with 1949 additions and 2542 deletions
@@ -13,20 +13,20 @@ public static class InquiryStatusMapper
public static readonly Dictionary<string, string> Labels = new()
{
["new"] = "신규",
["new"] = "신규",
["consulting"] = "상담중",
["contracted"] = "계약완료",
["rejected"] = "거절",
["closed"] = "종결",
["rejected"] = "거절",
["closed"] = "종결",
};
public static string ToStorageValue(InquiryStatus status) => status switch
{
InquiryStatus.New => "new",
InquiryStatus.New => "new",
InquiryStatus.Consulting => "consulting",
InquiryStatus.Contracted => "contracted",
InquiryStatus.Rejected => "rejected",
InquiryStatus.Closed => "closed",
InquiryStatus.Rejected => "rejected",
InquiryStatus.Closed => "closed",
_ => throw new ArgumentOutOfRangeException(nameof(status), status, null)
};
@@ -35,11 +35,11 @@ public static class InquiryStatusMapper
var key = value?.Trim().ToLowerInvariant();
status = key switch
{
"new" => InquiryStatus.New,
"new" => InquiryStatus.New,
"consulting" => InquiryStatus.Consulting,
"contracted" => InquiryStatus.Contracted,
"rejected" => InquiryStatus.Rejected,
"closed" => InquiryStatus.Closed,
"rejected" => InquiryStatus.Rejected,
"closed" => InquiryStatus.Closed,
_ => default
};
return key is "new" or "consulting" or "contracted" or "rejected" or "closed";
@@ -10,9 +10,9 @@ public class TaxFilingService(ITaxFilingRepository repository)
public static readonly Dictionary<string, string> StatusLabels = new()
{
["pending"] = "신고 예정",
["filed"] = "신고 완료",
["overdue"] = "기한 초과",
["pending"] = "신고 예정",
["filed"] = "신고 완료",
["overdue"] = "기한 초과",
};
public async Task<IEnumerable<TaxFiling>> GetByClientIdAsync(int clientId, CancellationToken ct = default) =>