microsoft / microsoft/azurechat

Newlines disappearing in chat window

Open
#230 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
1.4k
Forks
1.3k
Avg merge
1d 11h
Merged PRs (30d)
1

Description

If I submit a message that contains newlines, they are removed from the chat window once the message is submitted.
Would it be possible to change that behavior?
As I am not a React expert, any pointers to the location in the code would also be helpful.

Thanks!

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 locating the React component that renders submitted messages in the chat window and inspect how message text is displayed. Reproduce the issue with a message containing newlines, then verify that the submitted message preserves those line breaks in the chat window.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.