-
Notifications
You must be signed in to change notification settings - Fork 163
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
522 Add conf intervals to URL query string #1046
522 Add conf intervals to URL query string #1046
Conversation
Another potential bug:
Trying to sort out where exactly, so I can include a fix in this PR. |
dont show conf interval toggle for div trees; also consolidate logic for state.controls.temporalConfidence.display
allow confidence interval svgs to be added
use a function in place of hardcoded logic about whether or not to display confidence intervals
@jameshadfield I think this is ready to merge if you want to take one last look.
|
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.
Thanks Eli -- this looks good and will help with communicating uncertainty around branch timings in narratives which is really important right now 👍 Also thanks for tracking down & fixing related bugs discovered during this PR which touched many parts of Auspice
Description of proposed changes
Note: this is a work in progress and was submitted early as a PR for @jameshadfield and I to discuss and test in staging on Heroku.
This will close #522 by adding the confidence intervals for the time trees to the URL query string so that they may be more easily shared, e.g. in narratives.
I was also hoping to include a fix to #1051 here as it seems relevant, so I will update the name of the PR accordingly when I push those commits.
Related issue(s)
#522
#1051
#1053
Testing
Given that the relevant part of the redux store (
state.controls.temporalConfidence
) has these three pieces:exists
: does the confidence interval exist for the value in question in the dataset?display
: given the tree controls settings in the current redux state, does it make sense to have confidence intervals displayed on the tree?on
: is the confidence intervals toggle switch on?, I will need to test transitioning to/from as many permutations of these three options as I can manually by changing the sidebar controls - as @jameshadfield pointed out, this would be much accelerated by automated front-end testing, which it seems like is in development (Add E2E testing #917)!