edgafner / dorkag

Issue Tracker repository for all Dorkag plugins
Other
6 stars 0 forks source link

[BUG]: Pull request timeline content problems in IntelliJ AZD #170

Open anttilalauri opened 3 days ago

anttilalauri commented 3 days ago

Describe the bug In the Pull Request timeline view, the text for content such as comments and events is restricted to a fixed maximum width that does not scale with the IntelliJ UI size when maximized (e.g., full-screen mode). While the text width adjusts when reducing the UI size, it stops scaling once the text area reaches approximately 500px. Additionally, line breaks and indentation in comments are removed (replaced with spaces), making it difficult to read properly formatted content like pseudocode when pasted as plain text.

To Reproduce

  1. Open a Pull Request timeline view in IntelliJ. Ensure the PR contains a comment with at least ~300 characters.
  2. Resize the IntelliJ UI smaller, and observe that the text area scales down appropriately.
  3. Resize the IntelliJ UI larger and note that the text area stops scaling once it reaches 500px. This issue is particularly noticeable on 4K displays with 100% scaling.
  4. Add a comment to the PR in Azure DevOps, including line breaks and indentation.
  5. View the comment in the IntelliJ Pull Request timeline and note that line breaks and formatting are removed.

Expected behavior Text area width is not limited to 500px. Line breaks etc are not removed but displyed as seen in Azure DevOps.

Desktop (please complete the following information):

JetBrains IDE (please complete the following information):

Jonatha1983 commented 3 days ago

Hi @anttilalauri will try to reproduce thanks for reporting.