From f408e56ca774a8b160664e46fe97497b4f3cf668 Mon Sep 17 00:00:00 2001 From: Supra4E8C Date: Sat, 11 Apr 2026 13:15:06 +0800 Subject: [PATCH] feat(authFiles): enhance header validation and error handling in editor --- .../AuthFilesPrefixProxyEditorModal.tsx | 12 ++- .../hooks/useAuthFilesPrefixProxyEditor.ts | 102 ++++++++++++++---- src/i18n/locales/en.json | 3 + src/i18n/locales/zh-CN.json | 3 + src/pages/AuthFilesPage.module.scss | 5 + 5 files changed, 102 insertions(+), 23 deletions(-) diff --git a/src/features/authFiles/components/AuthFilesPrefixProxyEditorModal.tsx b/src/features/authFiles/components/AuthFilesPrefixProxyEditorModal.tsx index 8e811c9..2ac6ed2 100644 --- a/src/features/authFiles/components/AuthFilesPrefixProxyEditorModal.tsx +++ b/src/features/authFiles/components/AuthFilesPrefixProxyEditorModal.tsx @@ -65,7 +65,13 @@ export function AuthFilesPrefixProxyEditorModal(props: AuthFilesPrefixProxyEdito @@ -141,13 +147,15 @@ export function AuthFilesPrefixProxyEditorModal(props: AuthFilesPrefixProxyEdito