openproject icon indicating copy to clipboard operation
openproject copied to clipboard

[69203] Long project descriptions cause a weird layout on the new Overview

Open HDinger opened this issue 2 months ago • 3 comments

Ticket

https://community.openproject.org/wp/69203

What are you trying to accomplish?

Use shortened display representation of long texts in:

  • project description widget
  • project status explanation widget
  • portfolio description in portfolio overview

Screenshots

Bildschirmfoto 2025-12-03 um 08 58 41

HDinger avatar Dec 03 '25 07:12 HDinger

I read my message again and want to clarify: from my perspective, the placement of the expansion button is only a nitpick and no reason to reject the PR. It is a big improvement over the previous solution, which looked broken for some descriptions. The new one is much better 😁

The reason for my rejection is the status explanation crash, as it renders (haha) the overview page dysfunctional in some cases.

EinLama avatar Dec 03 '25 09:12 EinLama

@EinLama @bsatarnejad I fixed most of your remarks except for the placement of the button. For that, I am not sure how to solve that easily because I am rather sure, that the placement at the end of the line is wanted in certain cases. So I'd exclude that for this PR, if it is okay for you.

HDinger avatar Dec 04 '25 09:12 HDinger

My original issue was fixed, nice! Thanks for this.

While clicking through some projects/portfolios, I noticed that the description of one of them is not shown in the widget. I guess that is the goal of this bugfix? But I was surprised when my description was completely hidden and only visible to me once I clicked onto the ... button. This makes longer descriptions feel... useless? 😅 Is it an option to show a preview of the first few lines here like it is done in the portfolio list? EDIT: or free up space by shrinking the project status section down? Right now it's pretty big.

Navigating to the dashboard, I encountered an error. Not sure if in-scope for this PR.

https://github.com/user-attachments/assets/3483ce07-ca8c-4bba-b1f3-db449a71e863

EinLama avatar Dec 05 '25 16:12 EinLama