mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-12 14:45:38 -06:00
[PR #21694] [CLOSED] feat: make Action Rich UI (embed) placement configurable per-action #26212
Reference in New Issue
Block a user
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/21694
Author: @Classic298
Created: 2/21/2026
Status: ❌ Closed
Base:
dev← Head:configurable-rich-ui-placement📝 Commits (1)
c7a21e8feat: make Action Rich UI (embed) placement configurable per-action📊 Changes
4 files changed (+30 additions, -4 deletions)
View changed files
📝
backend/open_webui/socket/main.py(+9 -3)📝
backend/open_webui/utils/actions.py(+1 -0)📝
src/lib/components/chat/Chat.svelte(+3 -0)📝
src/lib/components/chat/Messages/ResponseMessage.svelte(+17 -1)📄 Description
Description
Follow-up to discussion #21482.
Makes Action Rich UI (embed) placement configurable per-action. Actions now default to rendering embeds below the assistant message, near the action button. Developers can override this by specifying placement in the embed event data.
Tool Rich UI is unaffected — it already renders inline at the tool call invocation point.
Why
As discussed in #21482, the previous fixed "top" placement caused UX issues:
What changed
Backend:
Frontend:
Developer usage
Placement is controlled per-action. The default for actions is bottom. Developers who manually emit embeds via the event emitter can specify placement: