-
Notifications
You must be signed in to change notification settings - Fork 1.2k
[OPIK-2987][FE] Alexkuzmik/change default experiments grouping #3962
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
base: main
Are you sure you want to change the base?
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.
Pull Request Overview
This PR changes the default view of the experiments page from grouping by dataset to no grouping, while maintaining dataset-based grouping for the charts displayed at the top of the page.
Key changes:
- Removed default grouping by dataset on the experiments table
- Modified chart data generation to group experiments by dataset even when no table grouping is applied
- Added dynamic column filtering to hide the dataset column when grouping by dataset
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| ExperimentsPage.tsx | Updated chart data generation to group by dataset when no grouping is applied; added dataset and duration columns to default selected columns |
| useExperimentsTableConfig.ts | Added logic to filter out dataset column from display when grouping by dataset |
| useExperimentsGroupsAndFilters.ts | Changed default groups from grouping by dataset to empty array; updated local storage key version |
apps/opik-frontend/src/components/pages-shared/experiments/useExperimentsGroupsAndFilters.ts
Show resolved
Hide resolved
|
✅ Test environment is now available! Access Information
The deployment has completed successfully and the version has been verified. |
Details
Changed the default view of experiments page from grouping by dataset to no grouping - just one line per experiment. The top part of the page however still contains charts grouped by datasets for visible experiments as it was before.
This view is simpler, more intuitive to start with and you are less likely to automatically click on dataset and move to dataset page when in fact wanting to click on experiment.
The dataset view is still available, it's just not default now.
Change checklist
Issues
Testing
Tested manually.
Test env: https://pr-3962.dev.comet.com/default/experiments?filters=%5B%5D&groups=%5B%5D&size=100
Documentation