Skip to content
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

feat(webui): improve download menu, add option to download human eval test cases, and add tests #1500

Merged
merged 13 commits into from
Aug 22, 2024

Conversation

mldangelo
Copy link
Member

  • Add unit tests for DownloadMenu component
  • Enhance DownloadMenu UI with tooltips, dividers, and grouped options
  • Implement keyboard shortcuts for download options

…ownload

- Implement number key shortcuts (1-5) for download options
- Add new download option for Human Eval Test Cases
- Improve button layout with right-aligned shortcut indicators
- Add keyboard event listener to handle shortcuts when dialog is open
@mldangelo mldangelo requested a review from typpo August 22, 2024 00:10
@mldangelo mldangelo self-assigned this Aug 22, 2024
Copy link
Contributor

@typpo typpo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice change!

</Button>
</Tooltip>

<Tooltip title="Download Human Evaluation Test Cases in YAML format">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is "Human Evaluation Test Cases" the right label? Maybe just Evaluation Test Cases? or Promptfoo Evaluation Test Cases?

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@mldangelo mldangelo merged commit e99af30 into main Aug 22, 2024
14 checks passed
@mldangelo mldangelo deleted the feat/download-human-eval branch August 22, 2024 20:09
Din-m-shin pushed a commit to Din-m-shin/promptfoo that referenced this pull request Aug 26, 2024
Din-m-shin pushed a commit to Din-m-shin/promptfoo that referenced this pull request Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants