Rocket.Chat icon indicating copy to clipboard operation
Rocket.Chat copied to clipboard

Omnichannel transfer comment is not wrapped to multiple lines

Open krenuser opened this issue 3 years ago • 28 comments

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:

  • Version of Rocket.Chat Server: 5.0.4
  • Operating System: Ubuntu 20.04
  • Deployment Method: docker
  • Number of Running Instances: 1
  • DB Replicaset Oplog: Enabled
  • NodeJS Version: v14.19.3
  • MongoDB Version: 5.0.11 / wiredTiger

Client Setup Information

  • Desktop App or Browser Version: Desktop 3.8.7
  • Operating System: Windows 10

Additional context

Relevant logs:

krenuser avatar Aug 29 '22 10:08 krenuser

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.

dudanogueira avatar Aug 31 '22 18:08 dudanogueira

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

vorbrodt avatar Sep 07 '22 07:09 vorbrodt

is anyone working on this issue?

sandeep13122002 avatar Sep 25 '22 19:09 sandeep13122002

@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!

dudanogueira avatar Oct 18 '22 18:10 dudanogueira

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

nishant23122000 avatar Nov 14 '22 16:11 nishant23122000

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

dudanogueira avatar Feb 23 '23 22:02 dudanogueira

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

coderboy-yash avatar Aug 12 '23 18:08 coderboy-yash

working on it :)

adityamaliyan avatar Oct 15 '23 12:10 adityamaliyan

Hi, @dudanogueira is the issue still open?

harshp0205 avatar Jan 01 '24 10:01 harshp0205

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

vaishnavi192 avatar Jan 06 '24 11:01 vaishnavi192

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

Gokulsankar-21 avatar Jan 16 '24 05:01 Gokulsankar-21

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!

himani-mehra avatar Aug 30 '24 09:08 himani-mehra

@MartinSchoeler @krenuser @nishant23122000 @adityamaliyan Is anyone working on or else i would like to work on it

aravind0543 avatar Oct 02 '24 16:10 aravind0543

I want to be part of this issue please assign it to me

iihimanshuu avatar Mar 05 '25 17:03 iihimanshuu

hey, if this issue is not being resolved. Can i work on this. I wanna contribute to open source

akshatajmera7 avatar Sep 09 '25 09:09 akshatajmera7

hi @krenuser can i work on this issue

Devnil434 avatar Oct 09 '25 13:10 Devnil434

hi

Pradhumnamalviya avatar Oct 27 '25 09:10 Pradhumnamalviya

Hi, @krenuser I'm a new contributor with a background in React and UI development. I'd like to try and fix this issue. Can you please assign it to me?

Kashika404 avatar Nov 03 '25 12:11 Kashika404

Hi @dudanogueira and @krenuser ,

I've submitted PR #37385 to address issue #26723 regarding the omnichannel transfer comment wrapping problem.

Changes implemented:

  • Updated CSS for .rcx-message-system__body to enable proper text wrapping
  • Transfer comments now wrap to multiple lines instead of being truncated with ellipsis
  • Implements the workaround suggested by @dudanogueira as a permanent solution

Status:

  • All automated checks are passing
  • Tested locally and verified the fix works as expected

Request for maintainers: Could you please review the changes and, if everything looks good:

  • Add the stat: QA assured label after testing
  • Assign to the appropriate milestone

Thank you @krenuser for reporting this issue, and thank you @dudanogueira for the initial workaround suggestion!

Looking forward to your feedback.

Yu-Hu-1909 avatar Nov 05 '25 10:11 Yu-Hu-1909

Hi, Can i work on this issue?

Aryangupta15 avatar Nov 08 '25 06:11 Aryangupta15

Hey, I’m Aakash. I’d like to work on this issue as a first-time contributor.
Can you please assign it to me?

finexaakash avatar Nov 09 '25 08:11 finexaakash

Hello, I want to take up this issue can I work on it

chandanpavan avatar Nov 19 '25 17:11 chandanpavan

@dudanogueira @MartinSchoeler @krenuser can you please go through this PR https://github.com/RocketChat/Rocket.Chat/pull/37530 and review it.

Pradyumn-Chaudhary avatar Nov 21 '25 14:11 Pradyumn-Chaudhary

can you please go through this PR

Please do not @ people trying to get attention. Duda doesn't even work at Rocket now.

You should also ask in open.rocket if the team actually want it fixed first.

Your post here refers.

https://open.rocket.chat/channel/support?msg=Cx6GtMRPhF8p5LL5X

reetp avatar Nov 21 '25 15:11 reetp

Hi, I would like to work on this issue as my first contribution. Could you please assign it to me if it’s still available?

RakshithaMH24 avatar Dec 04 '25 10:12 RakshithaMH24

Hi maintainers! I’d like to take this issue and work on fixing the text wrapping problem in the omnichannel transfer comment. Please assign it to me if no one else is working on it. Thanks!

Soham-0816 avatar Dec 05 '25 10:12 Soham-0816

Hi, I'm Pragati . I would like to work on this issue and fix the transfer comment text wrapping problem. can i start? Thankyou .

Pragati-cse avatar Dec 05 '25 13:12 Pragati-cse

Hi! I’m interested in working on this. Can someone confirm if this issue is still valid on the current develop branch?

SuyashJain17 avatar Dec 05 '25 19:12 SuyashJain17

Hi team I’m new to the Rocket.Chat codebase and would like to work on this issue. Could you please point me to the file/component where the omnichannel transfer comment is rendered? Thanks!

ShriyanshJaiswal01 avatar Dec 16 '25 04:12 ShriyanshJaiswal01