2024.3.2
FMTM 2024.3.2 Patch Release
A minor release stabilising FMTM prior to webinar and wider public communication.
🛠️ Improvements
-
Faster project creation: we significantly improved the project creation workflow to optimise for speed. Creation should complete in under 10 seconds for most projects of any size.
-
Layer opacity: reduce the opacity of the task overlay with satellite base: The high opacity of task colour hindered field mappers to view the base layers clearly. Reducing the opacity has greatly improved the user's experience.
-
Form question ordering: we moved the digitisation related questions to the end of all forms, based on field-user feedback. Typically a mapper will interact with the owner / ask questions, prior to assessing the building footprint and trespassing on land.
-
Project generation failure: if project generation fails, the remaining steps are now halted and the steps so far are reverted. This allows the user to correct their input and try again.
-
Form updates: form category and uploaded form should be pre populated while editing project form: While editing the form, the form category was not being populated causing confusion for users on form category. However, the form category can’t be edited because it has some serious impact on task splitting and data extraction activities.
-
ODK token refresh: submitting data from ODK Collect uses a special authentication token. This token can now be refreshed if needed, if the token is lost of suspected to be compromised.
🐛 Bugs Fixed
- 'Map Feature in ODK' button is enabled if the task area is locked: For some field mappers who work on groups may require mapping single building within locked tasks too. FMTM now offers users to map a few features within locked tasks to be mapped from ODK.
- Error message during submission download when there is no submission on that project: The vague error message saying “something went wrong” or “The data can’t be downloaded” used to be shown to the user when there is no submission within that project. This is now fixed by providing a clear error message.
- Parsing of hashtags was sometimes incorrect on varied input. It should now be consistent.
- Improved GeoJSON parsing, allowing for more flexible input without failures: MultiPolygon, Feature, FeatureCollection, etc.
- Fixed MBTile / PMTile generation when using a custom TMS URL - this was not always working previously.
- S3-based objects related to a project were not deleted on project deletion - they are now.
Technical Summary
What's Changed
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #1598
- fix(map): set default baseLayer to OSM by @NSUWAL123 in #1600
- Added new endpoint to refresh the app user token by @Sujanadh in #1583
- Update remaining JavaScript files to TypeScript by @NSUWAL123 in #1602
- Update task_history.action correctly on db by @NSUWAL123 in #1609
- Test coverage of read project summaries and read project by id endpoints by @azharcodeit in #1611
- Fix parsing of hashtags (allow separation by comma, space, or semicolon) by @spwoodcock in #1607
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #1616
- fix(featureSelectionPopup): allow any users to map feature by @NSUWAL123 in #1612
- Add INVALIDATED status option back in by @NSUWAL123 in #1618
- Updated default values in the database by @Sujanadh in #1596
- Replace usage of RS256 JWT signing with simpler HS384 by @spwoodcock in #1622
- Remove unnecessary tables and field from db schema by @spwoodcock in #1623
- Added created date on the project response by @Sujanadh in #1633
- Test for GET task history for a project by @azharcodeit in #1626
- Prevent project generation if api failure by @spwoodcock in #1627
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #1636
- Simplify infographics API usage (reuse Entities data) by @NSUWAL123 in #1601
- fix(frontend): avoid map legend overlay on small screens (dynamic size) by @NSUWAL123 in #1637
- fix(frontend): display submission point feature if feature not in extract by @NSUWAL123 in #1638
- Test coverage for projects mapping endpoints by @azharcodeit in #1624
- Update Select Category Description by @NSUWAL123 in #1644
- Save current form step state on previous btn click by @NSUWAL123 in #1643
- Endpoint to conflate the submission with osm data by @Sujanadh in #1594
- Allow multipolygons to choose as task area by @Sujanadh in #1645
- Update split-by-square to avoid creating tasks with no features in it by @Sujanadh in #1642
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #1656
- Fix ProjectUserDict usage and standardise geojson parsing/usage throughout by @spwoodcock in #1659
- Test coverage for GET /organisation/ endpoint by @azharcodeit in #1658
- Feat/taskpopup user add by @NSUWAL123 in #1670
- fix(manageProject): hide user tab until its api integration by @NSUWAL123 in #1669
- Increased expiry of access token to 1 day by @Sujanadh in #1672
- Fix submssions not loaded in the submission table by @Sujanadh in #1680
- Reduce task overlay opacity by @NSUWAL123 in #1682
- Test coverage for GET /central/list-forms endpoint by @azharcodeit in #1674
- Upgrade Python --> v3.11 & update backend dependencies by @spwoodcock in #1671
- Update workflow-diagrams.md by @manjitapandey in #1655
- Upgrade osm-fieldwork --> 0.13.0 for mbtile fix by @spwoodcock in #1688
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #1690
- Button click feedback on form update by @NSUWAL123 in #1692
- fix(project): display error generated on the backend by @NSUWAL123 in #1693
- Improve error message if no project submissions present by @spwoodcock in #1696
- Determine overlap percentage for the conflation by @Sujanadh in #1687
- Test coverage for updating the task status endpoint by @azharcodeit in #1703
- Test coverage for POST projects/task-split endpoint by @azharcodeit in #1702
- Fix generating project files passing project id to background task by @Sujanadh in #1708
- Disable form category updates by @NSUWAL123 in #1704
- Add working submission comments to submission page by @NSUWAL123 in #1709
- Test add failure test case for create project endpoint by @azharcodeit in #1710
- Update task dialog task_status text on task update by @NSUWAL123 in #1712
- Allow reset polygon on draw selection even if geojson file upload by @NSUWAL123 in #1713
- Fix submission map chloropeth by @NSUWAL123 in #1716
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #1717
- Updated generate_project_files to bulk upload entities by @Sujanadh in #1714
- Delete s3 objects on project deletion by @spwoodcock in #1718
- Fix xlsform question ordering + pmtile generation when custom TMS by @spwoodcock in #1721
Full Changelog: 2024.3.0...2024.3.2