[PR #18032] [CLOSED] FEAT: Add Vega Char Visualizer Renderer #24647

Closed
opened 2026-04-20 05:31:05 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/18032
Author: @rgaricano
Created: 10/3/2025
Status: Closed

Base: devHead: dev-FEAT_vega_diagram


📝 Commits (6)

  • 2b77e6f Update package.json - added vega lib
  • c8bc121 Update package-lock.json - added vega lib
  • 0957079 Update index.ts - Added vega renderer function
  • 5afade6 FEAT: Add Vega Visualizer Renderer - Update CodeBlock.svelte
  • 7a5a0c4 Fix-Format Update
  • 56b3529 Revert "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/

openwebui_vega_renderer


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.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/open-webui/pull/18032 **Author:** [@rgaricano](https://github.com/rgaricano) **Created:** 10/3/2025 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `dev-FEAT_vega_diagram` --- ### 📝 Commits (6) - [`2b77e6f`](https://github.com/open-webui/open-webui/commit/2b77e6f48d991d618799290c98045ebcecbbf81e) Update package.json - added vega lib - [`c8bc121`](https://github.com/open-webui/open-webui/commit/c8bc1213cbc1b6265b8ce9940b923565477e8f5b) Update package-lock.json - added vega lib - [`0957079`](https://github.com/open-webui/open-webui/commit/0957079a569da29c7fa984057b7e4946e78cbb47) Update index.ts - Added vega renderer function - [`5afade6`](https://github.com/open-webui/open-webui/commit/5afade69f4938e361b9bce9d4de1d1bb218013e8) FEAT: Add Vega Visualizer Renderer - Update CodeBlock.svelte - [`7a5a0c4`](https://github.com/open-webui/open-webui/commit/7a5a0c43ff68c3e307470b1f33e976a12a7140dd) Fix-Format Update - [`56b3529`](https://github.com/open-webui/open-webui/commit/56b35294c2b6c4dd893a3721a644f6936ea448a8) Revert "Fix-Format Update" ### 📊 Changes **4 files changed** (+30 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `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) </details> ### 📄 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/ ![openwebui_vega_renderer](https://github.com/user-attachments/assets/b5f34233-25c9-48c2-8ad3-2856ecbb5336) ___ ### Contributor License Agreement By submitting this pull request, I confirm that I have read and fully agree to the [Contributor License Agreement (CLA)](https://github.com/open-webui/open-webui/blob/main/CONTRIBUTOR_LICENSE_AGREEMENT), and I am providing my contributions under its terms. --- <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-04-20 05:31:05 -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#24647