fix: admin inquiry creation now sends telegram notification and shows feedback
TaxBaik CI/CD / build-and-deploy (push) Successful in 2m47s
TaxBaik CI/CD / build-and-deploy (push) Successful in 2m47s
InquiryCreate.razor was passing suppressNotification: true, preventing telegram alerts from reaching customers. Also, the success snackbar was dismissed too quickly (immediate navigation) for users to see feedback. Changes: - Set suppressNotification: false so admin-created inquiries trigger telegram alerts - Updated success message to explicitly mention notification was sent - Added 3-second delay before redirecting, giving users time to see the feedback User-facing improvement: admins now get clear confirmation that their inquiry was logged and the customer was notified. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
Email = model.Email,
|
||||
ServiceType = model.ServiceType,
|
||||
Message = model.Message,
|
||||
SuppressNotification = true
|
||||
SuppressNotification = false
|
||||
});
|
||||
|
||||
if (result == null)
|
||||
@@ -45,7 +45,9 @@
|
||||
return;
|
||||
}
|
||||
|
||||
Snackbar.Add("문의가 등록되었습니다.", Severity.Success);
|
||||
Snackbar.Add("✅ 문의가 등록되었고 고객에게 알림이 발송되었습니다.", Severity.Success);
|
||||
// 사용자가 성공 메시지를 볼 수 있도록 3초 후에 목록으로 이동
|
||||
await Task.Delay(3000);
|
||||
Navigation.NavigateTo("/taxbaik/admin/inquiries");
|
||||
}
|
||||
catch (ValidationException ex)
|
||||
|
||||
Reference in New Issue
Block a user