Skip to content

Commit

Permalink
updated default task strings @FlexTSTemplatePlugin
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisberno committed Aug 27, 2024
1 parent a32375d commit c559c5a
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
Empty file.
6 changes: 6 additions & 0 deletions plugin-flex-ts-template-v2/src/FlexTSTemplatePlugin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,11 @@ export default class FlexTSTemplatePlugin extends FlexPlugin {
*/
init(flex: typeof Flex, manager: Flex.Manager) {
initFeatures(flex, manager);
flex.MainHeader.defaultProps.logoUrl = 'https://i.postimg.cc/7ZPsMhyH/connie-contact-rtc-logo-tm.png';
manager.strings.NoTasks = 'There are no active tasks Hooray!';
manager.strings.TaskHeaderLine = '{{task.attributes.skill}}';
manager.strings.TaskLineCallReserved = 'From: {{task.attributes.customerAddress}}';
manager.strings.TaskLineSmsReserved = 'From: {{task.attributes.customerAddress}}';
manager.strings.TaskLineChatReserved = 'From: {{task.attributes.customerAddress}}';
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const stringHook = () => ({
[StringTemplates.DispositionTab]: 'Disposition',
[StringTemplates.SelectDispositionTitle]: 'Select a disposition',
[StringTemplates.SelectDispositionHelpText]: 'The selected disposition will be saved when you complete this task.',
[StringTemplates.NotesTitle]: 'Notes',
[StringTemplates.NotesTitle]: 'Agent Notes',
[StringTemplates.NotesCharactersRemaining]: '{{characters}} characters remaining',
[StringTemplates.ChooseAnOption]: 'Choose an option',
[StringTemplates.ChooseOptions]: 'Choose one or more options',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ export enum StringTemplates {

export const stringHook = () => ({
'en-US': {
[StringTemplates.ParkSuccess]: 'The conversation is now parked.',
[StringTemplates.ParkSuccess]: 'The task is now parked.',
[StringTemplates.ParkError]: 'An error occurred while attempting to park the conversation: {{message}}',
[StringTemplates.ParkInteraction]: 'Park interaction',
[StringTemplates.WebhookError]: 'Invalid webhook URL. Parking is not supported when running locally.',
[StringTemplates.NonCbmError]: 'Parking is only available for conversation-based messaging tasks.',
[StringTemplates.MultipleParticipantsError]:
'This conversation cannot be parked because there are multiple internal participants.',
'This task cannot be parked because there are multiple internal participants.',
[StringTemplates.ParkedInteractions]: 'Parked Interactions',
[StringTemplates.UnparkSuccess]: 'The conversation is now unparked.',
[StringTemplates.UnparkGenericError]: 'An error occurred while attempting to unpark the conversation: {{message}}',
Expand Down

0 comments on commit c559c5a

Please sign in to comment.