# Bug AGILE-190 - Improve backlogs "Show x more items" frontend performance

Project: Stream agile
Status: closed
URL: https://community.openproject.org/work_packages/AGILE-190

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 17.3.0 |
| Observed in versions |  |
| Sprint | 2. 17.4. scope - cleanup after 17.3. |
| Backlog bucket |  |
| Bug found in version (deprecated) |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers | Attila Dombi |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Effort (shirt size) |  |
| Work |  |
| Labor costs |  |

## Description

### Steps to reproduce

1.  Navigate to the backlog and have 500 work packages inside.
    
2.  Click the &quot;Show X more items&quot;
    
3.  The page load takes 9seconds including the frontend processing.
    

### What is the buggy behavior?

*   The frontend processing seems to take up the 2/3 rd of time completing the action.
    
*   Please see the attached screenshot.
    

### What is the expected behavior?

1.  Frontend processing should not take that much time.
    
2.  Seems like using a big number of &quot;backlog--story&quot; outlets causes the performance hit.
    

### Technical notes

*   Eliminate the use of &quot;backlog--story&quot; outlet in the `BacklogsController`.
    
*   The `StoryController` should be able to handle the same highlighting logic that is currently solved via the outlet.
    

<br>

### Screenshots and other files

<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/920358/content">

###
