Skip to content

[WIP][dashboard scoped filter] part 2: add algorithm to convert checked ids to scope object#8559

Merged
graceguo-supercat merged 2 commits intoscope-selector-modal-v2from
convert-ids-to-tabs-rebased
Nov 13, 2019
Merged

[WIP][dashboard scoped filter] part 2: add algorithm to convert checked ids to scope object#8559
graceguo-supercat merged 2 commits intoscope-selector-modal-v2from
convert-ids-to-tabs-rebased

Conversation

@graceguo-supercat
Copy link

@graceguo-supercat graceguo-supercat commented Nov 13, 2019

this is #8521 rebased on latest master.

REVIEWERS

@willbarrett @kristw @etr2460

@graceguo-supercat graceguo-supercat changed the title convert ids to scope object [WIP][dashboard scoped filter] part 2: add algorithm to convert checked ids to scope object Nov 13, 2019
return traverse({
currentNode: nodes[0],
filterId: chartId,
checkedChartIds,
Copy link
Contributor

Choose a reason for hiding this comment

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

can convert checkedChartIds to Set

Copy link
Author

Choose a reason for hiding this comment

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

checkedChartIds has no duplicates

@codecov-io
Copy link

codecov-io commented Nov 13, 2019

Codecov Report

Merging #8559 into scope-selector-modal-v2 will increase coverage by 0.06%.
The diff coverage is 92.85%.

Impacted file tree graph

@@                    Coverage Diff                     @@
##           scope-selector-modal-v2   #8559      +/-   ##
==========================================================
+ Coverage                    65.93%     66%   +0.06%     
==========================================================
  Files                          469     470       +1     
  Lines                        23085   23127      +42     
  Branches                      2468    2485      +17     
==========================================================
+ Hits                         15222   15265      +43     
+ Misses                        7702    7701       -1     
  Partials                       161     161
Impacted Files Coverage Δ
.../src/dashboard/util/getFilterScopeFromNodesTree.js 92.85% <92.85%> (ø)
...assets/src/dashboard/util/getDashboardFilterKey.js 100% <0%> (+66.66%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 39182f9...e505a19. Read the comment docs.

@graceguo-supercat graceguo-supercat deleted the convert-ids-to-tabs-rebased branch November 25, 2019 23:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants