mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 06:03:26 -05:00
[PR #17602] [CLOSED] feat: Refactor Evaluations.svelte component to dynamically load its child components (Leaderboard and Feedbacks) #95522
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/17602
Author: @silentoplayz
Created: 9/19/2025
Status: ❌ Closed
Base:
dev← Head:dynamic-eval-imports📝 Commits (1)
0b5d4d9feat: Use dynamic imports for evaluation components📊 Changes
1 file changed (+15 additions, -5 deletions)
View changed files
📝
src/lib/components/admin/Evaluations.svelte(+15 -5)📄 Description
Pull Request Checklist
Before submitting, make sure you've checked the following:
devbranch.Description
Evaluations.sveltecomponent to dynamically load its child components (LeaderboardandFeedbacks) to improve initial page load performance.Changed
Evaluations.sveltecomponent now uses dynamic imports(import())with Svelte's{#await}block to load theLeaderboardandFeedbackscomponents on-demand when their respective tabs are selected.Removed
Leaderboard.svelteandFeedbacks.sveltefromsrc/lib/components/admin/Evaluations.svelte.Additional Information
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.