Skip to content

Commit b463566

Browse files
committed
feat(manager-dashboard): add street specific inputs (wip)
1 parent f9ae768 commit b463566

File tree

1 file changed

+24
-0
lines changed
  • manager-dashboard/app/views/NewProject

1 file changed

+24
-0
lines changed

manager-dashboard/app/views/NewProject/index.tsx

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -707,6 +707,30 @@ function NewProject(props: Props) {
707707
/>
708708
</InputSection>
709709
)}
710+
711+
{value.projectType === PROJECT_TYPE_STREET && (
712+
/* TODO: Add street project inputs for
713+
startTimestamp,
714+
endTimeStamp,
715+
isPano,
716+
organizationId,
717+
samplingThreshold
718+
*/
719+
<InputSection
720+
heading="Mapillary Image Filters"
721+
>
722+
<NumberInput
723+
name={'organizationId' as const}
724+
value={value?.organizationId}
725+
onChange={setFieldValue}
726+
error={error?.organizationId}
727+
label="Mapillary Organization ID"
728+
hint="Provide a valid Mapillary organization ID to filter for images belonging to a specific organization."
729+
disabled={submissionPending || projectTypeEmpty}
730+
/>
731+
</InputSection>
732+
)}
733+
710734
{error?.[nonFieldError] && (
711735
<div className={styles.errorMessage}>
712736
{error?.[nonFieldError]}

0 commit comments

Comments
 (0)