roos-fs tasks #269
Updated by Vadim Pariev 9 months ago
**Currently, the Service Description field in the services list table has no effective length constraint, resulting in extremely long entries that break the layout and hurt readability.**
<img style="width: 1600px;" src="clipboard-202508061650-nmc0j.png"><br>
<img style="width: 1600px;" src="clipboard-202508061651-accsg.png"><br>
Required Implementation
- Apply a frontend restriction on the visible portion of the service description in the table.
- If the description exceeds 35 words, it should be truncated in the table view with an ellipsis (…)
- The full description must still be fully visible in the service details page
Expected Result:
In the services list table:
- Only the first 35 words of a long description are shown.
- If the description exceeds 35 words, it should be truncated in the table view with an ellipsis (…)
- The layout remains clean and consistent.
- Exisitng table columns sizing feature ramains intackt.
On the service detail page:
- The full description is shown without truncation.
- All existing services with long descriptions are automatically affected — no manual data cleanup required.
- Localization and formatting inside the description must remain intact (e.g., bullet points, line breaks if used).