microsoft / microsoft/BotFramework-WebChat

Horizontal conversation UI

Open
#4,502 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Bot Services customer-reported feature-request
Dominant language
HTML
Stars
1.8k
Forks
1.6k
Avg merge
22h 58m
Merged PRs (30d)
2

Description

Is your feature request related to a problem? Please describe.

Currently, the webchat scrolls top to bottom for every conversation and this works well. But after feedback from some of our prospects, what we heard is that a left to right scroll would be better for them with one conversation shown in the screen at a time (with previous and next buttons).

Just imagine it like a slider with previous and next buttons.

I was wondering how to implement the same in webchat

Describe the suggestion or request in detail

Ability to have webchat render conversations horizontally one at a time rather than vertically with previous and next buttons (like a slider)

Think of an interface like this where every slide is an adaptive card:
image

Describe alternatives you have considered

I looked into this repository: https://github.com/compulim/experiment-horizontal-scroll-into-view/ but I am not clear on how we would implement this for multiple conversations. Also, the slider still shows multiple conversations in the scroll bar which I dont need.

I was also thinking of not using Botframework Webchat library and rather use the adaptive card SDK to directly render the cards and add my own logic - but this is too complicated considering I am using all the hooks which the webchat SDK provides.

Additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the existing webchat conversation rendering and the referenced experiment-horizontal-scroll-into-view repository, then compare that approach with the adaptive card SDK and current Web Chat hooks. Done means conversations render one at a time horizontally with previous and next buttons, without showing multiple conversations in the scrollbar.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
frontend, web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.