mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 06:03:26 -05:00
[PR #10789] [CLOSED] feat: Display Empty Page Message in Artifacts Sidebar #22594
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/10789
Author: @silentoplayz
Created: 2/26/2025
Status: ❌ Closed
Base:
dev← Head:artifacts-nothing-to-show📝 Commits (4)
60d91ffUpdate Artifacts.sveltee396e05Update Artifacts.svelted76cb8aUpdate Artifacts.svelte5687a67Update Artifacts.svelte📊 Changes
1 file changed (+145 additions, -113 deletions)
View changed files
📝
src/lib/components/chat/Artifacts.svelte(+145 -113)📄 Description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description:
This pull request adds a feature to display an empty page message in the artifacts sidebar when no contents are found. This PR would close out https://github.com/open-webui/open-webui/issues/10561.
Changelog:
Added
Changed
getContentsfunction to setshowArtifactstotrueand add a default message whencontentsis emptyAdditional Information:
This change was motivated by my own idea to display a helpful message when no contents are found in the artifacts sidebar. The added feature is designed to be user-friendly and informative.
Screenshots or Videos
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.