RocketChat / Rocket.Chat

The communications platform that puts data protection first.
https://rocket.chat/
Other
40.05k stars 10.34k forks source link

Omnichannel transfer comment is not wrapped to multiple lines #26723

Open krenuser opened 2 years ago

krenuser commented 2 years ago

Description:

When transferring omnichannel conversation to another agent with a comment, text is not wrapping to new line, going out of the line with "...".

Steps to reproduce:

  1. Agent A: Receive omnichannel conversation.
  2. Transfer it to agent B, leaving long text comment.
  3. See on agent B's chat non-wrapped text (rest of it is not visible).

Expected behavior:

Transfer comment text is wrapped to multiple lines if needed.

Actual behavior:

Transfer comment text is rendered in a single line, which is hidden behind the end of the line.

image

Server Setup Information:

Client Setup Information

Additional context

Relevant logs:

dudanogueira commented 2 years ago

Hi! Nice catch :)

As a dirty workaround, while we work on fixing this .... :see_no_evil: you can add this at ADMIN > GENERAL > LAYOUT > CUSTOM CSS:

div.rcx-message-system__body{
  white-space: pre-wrap !important;
}

It may affect other elements around, but at least will make the comments readable.

Thanks for pointing out. We really appreciate it.

vorbrodt commented 2 years ago

Is this being worked on? Otherwise, I would like to be assigned to it.

sandeep13122002 commented 1 year ago

is anyone working on this issue?

dudanogueira commented 1 year ago

@vorbrodt and @sandeep13122002, thanks for the interest!!

Please, instead of asking if there is anyone already working on the issue, you can go ahead and fix it.

If you have any doubts about how to achieve that, you ask at https://open.rocket.chat/channel/hacktoberfest

Thanks!

nishant23122000 commented 1 year ago

Hui @dudanogueira Can you please go through this PR https://github.com/RocketChat/fuselage/pull/891#issuecomment-1313759737 and put your thoughts? Thanks

dudanogueira commented 1 year ago

Hui @dudanogueira Can you please go through this PR https://github.com/RocketChat/fuselage/pull/891#issuecomment-1313759737 and put your thoughts? Thanks

Hi @nishant23122000 sorry for the delay here.

Added there my 2 cents

coderboy-yash commented 1 year ago

Hi, @dudanogueira is this issue still open I want to work on this issue. Can you please assign this to me?

adityamaliyan commented 11 months ago

working on it :)

harshp0205 commented 8 months ago

Hi, @dudanogueira is the issue still open?

vaishnavi192 commented 8 months ago

there is already one PR so is this issue open or not?

Gokulsankar-21 commented 8 months ago

i would like work on this issue. is this issue still open or not? @krenuser

himani-mehra commented 2 weeks ago

Hi @krenuser , I would love to take on this issue and contribute to the project. Could you please assign it to me if it's available? Looking forward to your response. Thanks!