-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Optimizing the documentation for the customization of the webchat. #3526
Comments
@MatthiasGwiozda can you explain more on the user scenarios that you're trying to achieve? What specifically do you have to do today to achieve this? That'll help us understand more on what's missing on the docs. Thanks. |
I think we cover a pretty wide range of stuff that you can customize without forking the repository. You can customize it pretty wildly like one of our sample, https://microsoft.github.io/BotFramework-WebChat/06.recomposing-ui/c.smart-display/. Customizing the timestamp messageThere are two ways you can customize the timestamp message:
Inline suggested actionsFor the "inline suggested actions", it's possible through customizing Please vote on issue #3083. Customizing the send boxYou can look at this sample to recompose the UI.
We don't recommend forking the whole repository as you only need to customize a single component. Ideally, you should be able to copy the whole ScrollToEnd buttonWould love to understand what type of customization you would do over here. We recently reworked the button and found it is quite challenging to make it accessible. One thing you could consider is using composition mode, disable the scroll to end button, and rebuilt your own. |
Added this thread to our FAQ |
Here are some examples of what we tried to achieve: #3490 (comment)
while this might be true, it is not possible to "replace just a handful of components as needed" with every possible scenario. @compulim im not doubting that you implemented many customization - possibilities. But the sentence suggests that it is possible to replace every component as needed:
In some scenarios this is not true so an alternative optimization of the documentation's sentence could be: (Using business layers and some UI [...]) (In some cases it's necessary to fork the repository and pull our updates into your custom - WebChat). There could be a link to this question to give an example. |
Reopening this issue since there's continued discussion.. it's an extremely low cost to update one sentence in our documentation if that clarity will help a little. I'll assign this to myself, but I might not get to it right away. Since it's in our FAQ, hopefully other people will also come across it if they need the info. |
Feature Request
Is your feature request related to a problem? Please describe.
The feature request is based on this question.
Describe the suggestion or request in detail
I find that there is some informations missing in this documentation at point 3:
To replace some of the components it is necessary to fork the repository. It would be nice if someone could add the following information to this sentence:
(Using business layers and some UI [...]) (Its necessary to fork the repository and pull our updates into your custom - WebChat).
The text was updated successfully, but these errors were encountered: