Skip to content

Conversation

@mattseddon
Copy link
Contributor

@mattseddon mattseddon commented Aug 4, 2022

Closes #2116

This PR adds the following logic to the ordering of plots.

If a plot is hidden retain the order of all plots until such time that the plot is either unhidden or any other plot is moved. If the plot is unhidden show it in the same place, if any other plot is moved send it to the last position in the order.

Demo

Screen.Recording.2022-08-04.at.2.28.33.pm.mov

@mattseddon mattseddon added the product PR that affects product label Aug 4, 2022
@mattseddon mattseddon self-assigned this Aug 4, 2022
@mattseddon mattseddon marked this pull request as ready for review August 4, 2022 21:33
@qlty-cloud-legacy
Copy link

Code Climate has analyzed commit b50721c and detected 0 issues on this pull request.

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

This pull request will bring the total coverage in the repository to 96.8% (0.0% change).

View more on Code Climate.

@mattseddon mattseddon merged commit a5b432e into main Aug 4, 2022
@mattseddon mattseddon deleted the retain-plot-order branch August 4, 2022 23:48
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.

Keep the order of the plots when toggling their visibility on and off

2 participants