From 6016e606ad75b71e14e99f1739611bc8715fa6bf Mon Sep 17 00:00:00 2001 From: Nishit Suwal <81785002+NSUWAL123@users.noreply.github.com> Date: Mon, 6 Nov 2023 11:57:30 +0545 Subject: [PATCH] fix (createNewProject): updateContents - project setup description updated (#968) --- .../components/createnewproject/DataExtract.tsx | 16 +++++++++++++--- .../createnewproject/ProjectDetailsForm.tsx | 12 ++++++++---- .../components/createnewproject/SelectForm.tsx | 5 ++--- .../components/createnewproject/SplitTasks.tsx | 10 +++++++--- .../components/createnewproject/UploadArea.tsx | 10 +++++++--- 5 files changed, 37 insertions(+), 16 deletions(-) diff --git a/src/frontend/src/components/createnewproject/DataExtract.tsx b/src/frontend/src/components/createnewproject/DataExtract.tsx index 59f05b81be..8d86b86bb1 100644 --- a/src/frontend/src/components/createnewproject/DataExtract.tsx +++ b/src/frontend/src/components/createnewproject/DataExtract.tsx @@ -90,9 +90,19 @@ const DataExtract = ({ flag, customLineUpload, setCustomLineUpload, customPolygo
Data Extract

- Fill in your project basic information such as name, description, hashtag, etc. - To complete the first step, you will need the account credentials of ODK central server.{' '} - Here are the instructions for setting up a Central ODK Server on Digital Ocean. + + You may choose to use the default OSM data extracts as your feature types to perform the field survey + + The relevant data extracts that exist on OSM are imported based on your AOI. + + You can use these data extracts to use the select_from_map functionality from ODK that allows you the mapper + to select the existing feature and conduct field mapping survey + + + In contrast to OSM data extracts, you can also upload custom data extracts around the AOI to conduct the + field mapping survey. + + Note: The custom data extracts shall follow the defined data standards.

diff --git a/src/frontend/src/components/createnewproject/ProjectDetailsForm.tsx b/src/frontend/src/components/createnewproject/ProjectDetailsForm.tsx index 574a7b71a9..7028ac91b7 100644 --- a/src/frontend/src/components/createnewproject/ProjectDetailsForm.tsx +++ b/src/frontend/src/components/createnewproject/ProjectDetailsForm.tsx @@ -81,12 +81,16 @@ const ProjectDetailsForm = ({ flag }) => {
Project Details

- Fill in your project basic information such as name, description, hashtag, etc. - To complete the first step, you will need the account credentials of ODK central server.{' '} - Here are the instructions for setting up a Central ODK Server on Digital Ocean. + + Fill in your project basic information such as name, description, hashtag, etc. This captures essential + information about your project. + + To complete the first step, you will need the login credentials of ODK Central Server.{' '} + + Here are the instructions for setting up a Central ODK Server on Digital Ocean, if you haven’t already. +

-
Select Form

- Fill in your project basic information such as name, description, hashtag, etc. - To complete the first step, you will need the account credentials of ODK central server.{' '} - Here are the instructions for setting up a Central ODK Server on Digital Ocean. + You may choose to either use the default XLS form defined in FMTM or upload a custom XLS form. + You may learn more about XLSforms here.{' '}

diff --git a/src/frontend/src/components/createnewproject/SplitTasks.tsx b/src/frontend/src/components/createnewproject/SplitTasks.tsx index c2bc7843e7..0991862a4d 100644 --- a/src/frontend/src/components/createnewproject/SplitTasks.tsx +++ b/src/frontend/src/components/createnewproject/SplitTasks.tsx @@ -269,9 +269,13 @@ const SplitTasks = ({ flag, geojsonFile, setGeojsonFile, customLineUpload, custo
Split Tasks

- Fill in your project basic information such as name, description, hashtag, etc. - To complete the first step, you will need the account credentials of ODK central server.{' '} - Here are the instructions for setting up a Central ODK Server on Digital Ocean. + You may choose how to divide an area into tasks for field mapping + Divide area on squares split the AOI into squares based on user’s input in dimensions + Choose area as task creates the number of tasks based on number of polygons in AOI + + Task splitting algorithm splits an entire AOI into smallers tasks based on linear networks (road, river) + followed by taking into account the input of number of average buildings per task +

diff --git a/src/frontend/src/components/createnewproject/UploadArea.tsx b/src/frontend/src/components/createnewproject/UploadArea.tsx index dd61b2e845..8f8c167b6f 100644 --- a/src/frontend/src/components/createnewproject/UploadArea.tsx +++ b/src/frontend/src/components/createnewproject/UploadArea.tsx @@ -114,11 +114,15 @@ const UploadArea = ({ flag, geojsonFile, setGeojsonFile }) => {
Upload Area

- Fill in your project basic information such as name, description, hashtag, etc. - To complete the first step, you will need the account credentials of ODK central server.{' '} - Here are the instructions for setting up a Central ODK Server on Digital Ocean. + You can choose to upload the AOI. Note: The file upload only supports .geojson format. +

+

You may also draw a freehand polygon on map interface.

{' '} +

Click on the reset button to redraw the AOI.

+
+ The total area of the AOI is also calculated and displayed on the screen.

+