WeKnora/frontend/src/utils
wizardchen 2714ab18f3 feat(security): implement throttling for protected file fetch retries
- Added a mechanism to throttle retries for failed file fetches, preventing excessive 404 requests during streaming.
- Introduced a cooldown period for re-fetching files that previously failed, improving performance and user experience.
- Implemented a function to clear the failure cache, allowing immediate retries after streaming ends.
- Updated the `hydrateProtectedFileImages` function to utilize the new throttling logic, ensuring efficient image loading.
2026-06-04 15:48:04 +08:00
..
api-base.ts feat(frontend): respect BASE_URL so the SPA works behind a path-prefix reverse proxy 2026-05-05 00:58:19 +08:00
caret.ts feat: 支持输入框内选择知识库和文件,优化选择交互体验 2025-12-22 13:11:31 +08:00
chatMessageShared.ts feat(i18n): replace hardcoded Chinese strings with i18n calls across frontend 2026-03-06 10:34:08 +08:00
chatRequestDebug.ts feat(chat): add request info button and debug payload for stream requests 2026-06-04 15:48:04 +08:00
cronHumanize.ts feat(datasource): implement data source management functionality 2026-03-30 20:46:07 +08:00
files.ts fix(frontend): knowledge document list layout, batch bar, and selection 2026-04-29 15:20:41 +08:00
finalAnswer.ts refactor(agent): remove final_answer tool references and update related logic 2026-06-04 15:48:04 +08:00
index.ts feat(video): remove video upload support and update related terminology 2026-04-14 22:59:14 +08:00
knowledgeTrace.ts feat(knowledge-base): integrate trace availability checks and enhance UI interactions 2026-05-28 15:26:53 +08:00
loginNotify.ts feat(i18n): enhance notification templates with raw message handling 2026-05-18 20:37:57 +08:00
markdownTableNormalize.ts feat(parser): add OpenDataLoader, PaddleOCR-VL engines, and parser improvements 2026-06-03 12:29:13 +08:00
mermaidShared.ts fix(frontend): prevent duplicate click binding 2026-03-30 10:46:50 +08:00
mermaidViewer.ts feat(i18n): replace hardcoded Chinese strings with i18n calls across frontend 2026-03-06 10:34:08 +08:00
request.ts fix: allow slower datasource resource listing 2026-06-04 15:32:06 +08:00
security.ts feat(security): implement throttling for protected file fetch retries 2026-06-04 15:48:04 +08:00
tdesign-icon-offline.ts fix(frontend): improve offline and legacy browser support 2026-05-21 11:19:44 +08:00
tenantModelReadiness.ts feat(contextualGuides): add multiple contextual guide components for agent and knowledge base creation 2026-06-03 14:42:46 +08:00
tenantSwitch.ts feat(ui): render workspace-context notifications with styled chips 2026-05-18 20:37:57 +08:00
tool-capabilities.ts refactor(agent): remove final_answer tool references and update related logic 2026-06-04 15:48:04 +08:00
tool-icons.ts feat: friendly display for MCP tool names in frontend (#715) 2026-03-21 10:22:05 +08:00
workspaceNotifyContent.ts feat(i18n): enhance notification templates with raw message handling 2026-05-18 20:37:57 +08:00
zoom.ts fix(frontend): correct floating UI positioning under root `zoom` 2026-05-24 23:03:26 +08:00