waterdataui merge requestshttps://code.usgs.gov/wma/iow/waterdataui/-/merge_requests2021-10-13T20:19:26Zhttps://code.usgs.gov/wma/iow/waterdataui/-/merge_requests/117Updated python and javascript dependencies2021-10-13T20:19:26ZBucknell, Mary S.Updated python and javascript dependenciesBefore making a pull request
----------------------------
- [X] Run all linters (make lint)
- [X] Run all tests (make test)
- [ ] Update the changelog appropriately
- [ ] If making a release, update code.json, versionNumber and metadata...Before making a pull request
----------------------------
- [X] Run all linters (make lint)
- [X] Run all tests (make test)
- [ ] Update the changelog appropriately
- [ ] If making a release, update code.json, versionNumber and metadataLastUpdated.
Description
-----------
Describe the changes made. Note anything that you want the reviewers to know while reviewing your pull request
After making a pull request
---------------------------
- [ ] If appropriate, put the link to the PR in the JIRA ticket
- [ ] Assign someone to review unless the change is trivialhttps://code.usgs.gov/wma/iow/waterdataui/-/merge_requests/113Wdfn 624 banner notification for funding2021-10-13T15:23:48ZBriggs, Aaron ShaneWdfn 624 banner notification for fundingBefore making a pull request
----------------------------
- [x] Run all linters (make lint)
- [x] Run all tests (make test)
- [x] Update the changelog appropriately
- [ ] If making a release, update code.json, versionNumber and metadata...Before making a pull request
----------------------------
- [x] Run all linters (make lint)
- [x] Run all tests (make test)
- [x] Update the changelog appropriately
- [ ] If making a release, update code.json, versionNumber and metadataLastUpdated.
Description WDFN-624 Banner notification for funding warnings for monitoring locations
-----------
Uses data from the Site Information Management System (SIMS) to add a banner at the top of the page for important changes in funding status of a location.
Notes--
- adds three possible alerts colors ('deactivated' in red, 'rescued' in green, and everything else in yellow) we may want to change this later
- We could only find one example location in the SIMS test bridge (10336715) and that has the green 'rescued' status.
- The other locations listed in the ticket only have endangerment data in the production SIMS bridge
- The repository seems to be public now, and doesn't want to merge from a private fork (wonder if I need (can) change mine to a public fork)
Image - the test SIMS bridge version
![image](/uploads/3ebcbbacd0f1549b0a89571dc39778c5/image.png)
After making a pull request
---------------------------
- [x] If appropriate, put the link to the PR in the JIRA ticket
- [x] Assign someone to review unless the change is trivial
After making a pull request
---------------------------
- [x] If appropriate, put the link to the PR in the JIRA ticket
- [x] Assign someone to review unless the change is trivialhttps://code.usgs.gov/wma/iow/waterdataui/-/merge_requests/107change links to open in same tab2021-10-01T16:13:05ZBriggs, Aaron Shanechange links to open in same tabBefore making a pull request
----------------------------
- [x] Run all linters (make lint)
- [x] Run all tests (make test)
- [ ] Update the changelog appropriately
- [ ] If making a release, update code.json, versionNumber and metadata...Before making a pull request
----------------------------
- [x] Run all linters (make lint)
- [x] Run all tests (make test)
- [ ] Update the changelog appropriately
- [ ] If making a release, update code.json, versionNumber and metadataLastUpdated.
Description WDFN-657 Add Links to How to Resources (Add-on)
-----------
After thinking about it and some team discussion, decided to have the links open in the same tab
After making a pull request
---------------------------
- [x] If appropriate, put the link to the PR in the JIRA ticket
- [ ] Assign someone to review unless the change is trivialhttps://code.usgs.gov/wma/iow/waterdataui/-/merge_requests/106WDFN-659 update sensor things url2021-10-01T16:01:11ZBriggs, Aaron ShaneWDFN-659 update sensor things urlBefore making a pull request
----------------------------
- [x] Run all linters (make lint)
- [x] Run all tests (make test)
- [x] Update the changelog appropriately
- [ ] If making a release, update code.json, versionNumber and metadata...Before making a pull request
----------------------------
- [x] Run all linters (make lint)
- [x] Run all tests (make test)
- [x] Update the changelog appropriately
- [ ] If making a release, update code.json, versionNumber and metadataLastUpdated.
Description WDFN-659 Update Sensor Things URL
-----------
Switched URL to use a more specific query.
After making a pull request
---------------------------
- [x] If appropriate, put the link to the PR in the JIRA ticket
- [x] Assign someone to review unless the change is trivialhttps://code.usgs.gov/wma/iow/waterdataui/-/merge_requests/104WDFN-657 Add in links to orientation how-to resources2021-10-01T13:43:40ZBriggs, Aaron ShaneWDFN-657 Add in links to orientation how-to resourcesBefore making a pull request
----------------------------
- [x] Run all linters (make lint)
- [x] Run all tests (make test)
- [x] Update the changelog appropriately
- [ ] If making a release, update code.json, versionNumber and metadata...Before making a pull request
----------------------------
- [x] Run all linters (make lint)
- [x] Run all tests (make test)
- [x] Update the changelog appropriately
- [ ] If making a release, update code.json, versionNumber and metadataLastUpdated.
Description WDFN-657 Add in links to orientation how-to resources
-----------
`'How to' resources links ('Why Next Gen?' and 'How to') now show in main gray toolbar.`
After making a pull request
---------------------------
- [x] If appropriate, put the link to the PR in the JIRA ticket
- [x] Assign someone to review unless the change is trivialhttps://code.usgs.gov/wma/iow/waterdataui/-/merge_requests/103change label and added tooltip2021-09-30T21:01:38ZBriggs, Aaron Shanechange label and added tooltipBefore making a pull request
----------------------------
- [x] Run all linters (make lint)
- [x] Run all tests (make test)
- [x] Update the changelog appropriately
- [ ] If making a release, update code.json, versionNumber and metadata...Before making a pull request
----------------------------
- [x] Run all linters (make lint)
- [x] Run all tests (make test)
- [x] Update the changelog appropriately
- [ ] If making a release, update code.json, versionNumber and metadataLastUpdated.
Description WDFN-658 Clarify Sampling Methods Text
-----------
Sampling method dropdown now has additional 'sub location' label and informational tooltip.
After making a pull request
---------------------------
- [x] If appropriate, put the link to the PR in the JIRA ticket
- [x] Assign someone to review unless the change is trivialhttps://code.usgs.gov/wma/iow/waterdataui/-/merge_requests/102Wdfn 660 classic link to inventory page when no iv data2021-09-30T19:59:31ZBriggs, Aaron ShaneWdfn 660 classic link to inventory page when no iv dataBefore making a pull request
----------------------------
- [x] Run all linters (make lint)
- [x] Run all tests (make test)
- [x] Update the changelog appropriately
- [ ] If making a release, update code.json, versionNumber and metadata...Before making a pull request
----------------------------
- [x] Run all linters (make lint)
- [x] Run all tests (make test)
- [x] Update the changelog appropriately
- [ ] If making a release, update code.json, versionNumber and metadataLastUpdated.
Description WDFN-660 Classic Link Goes to Site Inventory when No IV Data Present
-----------
Used the period of record in the template to check for IV data. If no data is present a slightly differently named link and tooltip are used.
I also looked at the changes in https://internal.cida.usgs.gov/jira/browse/IOW-403 to see if code needed to be updated or changed, but it seems that many changes have happened since then; I didn't see remnants of the original changes.
After making a pull request
---------------------------
- [x] If appropriate, put the link to the PR in the JIRA ticket
- [x] Assign someone to review unless the change is trivialhttps://code.usgs.gov/wma/iow/waterdataui/-/merge_requests/99Wdfn 655 - Handle errors in the aiohttp calls and potentially add retry logic2021-09-30T18:21:08ZBucknell, Mary S.Wdfn 655 - Handle errors in the aiohttp calls and potentially add retry logicBefore making a pull request
----------------------------
- [X] Run all linters (make lint)
- [X] Run all tests (make test)
- [X] Update the changelog appropriately
- [ ] If making a release, update code.json, versionNumber and metadata...Before making a pull request
----------------------------
- [X] Run all linters (make lint)
- [X] Run all tests (make test)
- [X] Update the changelog appropriately
- [ ] If making a release, update code.json, versionNumber and metadataLastUpdated.
Description
-----------
After analyzing the logs on production, we decided to handle the two exception that are now handled in the service.sifta module.
After making a pull request
---------------------------
- [ ] If appropriate, put the link to the PR in the JIRA ticket
- [ ] Assign someone to review unless the change is trivialhttps://code.usgs.gov/wma/iow/waterdataui/-/merge_requests/95Deps 09272021-09-27T15:40:34ZBucknell, Mary S.Deps 0927https://code.usgs.gov/wma/iow/waterdataui/-/merge_requests/85Updated changelog in preparation for release2021-09-20T16:05:14ZBucknell, Mary S.Updated changelog in preparation for releasehttps://code.usgs.gov/wma/iow/waterdataui/-/merge_requests/82Wdfn 562 data observation text on page2021-09-20T13:15:16ZBriggs, Aaron ShaneWdfn 562 data observation text on pageBefore making a pull request
----------------------------
- [x] Run all linters (make lint)
- [x] Run all tests (make test)
- [ ] Update the changelog appropriately
- [ ] If making a release, update code.json, versionNumber and metadata...Before making a pull request
----------------------------
- [x] Run all linters (make lint)
- [x] Run all tests (make test)
- [ ] Update the changelog appropriately
- [ ] If making a release, update code.json, versionNumber and metadataLastUpdated.
Description WDFN-562 Show Site Information Management System (SIMS) Location Content on Page
-----------
This expands on the work done in WDFN-561 and adds an element within the 'location metadata' accordion to hold SIMS context information.
After making a pull request
---------------------------
- [x] If appropriate, put the link to the PR in the JIRA ticket
- [x] Assign someone to review unless the change is trivialhttps://code.usgs.gov/wma/iow/waterdataui/-/merge_requests/80Wdfn 561 banner notification for error warning2021-09-17T19:31:44ZBriggs, Aaron ShaneWdfn 561 banner notification for error warningBefore making a pull request
----------------------------
- [x] Run all linters (make lint)
- [x] Run all tests (make test)
- [ ] Update the changelog appropriately
- [ ] If making a release, update code.json, versionNumber and metadata...Before making a pull request
----------------------------
- [x] Run all linters (make lint)
- [x] Run all tests (make test)
- [ ] Update the changelog appropriately
- [ ] If making a release, update code.json, versionNumber and metadataLastUpdated.
Description WDFN-561 Banner Notification for Error and Warning
-----------
Contacts the SIMS bridge service and if an alert is available displays it below the title at the top of the page. After prodding many times, I was assured that there will never be more than one 'alert' in the response though the 'alert' may be of different types. Since, we are working with a sample response data, there will need to be small changes in the Jinja2 template for when the real data starts flowing. A feature toggle was added to prevent unwanted display.
Image - error banner
![image](/uploads/8940beda21c1bec68ac4d42b0a83c755/image.png)
After making a pull request
---------------------------
- [x] If appropriate, put the link to the PR in the JIRA ticket
- [x] Assign someone to review unless the change is trivialhttps://code.usgs.gov/wma/iow/waterdataui/-/merge_requests/79Wdfn 6542021-09-14T18:37:48ZBucknell, Mary S.Wdfn 654Before making a pull request
----------------------------
- [X] Run all linters (make lint)
- [X] Run all tests (make test)
- [X] Update the changelog appropriately
- [ ] If making a release, update code.json, versionNumber and metadata...Before making a pull request
----------------------------
- [X] Run all linters (make lint)
- [X] Run all tests (make test)
- [X] Update the changelog appropriately
- [ ] If making a release, update code.json, versionNumber and metadataLastUpdated.
Description
-----------
Restored the correct constant so that classic page link works.
After making a pull request
---------------------------
- [ ] If appropriate, put the link to the PR in the JIRA ticket
- [ ] Assign someone to review unless the change is trivialhttps://code.usgs.gov/wma/iow/waterdataui/-/merge_requests/78Removing automated update of code.json version number. Added a reminder to...2021-09-14T14:17:10ZBucknell, Mary S.Removing automated update of code.json version number. Added a reminder to...Removing automated update of code.json version number. Added a reminder to update this when making a release to the default MR template.Removing automated update of code.json version number. Added a reminder to update this when making a release to the default MR template.https://code.usgs.gov/wma/iow/waterdataui/-/merge_requests/77Update javascript and python dependencies2021-09-14T13:41:14ZBucknell, Mary S.Update javascript and python dependencieshttps://code.usgs.gov/wma/iow/waterdataui/-/merge_requests/74Wdfn 650 calendar opening half off mobile screen2021-09-13T19:19:10ZBriggs, Aaron ShaneWdfn 650 calendar opening half off mobile screenBefore making a pull request
----------------------------
- [x] Run all linters (make lint)
- [x] Run all tests (make test)
- [x] Update the changelog appropriately
Description - WDFN 650 Calendar Opening off of Mobile Screen
---------...Before making a pull request
----------------------------
- [x] Run all linters (make lint)
- [x] Run all tests (make test)
- [x] Update the changelog appropriately
Description - WDFN 650 Calendar Opening off of Mobile Screen
-----------
Changed CSS so that large tablet/desktop/wider screens will still see the side by side calendars with width restricted fields but mobile phone and smaller tablet users will see the stacked calendars with unrestricted width. This allows the calendar to center on phone screens.
After making a pull request
---------------------------
- [x] If appropriate, put the link to the PR in the JIRA ticket
- [x] Assign someone to review unless the change is trivialhttps://code.usgs.gov/wma/iow/waterdataui/-/merge_requests/72Wdfn 539 - You can only move the map horizontally on iOS Safari2021-09-08T16:19:06ZBucknell, Mary S.Wdfn 539 - You can only move the map horizontally on iOS SafariBefore making a pull request
----------------------------
- [X] Run all linters (make lint)
- [X] Run all tests (make test)
- [X] Update the changelog appropriately
Description
-----------
Installed the leaflet-gesture-handler plugin t...Before making a pull request
----------------------------
- [X] Run all linters (make lint)
- [X] Run all tests (make test)
- [X] Update the changelog appropriately
Description
-----------
Installed the leaflet-gesture-handler plugin to provide two finger map gestures on leaflet.
After making a pull request
---------------------------
- [ ] If appropriate, put the link to the PR in the JIRA ticket
- [ ] Assign someone to review unless the change is trivialhttps://code.usgs.gov/wma/iow/waterdataui/-/merge_requests/70Wdfn 635 - Send python web server logs to a file when deployed2021-09-07T13:20:21ZBucknell, Mary S.Wdfn 635 - Send python web server logs to a file when deployedBefore making a pull request
----------------------------
- [X] Run all linters (make lint)
- [X] Run all tests (make test)
- [X] Update the changelog appropriately
Description
-----------
Code already existing to configure a file load...Before making a pull request
----------------------------
- [X] Run all linters (make lint)
- [X] Run all tests (make test)
- [X] Update the changelog appropriately
Description
-----------
Code already existing to configure a file loader. Modified it by using a TimedRotatingFileHandler to provide the capability to create daily logs and to automatically remove old files after 30 days
After making a pull request
---------------------------
- [ ] If appropriate, put the link to the PR in the JIRA ticket
- [ ] Assign someone to review unless the change is trivialhttps://code.usgs.gov/wma/iow/waterdataui/-/merge_requests/69WDFN-648: Precipitation, total (parameter code 00045) is not displaying data ...2021-09-02T21:35:28ZBucknell, Mary S.WDFN-648: Precipitation, total (parameter code 00045) is not displaying data on the monitoring location pageBefore making a pull request
----------------------------
- [X] Run all linters (make lint)
- [X] Run all tests (make test)
- [X] Update the changelog appropriately
Description
-----------
Updated the iv-data and discrete-data selector...Before making a pull request
----------------------------
- [X] Run all linters (make lint)
- [X] Run all tests (make test)
- [X] Update the changelog appropriately
Description
-----------
Updated the iv-data and discrete-data selectors that return points suitable for rendering now return the value as a float. The displayValue was added to retain the string value so that the precision of the value is rendered for display in the data table. Updated all Redux mock hydrographData and groundwaterLevels to set value to string.
After making a pull request
---------------------------
- [ ] If appropriate, put the link to the PR in the JIRA ticket
- [ ] Assign someone to review unless the change is trivialhttps://code.usgs.gov/wma/iow/waterdataui/-/merge_requests/68Wdfn 515 - Fix performance of the location rendering2021-09-02T14:46:07ZBucknell, Mary S.Wdfn 515 - Fix performance of the location renderingBefore making a pull request
----------------------------
- [X] Run all linters (make lint)
- [X] Run all tests (make test)
- [X] Update the changelog appropriately
Description
-----------
When calling the geoJSON service for active si...Before making a pull request
----------------------------
- [X] Run all linters (make lint)
- [X] Run all tests (make test)
- [X] Update the changelog appropriately
Description
-----------
When calling the geoJSON service for active sites, the lat/lon for the bounding boxes are limited to 3/4 digits of precision.
After making a pull request
---------------------------
- [ ] If appropriate, put the link to the PR in the JIRA ticket
- [ ] Assign someone to review unless the change is trivial