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

Experiment Selection Header Searchbox + Quick Action Buttons #48

Conversation

jescalada
Copy link
Collaborator

@jescalada jescalada commented Mar 11, 2024

This is a PR for enhancing the experiment selection header usability by allowing quick selection or removal of filtered experiments, and also filtering/searching experiments by name or by regex expression.

image

Changelog

  • Added case-insensitive filtering for experiment selection header
  • Added regex filtering for experiment selection header
  • Added "Toggle All Experiments" functionality (remove or show all filtered experiments)
    • Quirk: May not look perfect when there are 40+ experiments selected at the same time
  • Improved name shortening so that long names get truncated in the middle rather than the end

@jescalada jescalada requested a review from fabiovincenzi March 14, 2024 07:23
fabiovincenzi
fabiovincenzi previously approved these changes Mar 14, 2024
Copy link
Collaborator

@fabiovincenzi fabiovincenzi left a comment

Choose a reason for hiding this comment

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

Looks really good!
I report just few things I noticed but I think we can definitely merge this in and fix these in a separate PR

  • when the toggle button is pressed (to set regex search), maybe we want to update the results as well
  • if we have an invalid regex input and then we switch to normal search the red box still shows up until you come back to regex search and supply a valid regex.

But as I said really good work, we can fix those in a separate PR.

@jescalada jescalada merged commit 8e547de into G-Research:release/v3.17.5 Mar 15, 2024
3 checks passed
vinayan3 pushed a commit to vinayan3/fasttrackml-ui-aim that referenced this pull request Aug 28, 2024
…rch#48)

* Add ExperimentNavigationPopoverCompact

* Add conditional rendering for compact header/popover

* Add ExperimentHeader to MetricsBar

* Fix ExperimentHeader styling

* Add metrics filtering

* Add filtering handler

* Add params filter by experiment

* Add scatters filtering by experiment

* Fix date alignment

* Abridge long experiment names

* Refactor onSelectExperiment handler

* Extend query string parser for experimentNames

* Refactor createAppModel internals

* Refactor experiment id to experimentNames

* Add ExperimentBar component

* Add ExperimentSelectionPopover component

* Add chips for multiple experiment names

* Add styling for experiment bar chips

* Remove compact experiment header

* Add default experiment bar text

* Remove unused props

* Fix shortening issue

* Show no results when empty selectedExperiments

* Add util for getting selected experiments

* Update selectedExperiments toggle function

* Refactor component tree to simplify global state

* Add onToggleAllExperiments to model

* Fix missing dependency warning

* Add toggle function to view

* Add regex filtering to experiment header

* Update onToggleAllExperiments

* Add experiment selection checkboxes and new toggle logic

* Update experiment selection styling

* Improve experiment name slicing UX

* Add conditional tooltip to main checkbox

* Fix import spacing
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.

Experiment Bar Enhancements (Search box and Select All button)
3 participants