[PR #17715] [MERGED] Revert "feat: Dynamically load CodeEditor.svelte to improve first-screen loading speed (-1MB)" #63379

Closed
opened 2026-05-06 08:07:11 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/17715
Author: @ShirasawaSama
Created: 9/24/2025
Status: Merged
Merged: 9/24/2025
Merged by: @tjbck

Base: devHead: revert-17498-patch-19


📝 Commits (1)

  • 6614c73 Revert "feat: Dynamically load CodeEditor.svelte to improve first-screen loading speed (-1MB)"

📊 Changes

3 files changed (+42 additions, -45 deletions)

View changed files

📝 src/lib/components/admin/Functions/FunctionEditor.svelte (+15 -16)
📝 src/lib/components/chat/Messages/CodeBlock.svelte (+12 -13)
📝 src/lib/components/workspace/Tools/ToolkitEditor.svelte (+15 -16)

📄 Description

Reverts open-webui/open-webui#17498

fix #17684

I tried alternative approaches to fix this issue, but they would introduce a significant amount of extra code (since the Markdown component is used in too many places).

Personally, I find this unnecessary and believe it unnecessarily increases code complexity. Therefore, I'm reverting this change.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/open-webui/pull/17715 **Author:** [@ShirasawaSama](https://github.com/ShirasawaSama) **Created:** 9/24/2025 **Status:** ✅ Merged **Merged:** 9/24/2025 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `dev` ← **Head:** `revert-17498-patch-19` --- ### 📝 Commits (1) - [`6614c73`](https://github.com/open-webui/open-webui/commit/6614c73b6cf4bad53cd546783ef28f74291fbba7) Revert "feat: Dynamically load CodeEditor.svelte to improve first-screen loading speed (-1MB)" ### 📊 Changes **3 files changed** (+42 additions, -45 deletions) <details> <summary>View changed files</summary> 📝 `src/lib/components/admin/Functions/FunctionEditor.svelte` (+15 -16) 📝 `src/lib/components/chat/Messages/CodeBlock.svelte` (+12 -13) 📝 `src/lib/components/workspace/Tools/ToolkitEditor.svelte` (+15 -16) </details> ### 📄 Description Reverts open-webui/open-webui#17498 fix #17684 I tried alternative approaches to fix this issue, but they would introduce a significant amount of extra code (since the Markdown component is used in too many places). Personally, I find this unnecessary and believe it unnecessarily increases code complexity. Therefore, I'm reverting this change. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-06 08:07:11 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#63379