microsoft / microsoft/BotFramework-WebChat

Move user ID into options of DirectLineJS, instead of Web Chat

Open
#3,538 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

backlog feature-request p2 technical-debt
Dominant language
HTML
Stars
1.8k
Forks
1.6k
Avg merge
22h 58m
Merged PRs (30d)
2

Description

Feature Request

"TODO" comment in DirectLineSpeech.js, line 72, states:

// Currently, Web Chat set user ID on all outgoing activities.
// As Direct Line Speech maintains its own user ID, Web Chat should not set the user ID.
// TODO: [P2] We should move user ID into options of DirectLineJS, instead of Web Chat.

Doing so would enable userID accessible and would produce parity with the Direct Line implementation.

Additional context

Related to #3495, Cx is requesting access to both the userID and username properties normally available in renderWebChat.

[Enhancement]

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 with the TODO in packages/directlinespeech/src/DirectLineSpeech.js around line 72, then inspect how DirectLineJS options and Web Chat's renderWebChat userID and username are handled. Compare the Direct Line implementation and related issue #3495; done means userID is available through DirectLineJS options with parity for Direct Line Speech.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.