Add sorting capabilities to Inference Endpoints table#251769
Closed
saikatsarkar056 wants to merge 11 commits intoelastic:mainfrom
Closed
Add sorting capabilities to Inference Endpoints table#251769saikatsarkar056 wants to merge 11 commits intoelastic:mainfrom
saikatsarkar056 wants to merge 11 commits intoelastic:mainfrom
Conversation
Contributor
|
🤖 Jobs for this PR can be triggered through checkboxes. 🚧
ℹ️ To trigger the CI, please tick the checkbox below 👇
|
Contributor
Author
|
Closing this PR in favor of #252189 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a Sort dropdown and sortable columns to the Inference Endpoints management page, allowing users to sort endpoints by different fields.
Changes
New Sort dropdown - Added a "Sort" button in the toolbar that displays a dropdown menu with sort options:
Sortable column headers - All data columns (Endpoint, Model, Service, Type) now support sorting by clicking the column header to toggle ascending/descending order
Extended sort fields - Updated
SortFieldInferenceEndpointenum to support sorting byinference_id,service,task_type, andmodelUpdated sorting logic - Enhanced
useTableDatahook to handle sorting for all fields, including Model which extracts data from nestedservice_settingsChecklist
Check the PR satisfies following conditions.
Reviewers should verify this PR satisfies this list as well.
release_note:breakinglabel should be applied in these situations.release_note:*label is applied per the guidelinesbackport:*labels.Identify risks
Does this PR introduce any risks? For example, consider risks like hard to test bugs, performance regression, potential of data loss.
Describe the risk, its severity, and mitigation for each identified risk. Invite stakeholders and evaluate how to proceed before merging.
Release Note
Adds sorting capabilities to the Inference Endpoints table, allowing users to sort by Endpoint, Service, Type, or Model using a dropdown or by clicking column headers.