Replaced ajax get with fetch API and updated the tests. I also split out the...
Replaced ajax get with fetch API and updated the tests. I also split out the calls to FIM from the calls to get flood levels from waterwatch and also did some renaming to remove waterwatch from our code. We will almost certainly be getting flood levels somewhere else in the future.
parent
56439534
No related branches found
No related tags found
Showing
- assets/src/scripts/monitoring-location/components/hydrograph/flood-level-lines.js 1 addition, 1 deletion...oring-location/components/hydrograph/flood-level-lines.js
- assets/src/scripts/monitoring-location/components/hydrograph/index.js 3 additions, 3 deletions...cripts/monitoring-location/components/hydrograph/index.js
- assets/src/scripts/monitoring-location/components/hydrograph/index.test.js 20 additions, 6 deletions...s/monitoring-location/components/hydrograph/index.test.js
- assets/src/scripts/monitoring-location/components/hydrograph/selectors/flood-level-data.js 11 additions, 10 deletions...ation/components/hydrograph/selectors/flood-level-data.js
- assets/src/scripts/monitoring-location/components/hydrograph/selectors/flood-level-data.test.js 1 addition, 0 deletions.../components/hydrograph/selectors/flood-level-data.test.js
- assets/src/scripts/monitoring-location/components/hydrograph/selectors/legend-data.js 6 additions, 6 deletions...g-location/components/hydrograph/selectors/legend-data.js
- assets/src/scripts/monitoring-location/components/hydrograph/time-series-graph.js 2 additions, 2 deletions...oring-location/components/hydrograph/time-series-graph.js
- assets/src/scripts/monitoring-location/components/map/flood-slider.js 1 addition, 1 deletion...cripts/monitoring-location/components/map/flood-slider.js
- assets/src/scripts/monitoring-location/components/map/index.js 2 additions, 2 deletions...s/src/scripts/monitoring-location/components/map/index.js
- assets/src/scripts/monitoring-location/components/map/index.test.js 14 additions, 0 deletions.../scripts/monitoring-location/components/map/index.test.js
- assets/src/scripts/monitoring-location/selectors/flood-data-selector.js 6 additions, 7 deletions...ipts/monitoring-location/selectors/flood-data-selector.js
- assets/src/scripts/monitoring-location/selectors/flood-data-selector.test.js 27 additions, 21 deletions...monitoring-location/selectors/flood-data-selector.test.js
- assets/src/scripts/monitoring-location/store/flood-data.js 14 additions, 15 deletionsassets/src/scripts/monitoring-location/store/flood-data.js
- assets/src/scripts/monitoring-location/store/flood-data.test.js 179 additions, 0 deletions.../src/scripts/monitoring-location/store/flood-data.test.js
- assets/src/scripts/monitoring-location/store/hydrograph-data.test.js 0 additions, 4 deletions...scripts/monitoring-location/store/hydrograph-data.test.js
- assets/src/scripts/monitoring-location/store/hydrograph-parameters.js 1 addition, 1 deletion...cripts/monitoring-location/store/hydrograph-parameters.js
- assets/src/scripts/monitoring-location/store/index.js 1 addition, 1 deletionassets/src/scripts/monitoring-location/store/index.js
- assets/src/scripts/web-services/camera-images.test.js 7 additions, 6 deletionsassets/src/scripts/web-services/camera-images.test.js
- assets/src/scripts/web-services/fim-data.js 78 additions, 0 deletionsassets/src/scripts/web-services/fim-data.js
- assets/src/scripts/web-services/fim-data.test.js 200 additions, 0 deletionsassets/src/scripts/web-services/fim-data.test.js
Loading
Please register or sign in to comment