-
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
Feature Request: Hide send box input without hiding suggested actions #2427
Comments
To me it doesn't seem 'right' to have typing indicator and connectivity status inside of the send box, but move suggested actions outside of the send box. Thoughts? |
I agree that if suggested actions are moved out of the send box we should also move the typing indicator and the connectivity status. Issue #2323 is a DCR to encapsulate the typing indicator and the connectivity status components in a notification center. Does it make sense to also have the notification center include suggest actions and have all three sit in a component above the send box? |
I've had this discussion before with @compulim and we've gone back and forth about whether or not suggested actions should be inside the send box. I think it's logical to be in the sendbox itself and removing it doesn't seem correct to me. Is there a customer ask for this? If not, I'd say making the switch is lower priority because we don't have users requesting this kind of change. |
Yes, a customer asked a question on SO about hiding the send box while maintaining Suggested Actions. |
Alright, sounds good. Let's see what kind of traction we get on this, and go from there. If anyone is looking for this feature, please add your +1 to this thread so we know that people want this feature. |
+1 |
Can you please let me know what package should I use for useState and createStore. I am using angular to host webchat? Thank you! |
Hi @arman-g Are you asking whether you should you use CDN or NPM?
|
Hi @corinagum thank you for your response. I am using the WebChat CDN inside angular project. I was wondering if I could hide the send input box if a suggestion action is shown not allowing the user to input text but force them to select from the suggestions. |
Hi @arman-g, first let me apologize. I said that hooks are not available in CDN but that's not true. Heavier customization like recomposing the UI would require a React project, but using hooks that are already available is achievable in CDN. Based on this conversation, creating your own components is what you're looking for to achieve the above before this feature is implemented. Take a look at our plain-ui sample for a little more guidance on creating your own components. I missed the I'm not sure that TJ's code above is a workaround, I think it's just an example of hiding the send box, and how hiding that will also prevent Suggested Actions and Connectivity Status from being visible. |
@corinagum, thank you for the clarification! I was looking for this hook and I am so glad that webchat supports it in CDN. I will defiantly look into plain-ui. |
Please see https://github.com/microsoft/BotFramework-WebChat/tree/master/packages/component/src/hooks to learn more about what hooks are currently available (in master bits). Hooks are not yet released in latest on CDN, but you can look into MyGet to test latest bits.
|
Is there an update on this yet? 'hideSendBox' flag is also hiding the suggested actions. |
No update yet :) |
Is there a workaround for this? |
@sw353552 I hide the sendbox with jQuery on the host app. There are three very important middlewares that are not documented anywhere which you could possibly use for this. I use CDN and those middlewares are essential for me to interact with chatbot activity. Below is the list of the middlewares: my implementation below using attachmentMiddleware:
|
+1 |
+1 |
1 similar comment
+1 |
Feature Request
Describe the suggestion or request in detail
At the moment, customers can hide the Send Box through Web Chat's style options; however, the
hideSendBox
option also hides suggested actions. It would be beneficial to have the ability to hide the side box while still displaying the suggested action so that the user has to select one of the actions to continue the conversation.The
SuggestedActions
component would have to be moved outside of theSendBox
to accomplish this.Describe alternatives you have considered
Additional context
Original ask here: https://stackoverflow.com/questions/58116813/while-showing-button-choices-at-that-time-i-need-to-hide-sendbox-in-bot-framewo/
Ideally customers should be able to hide or disable the input field when Web Chat is displaying suggested actions. The code below is functional, but it also hides suggested actions.
[Enhancement]
[Edit by @corinagum]
Please add +1 to this thread if this is something you are looking to have available in your version of Web Chat.
The text was updated successfully, but these errors were encountered: