azavea / climate-change-lab

Other
4 stars 1 forks source link

Baseline indicators should provide percentile dropdown rather than textbox #317

Closed fungjj92 closed 6 years ago

fungjj92 commented 6 years ago
screen shot 2017-11-10 at 12 31 00 pm

The API only calculates ClimateDataBaseline for certain percentiles (1, 5, 95, 99). Reusing the percentile component which provides a text box right now (percentile indicators should indeed have a text box) is inappropriate. Instead it should be a dropdown of these 4 options.

flibbertigibbet commented 6 years ago

Related to/duplicate of #243

flibbertigibbet commented 6 years ago

See also comments here and here in what is now the components repository.

rmartz commented 6 years ago

This is specific to the Extreme __ Events indicators, which are different from the other percentile indicators in that they're limited to choosing only from a defined set of legal options (Which, as an aside, it appears we don't mention in our documentation). The Percentile __ indicators use any numeric percentile and can keep their free-form input, so we'll still need validation for them but as a distinct task from this.

rmartz commented 6 years ago

I believe this is blocked by azavea/climate-change-api#757

fungjj92 commented 6 years ago

Moved to azavea/climate-change-components#14