fix: misc frontend fixes for agent log, login, search settings (#16137)

### What problem does this PR solve?

fix: misc frontend fixes for agent log, login, search settings
- agent-log: restore server-side pagination on export and search;
replace hardcoded labels with i18n keys; switch container to
text-text-primary
- login: validate register nickname against NICKNAME_PATTERN with
reusable setting i18n
- next-search: align llm_setting schema with chat (LlmSettingFieldSchema
+ LLMIdFormField nested, LlmSettingEnabledSchema at form
root) so the slider Switch reads the correct path; strip *Enabled flags
before submit to avoid backend "Unrecognized field name"
  errors
  - locales: add common.reset (zh/en)
  - skills/go-naming: fix relative link to rules/named.md

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
chanx
2026-06-17 16:20:26 +08:00
committed by GitHub
parent 3247e353c7
commit 9302233b95
8 changed files with 71 additions and 35 deletions

View File

@@ -1043,11 +1043,9 @@ export const useExportAgentLog = () => {
mutationFn: async (searchParams: IAgentLogsRequest) => {
const { data } = await fetchAgentLogsByCanvasId(id as string, {
...searchParams,
page: 1,
page_size: 100000,
});
return data?.data?.sessions ?? [];
return data?.data ?? [];
},
});