BotFramework-WebChat icon indicating copy to clipboard operation
BotFramework-WebChat copied to clipboard

Suggestion: customizable header title via format options

Open shade33 opened this issue 9 years ago • 6 comments

I can do it. What do you think?

shade33 avatar Oct 26 '17 16:10 shade33

Interesting idea. I think it can be solved a few different ways already: changing the resource strings in Strings.ts, or just hiding the header with CSS and implementing your own HTML header. So the question is, how are you hosting the WebChat? Because the way you host it may determine the way you solve it. What's your scenario?

danmarshall avatar Oct 26 '17 17:10 danmarshall

We use our own build of the webchat code for some sites, so I want to have a way change header title outside the webchat code.

shade33 avatar Oct 26 '17 17:10 shade33

Since you have your own build, you can add a custom prop here, and then consume it here.

danmarshall avatar Nov 06 '17 22:11 danmarshall

I've done it for myself this way. But I think it can be usefull for others and can be commited to the main branch.

shade33 avatar Nov 07 '17 09:11 shade33

+1 for format options

marcel-ernst avatar Dec 12 '17 15:12 marcel-ernst

Fixed in #810.

compulim avatar Jun 15 '18 09:06 compulim