mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 06:03:26 -05:00
[PR #14944] [MERGED] feat: Implement Client-Side Sorting for Feedback History Table #62511
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/14944
Author: @silentoplayz
Created: 6/12/2025
Status: ✅ Merged
Merged: 6/16/2025
Merged by: @tjbck
Base:
dev← Head:sort-feedbacks📝 Commits (2)
380a31fFeat: Implement Client-Side Sorting for Feedback History Table5a4a293Merge branch 'dev' into sort-feedbacks📊 Changes
1 file changed (+130 additions, -9 deletions)
View changed files
📝
src/lib/components/admin/Evaluations/Feedbacks.svelte(+130 -9)📄 Description
Pull Request Checklist
Before submitting, make sure you`ve checked the following:
devbranch.Changelog Entry
Description
User,Models,Result,Updated At) to sort the feedback entries in ascending or descending order. This improves the usability and navigability of the feedback history, allowing administrators to more easily review and analyze feedback.Added
ChevronUpandChevronDownicons for visual sort direction indication in table headers.setSortKeyfunction to manage sort state and direction.sortedFeedbacksreactive declaration to provide the sorted data for display.Changed
paginatedFeedbacksnow slices fromsortedFeedbacksinstead of the rawfeedbacksarray.<th>) were updated withon:clickhandlers to trigger sorting.orderByanddirectionstate.Additional Information
UserandModelsdefaults toasc(ascending) when first selected, whileResultandUpdated Atdefault todesc(descending). Subsequent clicks on the same header toggle the direction.Screenshots or Videos
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.