Skip to content

Commit 7c4046e

Browse files
author
vikasrohit
authored
Merge pull request #1602 from appirio-tech/hotfix/ibm_watson_chatbot_newfields
Hotfix/ibm watson chatbot newfields
2 parents ec2c06e + 120d6d6 commit 7c4046e

File tree

2 files changed

+39
-1
lines changed

2 files changed

+39
-1
lines changed

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

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,25 @@ const sections = [
6868
{value: 'false', label: 'No'}
6969
]
7070
},
71+
{
72+
icon: 'question',
73+
required: true,
74+
title: 'Does your organization currently have a chatbot?',
75+
description: '',
76+
type: 'radio-group',
77+
fieldName: 'details.appDefinition.hasChatbot',
78+
options: [
79+
{value: 'true', label: 'Yes'},
80+
{value: 'false', label: 'No'}
81+
]
82+
},
83+
{
84+
icon: 'question',
85+
title: 'If yes, can you provide some brief specifics about your current chatbot?',
86+
description: '',
87+
type: 'textbox',
88+
fieldName: 'details.appDefinition.existingChatbotDesc'
89+
},
7190
{
7291
icon: 'question',
7392
title: 'What capabilities does the chatbot need to support?',
@@ -179,6 +198,25 @@ export const basicSections = [
179198
{value: 'false', label: 'No'}
180199
]
181200
},
201+
{
202+
icon: 'question',
203+
required: true,
204+
title: 'Does your organization currently have a chatbot?',
205+
description: '',
206+
type: 'radio-group',
207+
fieldName: 'details.appDefinition.hasChatbot',
208+
options: [
209+
{value: 'true', label: 'Yes'},
210+
{value: 'false', label: 'No'}
211+
]
212+
},
213+
{
214+
icon: 'question',
215+
title: 'If yes, can you provide some brief specifics about your current chatbot?',
216+
description: '',
217+
type: 'textbox',
218+
fieldName: 'details.appDefinition.existingChatbotDesc'
219+
},
182220
{
183221
icon: 'question',
184222
required: true,

src/config/projectWizard/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const products = {
4848
formDesclaimer: 'IBM is receiving compensation from Topcoder for referring customers to IBM Watson Conversation Service.',
4949
icon: 'product-chatbot-watson',
5050
id: 'watson_chatbot',
51-
aliases: ['watson_chatbot'],
51+
aliases: ['watson_chatbot', 'watson-chatbot'],
5252
hidden: true
5353
},
5454
Chatbot: {

0 commit comments

Comments
 (0)