The following list of new features, updates and bug fixes are included in the latest Sprint 22.07 release to FDW/FDE.
New Features
News article notification feature in FDW
FDW users with appropriate permissions can now set up automatic email notifications based on pre-defined criteria. When a new news article is downloaded matching those criteria, an email is sent to the email address(es) specified in the alert. To view, add, or edit email alerts, go to Metadata Management > Notifications > Subscriptions.
...
This feature includes the following Jira issues:
...
Data source documents in FDW now contain a field to specify usage license. The license tells us what rights the FEWS NET project, and other users if applicable, have to use the data in the source document. The license choices are the same as those in HDX and when this field is completed the HDX pipeline will automatically select the correct license when publishing data.
...
New Geographic Unit genealogy charts in FDW
...
Geographic Units in FDW now contain genealogy charts depicting the relationships of geographic units to each other over time. The relationships chart appears on the Geographic Unit page between the Description and the Features map. Learn more about geographic unit relationships and genealogy charts. [WILL ADD LINK TO NEW HELP TEXT]
...
Updates
Data source document permissions and filter
A new
collect_datasourcedocument
permission allows more granular access permissions to data source documents in FDW than the existingmanage_datasourcedocument
permission. The new permission grants users access to add and edit data collections and has enabled a new filter. When uploading data on the data collection page, the new filter only shows the data source documents for which the user has thecollect_datasourcedocument
permission.This update includes the following Jira issues:
FDW data source filter on data collection screen (DATA-1462)
Add This new feature was the result of a bug fix ticket, Crop production serializer duplicates geographic unit when aggregating (DATA-1654), in which trying to filter and extract crop production data resulted in mismatch of
Country
andAdmin_0
columns information.
collect_datasourcedocument
permission to fdw. (DATA-1638)Create endpoint to collect all saved datasets for a user across all domains (DATA-1684)
There is now an API endpoint (https://fdw.fews.net/api/dataset) that searches across all domains for saved datasets. This API endpoint can be searched for id, name, description, visibility, or owner username by adding
?search=
, separately or in combination with the following filters:start_after
start_before
end_after
end_before
owner
visibility
specialization_type
created_after
created_before
modified_after
modified_before
Updates
Improved search functionality in Data Platform (DATA-1568)
Users now have greater control over their searches in FDE and FDW. New functionality includes:
Search for an exact phrase by using single or double quotation marks (e.g., if you search for vegetable oil, you will get all results that have either of those words but searching "vegetable oil" or ‘vegetable oil’ will yield only results that include that exact phrase).
Exclude terms by using a minus (-) symbol (e.g. searching 'vegetable oil' -'palm oil' will return all results about vegetable oil unless they include a reference to palm oil).
Expand your search by using or (e.g. searching “sunflower oil” “palm oil” will surface results containing both phrases, but searching "sunflower oil” or “palm oil" provides you with results that contain either phrase).
...
New validation error message when time field left blank (DATA-
...
1619)
Countries on the scatter plot are divided by color into three categories: FEWS NET Presence, FEWS NET Remote, and Other countries.
...
When adding a new dataset in FDW, if the start and end dates are filled with a date but not a time, a validation error will prompt users to “Enter a valid time.” This new validation error message ensures that the page remains responsive.
New import_priceratio
permission in FDW (DATA-1679)
The Import Price Ratios page was previously available only for the
superadmin
user group permission and not other groups of permissions. Theimport_priceratio
permission was added to required groups to give them access to this page.Assigning the
import_priceratio
permission to a user or user group now gives the user or group access to the page.
Bug Fixes
Updating the Description text field of the Data usage policy results in 500 Internal Error (DATA-1593)
Trying to edit the
Description
Field of aData usage policy
in FDW was resulting in a 500 Internal Error. This issue has been fixed.
Update __str__
in IPC Classification model so that it uses the choices label (e.g. IPC 3.1) instead of the value (e.g. IPC31) (DATA-1667)
All instances of IPC31 in FDW have been be replaced with IPC 3.1.
Updating unit of measure results in 500 Internal Error (DATA-1614)
Trying In FDW, trying to update the
Abbreviation
field of the unit of measure (e.g., https://fdwdev.fews.net/en/admin/common/unitofmeasure/225_5FL/change/ ) resulted in a 500 Internal Error. TheAbbreviation
field has been updated to be read-only and not editable.
...