# Feature SPPM-35 - Project list: Truncate long text fields and disable expand action

Project: Stream Project Portfolio Management
Status: closed
URL: https://community.openproject.org/work_packages/SPPM-35

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | 13.4.0 |
| Votes |  |
| List |  |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

_No work packages_

## Use cases

_No work packages_

## Features and Chunks

_No work packages_

## Bugs and other work packages

_No work packages_

## Technical Details

| Attribute | Value |
| --- | --- |
| Module |  |
| Feature Flag |  |
| Requires doc change | Yes |
| Enterprise plan |  |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups |  |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Feature Lead |  |
| Developers |  |
| Designer | Parimal Satyal |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| PD (min) |  |
| PD (max) |  |
| Work |  |
| Labor costs |  |

## Description

### **Acceptance criteria**

In project lists (<mention class="mention" data-id="49687" data-type="work_package" data-text="#49687">#49687</mention>),

  - Rich text properties of the project can be added to the list
      - Those include
          - project description
          - project status description
          - project custom fields/attributes of the type long text
      - Limit displaying those inside the table to one line, truncate with ellipses (...) when necessary
          - If a preview cannot be generated for any reason (for example, if the the long text field contains only images), the text should be replaced with: "Preview not available." (followed by the Expand link)
      - Add "Expand" link at the end. Clicking this will display the full contents of the long text field in a modal
          - This behaviour is the same as when you click on "Expand" on a long text project attribute in Project overview (<mention class="mention" data-id="49688" data-type="work_package" data-text="#49688">#49688</mention>)
          - The title of the modal should be the attribute name.
      - (Implemented in <mention class="mention" data-id="51670" data-type="work_package" data-text="#51670">\#51670</mention> )All the fields are
          - selectable per project list
          - added to the list of default column in the administration stetting
  - Disable the expand/collapse action that displays project description
      - Remove the last column that contains the action
      - Limit each project to one line
      - (Implemented in <mention class="mention" data-id="51670" data-type="work_package" data-text="#51670">\#51670</mention> )Make the *project description* available as an attribute that can be added as a column instead.
          - selectable per project list
          - Added to the list of default column in the administration stetting

### Figma link

<https://www.figma.com/file/YCCMdJWkrtP9YSmf49Od0i/Project-lists?type=design&amp;node-id=1073-43025&amp;mode=design&amp;t=OrLb4dAap1pkCd1m-4>

###
