-
Notifications
You must be signed in to change notification settings - Fork 156
Improve compare cmd UI #1963
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
Improve compare cmd UI #1963
Conversation
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.
Pretty nice, thanks! I think that we should definitely default into instructions. However, with inquire
, it's probably quite non-trivial to "go back" and display the metric selector once you have already shown the result. That's something that leads into a more interactive dialog and ratatui. So for now we can keep the metric dialog.
48f404e
to
dcf0405
Compare
Thank you for the review! I've fixed them. |
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.
Got one more idea, left a comment.
dcf0405
to
9325e6d
Compare
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.
Thanks!
I've added the ability to select artifacts and metrics interactively. Now, an interactive prompt will start if the artifacts or metric isn't explicitly specified. I'm curious to know how many people are using a non-instructions:u metric. If the number is significant, we could consider defaulting to instructions:u and disabling the prompt to streamline the user experience.