From 8095251ebad151aff7bfa02154edcad251775467 Mon Sep 17 00:00:00 2001 From: kjh2064 Date: Fri, 3 Jul 2026 10:55:39 +0900 Subject: [PATCH] fix: admin inquiry creation now sends telegram notification and shows feedback 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 --- .../Components/Admin/Pages/Inquiries/InquiryCreate.razor | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/TaxBaik.Web.Client/Components/Admin/Pages/Inquiries/InquiryCreate.razor b/src/TaxBaik.Web.Client/Components/Admin/Pages/Inquiries/InquiryCreate.razor index beb8e52..545f16d 100644 --- a/src/TaxBaik.Web.Client/Components/Admin/Pages/Inquiries/InquiryCreate.razor +++ b/src/TaxBaik.Web.Client/Components/Admin/Pages/Inquiries/InquiryCreate.razor @@ -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)