-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support searching and sorting experiments via API and sorting on UI #280
base: main
Are you sure you want to change the base?
Conversation
7455675
to
c666640
Compare
c666640
to
523a478
Compare
|
||
impl Default for SortBy { | ||
fn default() -> Self { | ||
Self::Desc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I feel default should be Asc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pratikmishra356 you always want to see the latest data, especially if you've been using Superposition for years.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Datron but it can differ based on entity , position/weight needs to be sort in asc order
} | ||
if let Some(ref context_search) = filters.context { | ||
builder = builder.filter( | ||
sql::<Bool>("context::text LIKE ") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are we type casting here ? context
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes we are, this just lets me modify the context type so I can use LIKE on it. It's currently an experiment to see if this is a viable way to search through contexts
Problem
It is difficult to find experiments on different filters and sort them
Solution
PS: more frontend changes are to be expected to support searching. That is NOT present in this PR.
Screen.Recording.2024-11-08.at.2.35.02.PM.mov