0bd36ae26f
TaxBaik CI/CD / build-and-deploy (push) Successful in 50s
Step 3 Progress:
- Create TaxProfiles.razor list page with MudDataGrid (Dense, Virtualize)
- Implement ConfirmDialog component for delete confirmation
- Add MudDialog create/edit modal (no white-screen flash)
- Use ITaxProfileBrowserClient for API calls
- Map ClientBrowserClient.GetPagedAsync() for client dropdown
Browser Client Fixes:
- Fix CreateAsync JsonElement deserialization in 4 files (ContractBrowserClient, ConsultingActivityBrowserClient, TaxFilingScheduleBrowserClient, RevenueTrackingBrowserClient)
- Fix ITaxProfileBrowserClient CreateAsync (JsonElement pattern)
- Remove duplicate IClientBrowserClient from AdminClients namespace
Architectural Decisions:
- Reuse existing ClientBrowserClient.GetPagedAsync() (Paged, Search, Filter support)
- MudDialog for create/edit (prevents white-screen navigation flashes)
- Inline actions (Edit/Delete buttons) vs separate routes
- ConfirmDialog for destructive operations
UI Patterns:
- Dense grid (32px rows), 30 rows per page
- Status color chips (Error/Warning/Success for risk levels)
- Client link to /admin/clients/{id}
- Client dropdown from API (paged response)
Build Status: 0 errors (3 existing warnings)
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
21 lines
617 B
Plaintext
21 lines
617 B
Plaintext
@using MudBlazor
|
|
|
|
<MudDialog>
|
|
<DialogContent>
|
|
<MudText>@Message</MudText>
|
|
</DialogContent>
|
|
<DialogActions>
|
|
<MudButton OnClick="Cancel">취소</MudButton>
|
|
<MudButton Color="Color.Error" Variant="Variant.Filled" OnClick="Confirm">삭제</MudButton>
|
|
</DialogActions>
|
|
</MudDialog>
|
|
|
|
@code {
|
|
[CascadingParameter] MudDialogInstance MudDialog { get; set; } = null!;
|
|
[Parameter] public string Title { get; set; } = "";
|
|
[Parameter] public string Message { get; set; } = "";
|
|
|
|
private void Cancel() => MudDialog.Cancel();
|
|
private void Confirm() => MudDialog.Close();
|
|
}
|