File tree Expand file tree Collapse file tree 2 files changed +23
-0
lines changed
manager-dashboard/app/views/NewProject Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ import Button from '#components/Button';
5050import NonFieldError from '#components/NonFieldError' ;
5151import AnimatedSwipeIcon from '#components/AnimatedSwipeIcon' ;
5252import ExpandableContainer from '#components/ExpandableContainer' ;
53+ import AlertBanner from '#components/AlertBanner' ;
5354import {
5455 valueSelector ,
5556 labelSelector ,
@@ -465,6 +466,16 @@ function NewProject(props: Props) {
465466 error = { error ?. projectType }
466467 disabled = { submissionPending || testPending }
467468 />
469+ { value . projectType === PROJECT_TYPE_STREET && (
470+ < AlertBanner title = "MapSwipe Web only" >
471+ < div className = { styles . warningContainer } >
472+ < div className = { styles . warningItem } >
473+ Projects of this type are currently
474+ only visible in the web app.
475+ </ div >
476+ </ div >
477+ </ AlertBanner >
478+ ) }
468479 < BasicProjectInfoForm
469480 value = { value }
470481 setValue = { setValue }
Original file line number Diff line number Diff line change 7575 flex-shrink : 0 ;
7676 justify-content : center;
7777 }
78+
79+ .warning-container {
80+ display : flex;
81+ flex-direction : column;
82+ gap : var (--spacing-extra-small );
83+
84+ .warning-item {
85+ display : flex;
86+ gap : var (--spacing-small );
87+ align-items : flex-start;
88+ }
89+ }
7890}
7991
8092.submission-status-modal {
You can’t perform that action at this time.
0 commit comments