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

Add filtered counts to Filter By tree #1866

Merged
merged 3 commits into from
Jun 9, 2022
Merged

Add filtered counts to Filter By tree #1866

merged 3 commits into from
Jun 9, 2022

Conversation

mattseddon
Copy link
Member

@mattseddon mattseddon commented Jun 9, 2022

Follow up from #1760. The second step for #1827.

This PR adds a description showing the number of filtered experiments and checkpoints to the Filter By tree.

Demo

Screen.Recording.2022-06-09.at.3.37.35.pm.mov

@mattseddon mattseddon added the product PR that affects product label Jun 9, 2022
@mattseddon mattseddon self-assigned this Jun 9, 2022
@mattseddon mattseddon changed the base branch from main to exp-table-sort-by-left-click June 9, 2022 05:40
@mattseddon mattseddon marked this pull request as ready for review June 9, 2022 05:41
@mattseddon mattseddon marked this pull request as draft June 9, 2022 05:41
@@ -139,4 +143,58 @@ export class ExperimentsFilterByTree
private getDvcRoots() {
return this.experiments.getDvcRoots()
}

private updateDescriptionOnChange() {
Copy link

Choose a reason for hiding this comment

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

Identical blocks of code found in 2 locations. Consider refactoring.

@mattseddon mattseddon marked this pull request as ready for review June 9, 2022 07:39
Base automatically changed from exp-table-sort-by-left-click to main June 9, 2022 22:03
@mattseddon mattseddon enabled auto-merge (squash) June 9, 2022 22:05
@codeclimate
Copy link

codeclimate bot commented Jun 9, 2022

Code Climate has analyzed commit 5cc5966 and detected 2 issues on this pull request.

Here's the issue category breakdown:

Category Count
Duplication 2

The test coverage on the diff in this pull request is 96.7% (85% is the threshold).

This pull request will bring the total coverage in the repository to 96.6%.

View more on Code Climate.

@mattseddon mattseddon merged commit a938b55 into main Jun 9, 2022
@mattseddon mattseddon deleted the add-filter-count branch June 9, 2022 22:14
mattseddon added a commit that referenced this pull request Jun 10, 2022
* add filtered counts to the filter by tree description

* refactor text collection

* add integration test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product PR that affects product
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants