[69203] Long project descriptions cause a weird layout on the new Overview
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
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 @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.
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