Open bobular opened 2 years ago
Update: #1444 now fixes the b) behaviour above and reverts it to a)
potentially related to https://redmine.apidb.org/issues/47693
I just talked with @d-callan about this, she commented:
Adding bin slider specs to variable metadata so that the workflow determines optimal bin slider min, max and step values in the same way in the subsetting tab as in the viz tab is more complicated than originally anticipated. I'm not sure the minor differences between subset and viz tabs are worth the effort.
Any change to the controls subsetting tab histogram controls causes a new back end request and so the bin width slider range is adjusted based on the response.
In the viz tab histogram a) at the time of writing, on the live site: changes to the x-axis range will trigger a new back end request (and the bin slider is adapted based on the response) b)
at the time of writing, the latestmain
branch client code does not trigger a new back end request (as described above)I think the behaviour in both subsetting and viz should be as in a) above. In particular the subsetting histogram should not be making new requests if the user toggles log scale on y-axis, for example.
Relates to https://github.com/VEuPathDB/web-eda/issues/1274