Skip to content
This repository has been archived by the owner on Aug 21, 2023. It is now read-only.

Add historic range control #240

Conversation

flibbertigibbet
Copy link
Contributor

@flibbertigibbet flibbertigibbet commented Sep 2, 2017

Overview

Add form for setting historic range, for the two indicators that have only historic range as an extra parameter.

Demo

image

Notes

It would be better to present the available options as a drop-down, as there are only three base years available, by querying for the options from /api/historic-range/. As it is, this text field needs a way to give error feedback, as does #230.

Updated to query for options and use them in a drop-down. One of the options is empty, as this parameter is not required.

Testing Instructions

  • Try the control for head wave duration index or heat wave incidents indicators

Closes #203.

Add form for setting historic range, for the two indicators that have only historic range as an extra parameter.
Closes azavea#203.
To discover the available historic ranges.
@flibbertigibbet flibbertigibbet force-pushed the feature/kak/historic-range-controls#203 branch from 3cc4367 to 9dcaa51 Compare September 2, 2017 12:02
Switch to using drop-down with available historic range start dates.
Since historic range is an optional extra parameter, add empty option to drop-down.
@CloudNiner CloudNiner self-requested a review September 5, 2017 15:28
@CloudNiner CloudNiner assigned CloudNiner and unassigned fungjj92 Sep 5, 2017
@flibbertigibbet flibbertigibbet merged commit b04530c into azavea:develop Sep 5, 2017
@flibbertigibbet flibbertigibbet deleted the feature/kak/historic-range-controls#203 branch September 5, 2017 15:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants