Skip to content

Commit 00a3a7a

Browse files
committed
tweaked caas
1 parent 921f048 commit 00a3a7a

File tree

1 file changed

+75
-27
lines changed

1 file changed

+75
-27
lines changed

src/config/projectQuestions/caas_intake.v1.0.js

Lines changed: 75 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,7 @@ const sections = [
2222
required: true,
2323
hideTitle: true,
2424
title: 'Questions',
25-
description: 'Topcoder will scan your application using our properiatary formula\
26-
for security standards. To rate your application we combine state of the art \
27-
static code analysis, security scanning, export code review and other techniques \
28-
to produce a Security Health Check scorecard.',
25+
description: '',
2926
type: 'questions',
3027
questions: [
3128
{
@@ -38,47 +35,98 @@ const sections = [
3835
isRequired: 'Please describe your application.',
3936
minLength: 'Please enter at least 160 characters'
4037
},
41-
description: 'Please describe your application.',
38+
description: 'Brief describe your application',
4239
title: 'Description',
4340
type: 'textbox'
4441
},
4542
{
4643
icon: 'question',
47-
title: 'What is the maximum level of acceptable risk for this application?',
48-
description: 'Based on the features and data, how secure do you feel this application should be?',
49-
fieldName: 'details.security.howSecure',
44+
title: 'How many full time resources do you need?',
45+
description: '',
46+
fieldName: 'details.resources.total',
47+
type: 'textbox',
48+
required: true,
49+
validationError: 'Please enter number of resources'
50+
},
51+
{
52+
icon: 'question',
53+
title: 'How many months do you need the resource for',
54+
description: '',
55+
fieldName: 'details.resources.months',
5056
type: 'slide-radiogroup',
5157
options: [
52-
{ value: 'low-risk', title: 'Low Risk'},
53-
{ value: 'medium-risk', title: 'Medium Risk' },
54-
{ value: 'high-risk', title: 'High Risk' },
55-
{ value: 'custom', title: 'Custom' }
58+
{value: '1', title: '1'},
59+
{value: '2', title: '2'},
60+
{value: '3', title: '3'},
61+
{value: '4', title: '4'},
62+
{value: '5', title: '5'},
63+
{value: '6', title: '6'},
64+
{value: '7', title: '7'},
65+
{value: '8', title: '8'},
66+
{value: '9', title: '9'},
67+
{value: '10', title: '10'},
68+
{value: '11', title: '11'},
69+
{value: '12', title: '12'}
5670
],
5771
required: true,
58-
validationError: 'Please select security rating'
72+
validationError: 'Please select one'
73+
},
74+
{
75+
icon: 'question',
76+
title: 'What skills do you need?',
77+
description: '',
78+
fieldName: 'details.resources.skills',
79+
type: 'checkbox-group',
80+
options: [
81+
{ value: 'ios', label:'iOS' },
82+
{ value: 'data-sci', label:'Data Science' },
83+
{ value: 'android', label:'Android' },
84+
{ value: 'java', label:'java' },
85+
{ value: 'dotnet', label:'.NET' },
86+
{ value: 'node', label:'NodeJS' },
87+
{ value: 'javascript', label:'Javascript' },
88+
{ value: 'react', label:'ReactJS' },
89+
{ value: 'angular', label:'AngularJS' }
90+
]
5991
},
6092
{
6193
icon: 'question',
62-
title: 'Do you require additional documentation for workers?',
94+
title: 'What is the typical hourly rate you are paying?',
6395
description: '',
64-
fieldName: 'details.caas.docs',
65-
type: 'radio-group',
96+
fieldName: 'details.resources.hourlyrate',
97+
type: 'slide-radiogroup',
6698
options: [
67-
{value: 'topcoder', label: 'Topcoder NDA'},
68-
{value: 'custom', label: 'Custom NDA'},
69-
{value: 'custom', label: 'Background Check'},
70-
{value: 'custom', label: 'Other'}
99+
{ value: 'under30', title:'Under $30' },
100+
{ value: 'under60', title:'Under $60' },
101+
{ value: 'under80', title:'Under $80' },
102+
{ value: 'under100', title:'Under $100' },
103+
{ value: 'under125', title:'Under $125' },
104+
{ value: 'under150', title:'Under $150' },
105+
{ value: 'over150', title:'Over $150' },
71106
]
72107
},
73108
{
74109
icon: 'question',
75-
title: 'If you chose other, please detail your baseline testing standard',
76-
description: '(if applicable)',
77-
type: 'textbox',
78-
fieldName: 'details.security.baselineOther',
79-
required: false
80-
}
81-
110+
title: 'What language would you like to interact with the team?',
111+
description: '',
112+
fieldName: 'details.resources.hourlyrate',
113+
type: 'slide-radiogroup',
114+
options: [
115+
{ value: 'english', title:'English' },
116+
{ value: 'spanish', title:'Spanish' },
117+
{ value: 'german', title:'German' },
118+
{ value: 'japanese', title:'Japanese' },
119+
{ value: 'other', title:'Other' }
120+
]
121+
},
122+
{
123+
fieldName: 'details.resources.tooling',
124+
// required is not needed if we specifiy validations
125+
// required: true,
126+
description: 'Please List all project tools you normally interact with',
127+
title: 'Project Tools you utilize for interacting with developers',
128+
type: 'textbox'
129+
},
82130
]
83131
},
84132
{

0 commit comments

Comments
 (0)