Skip to content

Extra newlines and blank text responses returned by Conversation #736

@redbrogdon

Description

@redbrogdon

Describe the bug
In my demo app (https://github.com/redbrogdon/workout_buddy), I've wired up ConversationContentReceived messages from the Conversation so they're displayed as snackbars. Many of the messages include unnecessary newlines at the beginning or end, and sometimes I'll get a message that's just a newline with no other content.

To Reproduce

  • Clone and run the app
  • Enter "Leg day workout!" in the text field and tap Send
  • Watch the snackbars that appear

Expected behavior
Ideally the content strings would be trimmed, and empty strings would be filtered out of the stream entirely.

Metadata

Metadata

Assignees

Labels

front-line-handledCan wait until the second-line triage. The front-line triage already checked if it's a P0.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions