mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 14:39:31 -05:00
[PR #18032] [CLOSED] FEAT: Add Vega Char Visualizer Renderer #24647
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/18032
Author: @rgaricano
Created: 10/3/2025
Status: ❌ Closed
Base:
dev← Head:dev-FEAT_vega_diagram📝 Commits (6)
2b77e6fUpdate package.json - added vega libc8bc121Update package-lock.json - added vega lib0957079Update index.ts - Added vega renderer function5afade6FEAT: Add Vega Visualizer Renderer - Update CodeBlock.svelte7a5a0c4Fix-Format Update56b3529Revert "Fix-Format Update"📊 Changes
4 files changed (+30 additions, -2 deletions)
View changed files
📝
package-lock.json(+1 -0)📝
package.json(+1 -0)📝
src/lib/components/chat/Messages/CodeBlock.svelte(+15 -2)📝
src/lib/utils/index.ts(+13 -0)📄 Description
FEAT: Add Vega Char Visualizer Renderer
Feature required in https://github.com/open-webui/open-webui/discussions/18022
Added npm vega lib to package.json
Added function for visualization renderer to src/libs/utils/index.ts
Added logic to src/lib/components/chat/Messages/CodeBlock.svelte
The treatment is similar as for mermaid diagrams.
Reference: https://vega.github.io/vega/
Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.