Skip to content
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

Vertical stacking for SuggestedActions #1835

Closed
pradeeprajendran opened this issue Mar 24, 2019 · 6 comments · Fixed by #2596
Closed

Vertical stacking for SuggestedActions #1835

pradeeprajendran opened this issue Mar 24, 2019 · 6 comments · Fixed by #2596
Labels
backlog Out of scope for the current iteration but it will be evaluated in a future release. front-burner needs-design-input UX/UI design item p2 Nice to have

Comments

@pradeeprajendran
Copy link

Is there a way to stack suggested actions be vertically stacked instead of a 'wrap around' carousel? If not, can there be one in the future? :)

@corinagum
Copy link
Contributor

Hi @pradeeprajendran, Do you want the suggested action to be stacked vertically? Or do you want the non-fitting suggested actions in the horizontal display to stack?

If you mean the former, have you considered using Hero card card actions? This will make the list vertical and be sent as a 'normal' activity. Otherwise I don't believe this is a feature Web Chat wants to support. There are a lot of UX considerations that make changing the stacking procedure complicated. That discussion has just been filed and can be tracked on #1839. However, you can implement your own components. Please take a look at 10.a.customization-card-components

If you mean the latter, where the left and right flippers will no longer be necessary, but the buttons will list horizontally and stack vertically if it does not fit on the first line, then this is a feature we have not yet considered. I am adding design to see if this is a customization we want to implement.

@pradeeprajendran
Copy link
Author

Hey @corinagum thanks for the response. I was thinking Hero cards but want to leverage the "retry prompts" for suggested actions instead. I do like the idea of buttons listing horizontally and then will stack vertically if it doesn't fit in the first line. The left and right flippers can be a bit UX unfriendly for mobile users.

@corinagum corinagum added backlog Out of scope for the current iteration but it will be evaluated in a future release. and removed Pending labels Apr 1, 2019
@Kaiqb Kaiqb added the Customer label Jul 23, 2019
@sgellock sgellock removed the Customer label Aug 8, 2019
spyip added a commit to spyip/BotFramework-WebChat that referenced this issue Nov 14, 2019
spyip added a commit to spyip/BotFramework-WebChat that referenced this issue Nov 21, 2019
corinagum pushed a commit that referenced this issue Nov 22, 2019
* Fix #1835 to verical stacking for SuggestedActions

* Update CHANGELOG.cm

* Fix eslint
@corinagum corinagum mentioned this issue Dec 13, 2019
73 tasks
@Unders0n
Copy link

Guys any update on this? I would appreciate any of the solutions (stacking and just vertical) , the one that implemented now i think is the worst. Can we have an option to make this without herocards?

@corinagum
Copy link
Contributor

@Unders0n vertical stacking has been available since 4.7. Please feel free to use it!

@Unders0n
Copy link

Unders0n commented Sep 3, 2020

@corinagum can you please guide me on how to do that (if that's important - for webchat control). Wasn't able to google that

@corinagum
Copy link
Contributor

@Unders0n please take your implementation questions to Stack Overflow. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog Out of scope for the current iteration but it will be evaluated in a future release. front-burner needs-design-input UX/UI design item p2 Nice to have
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants