Skip to content

Commit cf77da2

Browse files
author
vikasrohit
authored
Merge pull request #1136 from appirio-tech/feature/watson_chatbot_fixes
Feature/watson chatbot fixes
2 parents 4a0c601 + 8c8d8f3 commit cf77da2

File tree

3 files changed

+7
-9
lines changed

3 files changed

+7
-9
lines changed

src/components/FooterV2/FooterV2.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import React from 'react'
2+
import moment from 'moment'
23
import './FooterV2.scss'
34

45
const FooterV2 = () => (
@@ -11,7 +12,7 @@ const FooterV2 = () => (
1112
<li><a href="https://connect.topcoder.com/terms">Terms</a></li>
1213
</ul>
1314
<div className="footer-copyright">
14-
Topcoder © 2016.
15+
Topcoder © { moment().format('YYYY') }.
1516
</div>
1617
</div>
1718
)

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

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -95,24 +95,21 @@ const sections = [
9595
},
9696
{
9797
icon: 'question',
98-
required: true,
99-
title: 'Will the chatbot need to access data from any systems to support the capabilities you listed above? If so, please list the systems below. (Change to text box)',
98+
title: 'Will the chatbot need to access data from any systems to support the capabilities you listed above? If so, please list the systems below.',
10099
description: '',
101100
type: 'textbox',
102101
fieldName: 'details.appDefinition.integrationSystems'
103102
},
104103
{
105104
icon: 'question',
106-
required: true,
107105
title: 'Do you have any example agent conversations you can provide? If so, please paste them or any links to documents below (you’ll be able to upload documents later).',
108106
description: '',
109107
type: 'textbox',
110108
fieldName: 'details.appDefinition.existingAgentScripts'
111109
},
112110
{
113111
icon: 'question',
114-
required: true,
115-
title: 'Are you planning to transfer conversations to human agents? If so, please list the agents’ communication tools (e.g., Slack, LiveAgent, Intercom, etc.)',
112+
title: 'Are you planning to transfer conversations to human agents? If so, please list the agents’ communication tools (e.g., Slack, LiveAgent, Intercom, etc.).',
116113
description: '',
117114
type: 'textbox',
118115
fieldName: 'details.appDefinition.transferToHumanAgents'
@@ -216,7 +213,7 @@ export const basicSections = [
216213
{
217214
icon: 'question',
218215
required: true,
219-
title: 'Will the chatbot need to access data from any systems to support the capabilities you listed above? If so, please list the systems below. (Change to text box)',
216+
title: 'Will the chatbot need to access data from any systems to support the capabilities you listed above? If so, please list the systems below.',
220217
description: '',
221218
type: 'textbox',
222219
fieldName: 'details.appDefinition.integrationSystems'
@@ -232,7 +229,7 @@ export const basicSections = [
232229
{
233230
icon: 'question',
234231
required: true,
235-
title: 'Are you planning to transfer conversations to human agents? If so, please list the agents’ communication tools (e.g., Slack, LiveAgent, Intercom, etc.)',
232+
title: 'Are you planning to transfer conversations to human agents? If so, please list the agents’ communication tools (e.g., Slack, LiveAgent, Intercom, etc.).',
236233
description: '',
237234
type: 'textbox',
238235
fieldName: 'details.appDefinition.transferToHumanAgents'

src/projects/detail/components/EditProjectForm.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ class EditProjectForm extends Component {
204204
/>
205205
<div className="section-footer section-footer-spec">
206206
<button className="tc-btn tc-btn-primary tc-btn-md"
207-
type="submit" disabled={(!this.isChanged() || this.state.isSaving) || anySectionInvalid}
207+
type="submit" disabled={(!this.isChanged() || this.state.isSaving) || anySectionInvalid || !this.state.canSubmit}
208208
>Save Changes</button>
209209
</div>
210210
</div>

0 commit comments

Comments
 (0)