Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some markdown messages are not wrapped if filename is too big #410

Open
sshveta opened this issue Feb 27, 2025 · 3 comments
Open

Some markdown messages are not wrapped if filename is too big #410

sshveta opened this issue Feb 27, 2025 · 3 comments

Comments

@sshveta
Copy link

sshveta commented Feb 27, 2025

Example Message :
Resolved task AnalyzerRuleViolation<loc=/home/sshveta/Work/applications/coolstore/src/main/java/com/redhat/coolstore/service/ShoppingCartOrderProcessor.java:0:-1, violation.id=javax-to-jakarta-import-00001>(priority=2(0), depth=1, retries=0).

Image

@sshveta
Copy link
Author

sshveta commented Feb 27, 2025

Another screenshot where message was not wrapped.

Image

@sjd78
Copy link
Member

sjd78 commented Mar 3, 2025

Note: In Konveyor-UI, we solved a similar issue by setting up / in a file path to be a valid breaking point with the <wbr /> tag. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/wbr.

Ideally the kai server would know if a string is a java package name or a file path in the message and be able to insert <wbr /> tags in the message instead of the extensions attempting to detect the same in a message processing step.

@djzager
Copy link
Member

djzager commented Mar 20, 2025

Can we confirm that this is still an issue?

I know a lot went into the formatting of updates from Kai and into our rendering of them with the chatbot dep PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants