theopenconversationkit / theopenconversationkit/tock-react-kit

openingMessage doesn't work

Open
#170 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
23
Forks
23
Avg merge
5m
Merged PRs (30d)
1

Description

When we use openingMessage, it seem that the message is not send to Bot api.

We try that but nothing seems to append

<ChatIt
                endPoint={urlConfig.chatIt.url}
                openingMessage="Random message"
 />

Normally we should have a bot response , but we got nothing

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 at the ChatIt component usage shown in the issue and trace how the openingMessage prop is handled when the widget initializes. Reproduce with the provided urlConfig.chatIt.url and openingMessage="Random message", then verify whether a request reaches the bot API and whether a response is displayed. Done means the opening message produces the expected bot response.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.