WeKnora/frontend/src/utils
lyingbug a46a3c5996
fix(ui): 优化对话布局、导航与产物和引用展示 (#3427)
* fix(ui): refine chat scrolling, outline, and panel interactions

* fix(ui): include reference styling, composer copy, and title motion
2026-09-19 19:25:52 +08:00
..
_repro_gap.mjs feat(frontend): enhance chat streaming visuals with shimmer effect and fade tail 2026-06-22 10:48:53 +08:00
agent-mode.test.mjs fix(agent): reconcile agent stream mode and shared-agent readiness UX 2026-06-25 23:33:39 +08:00
agent-mode.ts fix(agent): reconcile agent stream mode and shared-agent readiness UX 2026-06-25 23:33:39 +08:00
agent-readiness.test.mjs refactor(agent): consolidate knowledge retrieval tools into search_knowledge, read_document, list_documents (#3381) 2026-09-18 14:12:22 +08:00
agent-readiness.ts refactor(agent): consolidate knowledge retrieval tools into search_knowledge, read_document, list_documents (#3381) 2026-09-18 14:12:22 +08:00
agent-tool-display.test.mjs refactor(agent): consolidate knowledge retrieval tools into search_knowledge, read_document, list_documents (#3381) 2026-09-18 14:12:22 +08:00
agent-tool-display.ts fix(chat): 兜底回答不再把原始命中数报成检索结果数 2026-08-13 21:34:21 +08:00
agent-tool-icons.ts refactor(agent): consolidate knowledge retrieval tools into search_knowledge, read_document, list_documents (#3381) 2026-09-18 14:12:22 +08:00
agentPromptTemplates.test.ts feat(browser): polish connection settings, open tasks in a new window, and streamline prompts (#3193) 2026-09-11 21:28:58 +08:00
agentPromptTemplates.ts feat(browser): polish connection settings, open tasks in a new window, and streamline prompts (#3193) 2026-09-11 21:28:58 +08:00
agentWebSearch.test.mjs fix: harden shared agent source permissions 2026-07-30 12:28:23 +08:00
agentWebSearch.ts fix: harden shared agent source permissions 2026-07-30 12:28:23 +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
artifactFileIcon.ts fix(preview): align header controls and artifact cards 2026-09-10 11:48:43 +08:00
artifactLibrary.test.mjs feat(artifacts): artifacts library page backed by a message_artifacts table (#3384) 2026-09-18 12:10:19 +08:00
artifactLibrary.ts feat(artifacts): artifacts library page backed by a message_artifacts table (#3384) 2026-09-18 12:10:19 +08:00
attachmentParsingDisplay.test.mjs feat(chat): add session-scoped temporary attachments with async parsing 2026-07-16 17:41:27 +08:00
attachmentParsingDisplay.ts feat(chat): add session-scoped temporary attachments with async parsing 2026-07-16 17:41:27 +08:00
attachmentPreview.test.mjs feat(chat): add session-scoped temporary attachments with async parsing 2026-07-16 17:41:27 +08:00
attachmentPreview.ts feat(agent): preview skill artifacts and verify installs without running them (#2823) 2026-08-27 10:30:32 +08:00
authRefresh.test.ts fix(frontend): recover the chat stream from an expired access token (#3028) 2026-09-07 19:46:46 +08:00
authRefresh.ts fix(frontend): recover the chat stream from an expired access token (#3028) 2026-09-07 19:46:46 +08:00
browserToolDisplay.test.ts fix(browser): complete task cancellation, screenshots, and result display (#3206) 2026-09-12 09:32:26 +08:00
browserToolDisplay.ts fix(browser): complete task cancellation, screenshots, and result display (#3206) 2026-09-12 09:32:26 +08:00
card-list-badge.ts fix(frontend): hide redundant card badges when section headers apply 2026-06-26 16:55:44 +08:00
caret.ts feat: 支持输入框内选择知识库和文件,优化选择交互体验 2025-12-22 13:11:31 +08:00
chatMarkdownRenderer.test.ts fix(chat): enforce retrieved image output in answers 2026-07-15 18:10:31 +08:00
chatMarkdownRenderer.ts fix(frontend): keep streamed Mermaid diagrams from reverting to code (#2885) 2026-08-31 13:25:50 +08:00
chatMessageShared.ts fix(frontend): keep streamed Mermaid diagrams from reverting to code (#2885) 2026-08-31 13:25:50 +08:00
chatQuestionMinimap.test.ts fix(ui): 优化对话布局、导航与产物和引用展示 (#3427) 2026-09-19 19:25:52 +08:00
chatQuestionMinimap.ts fix(ui): 优化对话布局、导航与产物和引用展示 (#3427) 2026-09-19 19:25:52 +08:00
chatRequestDebug.ts feat(chat): add request info button and debug payload for stream requests 2026-06-04 15:48:04 +08:00
chatSubmitShortcut.test.ts fix(chat): preserve steering continuity and composer focus 2026-09-09 20:15:23 +08:00
chatSubmitShortcut.ts fix(chat): preserve steering continuity and composer focus 2026-09-09 20:15:23 +08:00
citationChunkCache.test.mjs feat(chat): add citation popover and chunk caching 2026-06-16 01:09:55 +08:00
citationChunkCache.ts feat(chat): add citation popover and chunk caching 2026-06-16 01:09:55 +08:00
citationMarkdown.ts feat(frontend): enhance chat markdown rendering and streaming behavior 2026-06-22 10:48:53 +08:00
clipboard.ts fix(ui): 统一剪贴板复制为公共方法,HTTP 环境回退 execCommand 2026-08-12 15:38:01 +08:00
contextWindow.test.ts feat(agent): keep long sandbox turns from truncating, overflowing, or rewriting files 2026-09-02 22:09:09 +08:00
contextWindow.ts feat(agent): keep long sandbox turns from truncating, overflowing, or rewriting files 2026-09-02 22:09:09 +08:00
cronHumanize.ts feat(datasource): implement data source management functionality 2026-03-30 20:46:07 +08:00
disable-autofill.ts feat(integrations): polish embed/IM channel editors and agent rebind 2026-06-24 20:09:19 +08:00
documentPreviewMarkdown.test.ts fix(preview): lazy-load markdown images without dropping data URIs 2026-09-07 16:58:30 +08:00
documentPreviewMarkdown.ts fix(preview): lazy-load markdown images without dropping data URIs 2026-09-07 16:58:30 +08:00
embedAllowedOrigins.test.ts fix(embed): enforce host origin allowlists on framed pages 2026-09-14 18:03:57 +08:00
embedAllowedOrigins.ts fix(embed): enforce host origin allowlists on framed pages 2026-09-14 18:03:57 +08:00
embedBaseUrl.ts feat(embed): add widget, visitor chat, and management UI (#1657) 2026-06-12 23:10:39 +08:00
embedContext.ts feat(embed): add widget, visitor chat, and management UI (#1657) 2026-06-12 23:10:39 +08:00
embedFile.ts feat(embed): add widget, visitor chat, and management UI (#1657) 2026-06-12 23:10:39 +08:00
embedToast.ts feat(embed): add widget, visitor chat, and management UI (#1657) 2026-06-12 23:10:39 +08:00
filePreview.test.ts fix(preview): stop routing legacy .doc/.ppt to the OOXML previewers 2026-09-07 14:28:41 +08:00
filePreview.ts fix(preview): stop routing legacy .doc/.ppt to the OOXML previewers 2026-09-07 14:28:41 +08:00
fileTypeVerification.test.ts fix(knowledge): support local HTML uploads 2026-07-29 20:11:17 +08:00
fileTypeVerification.ts fix(knowledge): support local HTML uploads 2026-07-29 20:11:17 +08:00
files.ts ui(chat): restyle the generated-files drawer to match settings lists 2026-08-25 17:56:13 +08:00
finalAnswer.ts refactor(agent): remove final_answer tool references and update related logic 2026-06-04 15:48:04 +08:00
finalArtifactContent.ts feat(agent): unify sandbox tools and drop host preloaded skills (#3033) 2026-09-05 16:45:59 +08:00
format-list.ts fix(agent): address readiness review findings 2026-06-25 23:33:39 +08:00
grepResultsGroup.test.mjs feat(chat): enhance references drawer behavior and citation handling 2026-07-17 10:19:43 +08:00
grepResultsGroup.ts feat(chat): enhance references drawer behavior and citation handling 2026-07-17 10:19:43 +08:00
htmlPreview.test.ts fix(preview): support storage in sandboxed HTML artifacts 2026-09-10 12:28:19 +08:00
htmlPreview.ts fix(preview): support storage in sandboxed HTML artifacts 2026-09-10 12:28:19 +08:00
index.ts fix(skills): raise skill zip cap and keep uninstall progress stable 2026-09-02 15:08:05 +08:00
knowledgeChunksDisplay.test.mjs fix(agent): make read_document queries keyword-based and bound its pages 2026-09-18 15:09:25 +08:00
knowledgeChunksDisplay.ts fix(agent): make read_document queries keyword-based and bound its pages 2026-09-18 15:09:25 +08:00
knowledgeDeletion.test.ts fix(knowledge): confirm document deletion before reporting success 2026-09-07 15:43:28 +08:00
knowledgeDeletion.ts fix(knowledge): confirm document deletion before reporting success 2026-09-07 15:43:28 +08:00
knowledgeProcessingStatus.test.mjs fix(knowledge): align processing timeline status with knowledge row 2026-07-14 16:49:56 +08:00
knowledgeProcessingStatus.ts fix(knowledge): align processing timeline status with knowledge row 2026-07-14 16:49:56 +08:00
knowledgeTrace.test.ts fix(frontend): clarify processing timeline status 2026-07-28 20:45:59 +08:00
knowledgeTrace.ts fix(frontend): clarify processing timeline status 2026-07-28 20:45:59 +08:00
legacy-tool-names.test.mjs refactor(agent): consolidate knowledge retrieval tools into search_knowledge, read_document, list_documents (#3381) 2026-09-18 14:12:22 +08:00
legacy-tool-names.ts refactor(agent): consolidate knowledge retrieval tools into search_knowledge, read_document, list_documents (#3381) 2026-09-18 14:12:22 +08:00
loginNotify.ts feat(auth): support tenantless provisioning and gated self-service workspace creation 2026-07-13 18:13:51 +08:00
markdownDomPurify.test.mjs feat(agent): unify sandbox tools and drop host preloaded skills (#3033) 2026-09-05 16:45:59 +08:00
markdownDomPurify.ts feat(agent): unify sandbox tools and drop host preloaded skills (#3033) 2026-09-05 16:45:59 +08:00
markdownEnhancements.ts fix(ui): 统一剪贴板复制为公共方法,HTTP 环境回退 execCommand 2026-08-12 15:38:01 +08:00
markdownTableNormalize.ts feat(parser): add OpenDataLoader, PaddleOCR-VL engines, and parser improvements 2026-06-03 12:29:13 +08:00
mcpToolDisplay.test.ts feat(mcp)!: streamline setup and use short routing handles 2026-09-09 16:11:52 +08:00
mcpToolDisplay.ts feat(mcp)!: streamline setup and use short routing handles 2026-09-09 16:11:52 +08:00
mermaidShared.ts fix(frontend): keep streamed Mermaid diagrams from reverting to code (#2885) 2026-08-31 13:25:50 +08:00
mermaidStreaming.test.ts fix(frontend): keep streamed Mermaid diagrams from reverting to code (#2885) 2026-08-31 13:25:50 +08:00
mermaidStreaming.ts fix(frontend): keep streamed Mermaid diagrams from reverting to code (#2885) 2026-08-31 13:25:50 +08:00
mermaidViewer.ts feat(chat): add shared markdown rendering pipeline 2026-06-16 01:09:55 +08:00
messageTimestamp.test.ts fix(chat): insert timestamps as conversation flow dividers 2026-08-24 18:34:40 +08:00
messageTimestamp.ts fix(chat): insert timestamps as conversation flow dividers 2026-08-24 18:34:40 +08:00
modelDefaults.ts feat(agent): prefill default rerank model on agent creation 2026-08-10 17:20:01 +08:00
optionalString.test.ts fix: persist cleared IM knowledge bases 2026-09-07 14:24:41 +08:00
optionalString.ts fix: persist cleared IM knowledge bases 2026-09-07 14:24:41 +08:00
passwordPolicy.ts feat: support complex password (#2929) 2026-09-01 11:50:10 +08:00
pptxPreview.test.ts fix(preview): repair PptxGenJS slide masters so previews render 2026-09-12 10:14:43 +08:00
pptxPreview.ts fix(preview): repair PptxGenJS slide masters so previews render 2026-09-12 10:14:43 +08:00
protectedFileAccess.test.ts feat(files): add message-scoped proxy for shared-agent chat images 2026-08-07 18:10:16 +08:00
protectedFileAccess.ts feat(files): add message-scoped proxy for shared-agent chat images 2026-08-07 18:10:16 +08:00
protectedResource.test.ts feat(agent): unify sandbox tools and drop host preloaded skills (#3033) 2026-09-05 16:45:59 +08:00
protectedResource.ts feat(agent): unify sandbox tools and drop host preloaded skills (#3033) 2026-09-05 16:45:59 +08:00
ptyEchoPredictor.test.ts feat(sandbox): add an interactive terminal and files tab beside chat (#3110) 2026-09-08 17:43:15 +08:00
ptyEchoPredictor.ts feat(sandbox): add an interactive terminal and files tab beside chat (#3110) 2026-09-08 17:43:15 +08:00
ptyPromptNudge.test.ts feat(sandbox): unify the interactive PTY prompt and reconnect running sandboxes (#3128) 2026-09-09 18:17:10 +08:00
ptyPromptNudge.ts feat(sandbox): unify the interactive PTY prompt and reconnect running sandboxes (#3128) 2026-09-09 18:17:10 +08:00
questionOrigin.test.mjs fix(agent): search bound knowledge bases before answering, and pass suggested-question origins (#3400) 2026-09-18 17:00:47 +08:00
questionOrigin.ts fix(agent): search bound knowledge bases before answering, and pass suggested-question origins (#3400) 2026-09-18 17:00:47 +08:00
questionOriginWiring.test.mjs fix(agent): search bound knowledge bases before answering, and pass suggested-question origins (#3400) 2026-09-18 17:00:47 +08:00
rag-pipeline-history.test.mjs feat(chat): add session-scoped temporary attachments with async parsing 2026-07-16 17:41:27 +08:00
rag-pipeline-history.ts fix(frontend): cover attachment-only turns and stalled streams in the RAG wait row 2026-08-04 13:21:23 +08:00
rag-pipeline-state.test.ts fix(frontend): cover attachment-only turns and stalled streams in the RAG wait row 2026-08-04 13:21:23 +08:00
rag-pipeline-state.ts fix(frontend): cover attachment-only turns and stalled streams in the RAG wait row 2026-08-04 13:21:23 +08:00
referenceSources.test.mjs fix(chat): polish references drawer layout and web reference titles 2026-07-17 11:04:16 +08:00
referenceSources.ts fix(ui): 优化对话布局、导航与产物和引用展示 (#3427) 2026-09-19 19:25:52 +08:00
request.ts fix(frontend): scale upload timeout with payload size 2026-09-18 15:07:27 +08:00
requestTimeouts.test.ts fix(frontend): scale upload timeout with payload size 2026-09-18 15:07:27 +08:00
requestTimeouts.ts fix(frontend): scale upload timeout with payload size 2026-09-18 15:07:27 +08:00
sandboxArtifactRefs.test.ts fix(preview): align header controls and artifact cards 2026-09-10 11:48:43 +08:00
sandboxArtifactRefs.ts fix(preview): align header controls and artifact cards 2026-09-10 11:48:43 +08:00
sandboxPtyId.test.ts feat(sandbox): add an interactive terminal and files tab beside chat (#3110) 2026-09-08 17:43:15 +08:00
sandboxPtyId.ts feat(sandbox): add an interactive terminal and files tab beside chat (#3110) 2026-09-08 17:43:15 +08:00
security.test.ts feat(resource): add stable resource registry with LLM-context alias compaction 2026-07-15 17:02:43 +08:00
security.ts fix(preview): lazy-load markdown images without dropping data URIs 2026-09-07 16:58:30 +08:00
sessionArtifacts.test.ts fix(chat): reconcile steered messages and artifact ownership 2026-09-09 21:42:04 +08:00
sessionArtifacts.ts fix(chat): reconcile steered messages and artifact ownership 2026-09-09 21:42:04 +08:00
sessionMarkdown.test.ts feat(chat): add session header actions and Markdown export 2026-07-17 16:16:35 +08:00
sessionMarkdown.ts feat(chat): add session header actions and Markdown export 2026-07-17 16:16:35 +08:00
shellExecResult.test.ts fix(agent): keep skill-script stdout on failure for the model and UI 2026-08-28 15:05:42 +08:00
shellExecResult.ts fix(agent): keep skill-script stdout on failure for the model and UI 2026-08-28 15:05:42 +08:00
sidebarWidth.ts fix(ui): 优化对话布局、导航与产物和引用展示 (#3427) 2026-09-19 19:25:52 +08:00
skillArtifacts.test.ts feat(agent): preview skill artifacts and verify installs without running them (#2823) 2026-08-27 10:30:32 +08:00
skillArtifacts.ts feat(agent): preview skill artifacts and verify installs without running them (#2823) 2026-08-27 10:30:32 +08:00
skillToolDisplay.test.ts feat(agent): stream live +/- progress for sandbox write and edit 2026-09-02 23:36:58 +08:00
skillToolDisplay.ts feat(agent): stream live +/- progress for sandbox write and edit 2026-09-02 23:36:58 +08:00
skillUpgrade.test.mjs fix(skills): upgrade outdated sandbox skills without rolling back the catalog or taking them offline (#3406) 2026-09-18 20:27:43 +08:00
skillUpgrade.ts fix(skills): upgrade outdated sandbox skills without rolling back the catalog or taking them offline (#3406) 2026-09-18 20:27:43 +08:00
steerId.ts fix(skills): verify runtime prerequisites and support installer steering 2026-09-09 23:04:59 +08:00
steerStreamFork.test.mjs fix(chat): preserve steering continuity and composer focus 2026-09-09 20:15:23 +08:00
steerStreamFork.ts fix(chat): reconcile steered messages and artifact ownership 2026-09-09 21:42: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 docs: fix 登陆 typo to 登录 2026-08-07 17:04:49 +08:00
thinkingControl.test.ts feat: add LiteLLM as a model provider (#2923) 2026-09-01 12:21:03 +08:00
thinkingControl.ts feat: add LiteLLM as a model provider (#2923) 2026-09-01 12:21:03 +08:00
tool-capabilities.test.mjs refactor(agent): consolidate knowledge retrieval tools into search_knowledge, read_document, list_documents (#3381) 2026-09-18 14:12:22 +08:00
tool-capabilities.ts refactor(agent): consolidate knowledge retrieval tools into search_knowledge, read_document, list_documents (#3381) 2026-09-18 14:12:22 +08:00
tool-icons.ts refactor(agent): consolidate knowledge retrieval tools into search_knowledge, read_document, list_documents (#3381) 2026-09-18 14:12:22 +08:00
uploadLimit.test.mjs refactor(skills): enhance skill upload size management and error handling 2026-09-02 15:08:05 +08:00
uploadLimit.ts refactor(skills): enhance skill upload size management and error handling 2026-09-02 15:08:05 +08:00
weknoraCloudModels.ts feat(i18n): update WeKnoraCloud integration and enhance model management 2026-06-10 20:52:39 +08:00
wikiLineDiff.test.ts Improve Wiki reader layout and revision history UX. 2026-08-05 18:15:11 +08:00
wikiLineDiff.ts Improve Wiki reader layout and revision history UX. 2026-08-05 18:15:11 +08:00
wikiRevisionDiff.test.ts Improve Wiki reader layout and revision history UX. 2026-08-05 18:15:11 +08:00
wikiRevisionDiff.ts Improve Wiki reader layout and revision history UX. 2026-08-05 18:15:11 +08:00
wikiToolReferences.test.ts feat(chat): show wiki tool results in the references drawer 2026-07-23 19:41:34 +08:00
wikiToolReferences.ts feat(chat): show wiki tool results in the references drawer 2026-07-23 19:41:34 +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