Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 3 additions & 9 deletions src/components/ProjectType/ProjectType.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import _ from 'lodash'
import React, {PropTypes} from 'react'
import './ProjectType.scss'
import PanelProject from '../PanelProject/PanelProject'
import TextTruncate from 'react-text-truncate'
import { findCategory } from '../../config/projectWizard'
import {Link} from 'react-router'

const deviceMap = {
Expand All @@ -13,19 +15,11 @@ const deviceMap = {
'android-watch': <div key="ANDROID_WEAR" className="icon icon-android-wear">Android Watch</div>
}

/*eslint-disable camelcase */
const typeMap = {
app_dev: 'Design & Development Project',
generic: 'Work Project', // needed for backward compatibility with templates < v1.1
visual_design: 'Visual Design Project',
visual_prototype: 'Visual Prototype Project'// needed for backward compatibility with templates < v1.1
}

/*eslint-enable camelcase */
const ProjectType = ({projectId, type, description, devices}) => (
<PanelProject>
<PanelProject.Heading>
{typeMap[type]}
{ _.get(findCategory(type), 'name', '') }
</PanelProject.Heading>
<TextTruncate
containerClassName="project-description"
Expand Down
30 changes: 15 additions & 15 deletions src/config/projectQuestions/real_world_testing.v1.0.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,31 +127,31 @@ const sections = [
{
icon: 'question',
id: 'testingNeeds.description',
fieldName: 'description',
fieldName: 'details.testingNeeds.description',
description: '',
title: 'Please describe your website and/or application.',
type: 'textbox'
},
{
icon: 'question',
id: 'testingNeeds.inScope',
fieldName: 'In Scope',
fieldName: 'details.testingNeeds.inScope',
description: '',
title: 'Please describe which features or components are in-scope in this testing effort.',
type: 'textbox'
},
{
icon: 'question',
id: 'testingNeeds.outOfScope',
fieldName: 'Out of Scope',
fieldName: 'details.testingNeeds.outOfScope',
description: '',
title: 'Are any features or components out of scope? If yes, please describe.',
type: 'textbox'
},
{
icon: 'question',
id: 'testingNeeds.duration',
fieldName: 'Duration',
fieldName: 'details.testingNeeds.duration',
description: '',
title: 'Do you have a specific timeline for testing? If so, please provide approximate start and end dates.',
type: 'textbox'
Expand All @@ -168,23 +168,23 @@ const sections = [
{
icon: 'question',
id: 'testerDetails.demographics',
fieldName: 'demographics',
fieldName: 'details.testerDetails.demographics',
description: '',
title: 'Do you have preferred demographics you would like to target?',
type: 'textbox'
},
{
icon: 'question',
id: 'testerDetails.geographies',
fieldName: 'Geographies',
fieldName: 'details.testerDetails.geographies',
description: '',
title: 'Would you like to target any specific geographies?',
type: 'textbox'
},
{
icon: 'question',
id: 'testerDetails.skills',
fieldName: 'Skills',
fieldName: 'details.testerDetails.skills',
description: '',
title: 'Are any specific skills required to test your application? If so, please list them.',
type: 'textbox'
Expand All @@ -201,23 +201,23 @@ const sections = [
{
icon: 'question',
id: 'testEnvironment.environmentDetails',
fieldName: 'Environment Details',
fieldName: 'details.testEnvironment.environmentDetails',
description: '',
title: 'Do you have a version of the application available for testers to access? If so, please provide details. Details can include a test URL, access information, etc.',
type: 'textbox'
},
{
icon: 'question',
id: 'testEnvironment.assets',
fieldName: 'Assets',
fieldName: 'details.testEnvironment.assets',
description: '',
title: 'Are any test assets available? For exmaple: test plan, test scenario, test scripts, test data.',
type: 'textbox'
},
{
icon: 'question',
id: 'testEnvironment.other',
fieldName: 'Other Information',
fieldName: 'details.testEnvironment.otherInformation',
description: '',
title: 'Are there any other specific details related to the environment you can share?',
type: 'textbox'
Expand All @@ -234,23 +234,23 @@ const sections = [
{
icon: 'question',
id: 'targetApplication.description',
fieldName: 'Description',
fieldName: 'details.targetApplication.description',
description: '',
title: 'Please describe your application.',
type: 'textbox'
},
{
icon: 'question',
id: 'targetApplication.platform',
fieldName: 'Platform',
fieldName: 'details.targetApplication.platform',
description: '',
title: 'Please list all platforms the application should be tested on.',
type: 'textbox'
},
{
icon: 'question',
id: 'targetApplication.training',
fieldName: 'Training',
fieldName: 'details.targetApplication.training',
description: '',
title: 'Does the application require training to utilize it properly? If so, are you able to provide these inputs?',
type: 'textbox'
Expand All @@ -266,15 +266,15 @@ const sections = [
{
icon: 'question',
id: 'preferences.suggestions',
fieldName: 'Usability Suggestions',
fieldName: 'details.cyclePreferences.usabilitySuggestions',
description: '',
title: 'Would you like usability suggestions included in the issue report?',
type: 'textbox'
},
{
icon: 'question',
id: 'preferences.omissions',
fieldName: 'Omissions',
fieldName: 'details.cyclePreferences.omissions',
description: '',
title: 'Are there any types of defects you would like ommitted from issue reports?',
type: 'textbox'
Expand Down