# Code maintenance DREAM-697 - Migrate Border Box-based lists to BorderBoxListComponent

Project: Stream Design System
Status: closed
URL: https://community.openproject.org/work_packages/DREAM-697

## OPEN POINTS

_No work packages_

## Subtasks

| ID | Subject | Type | Status | Assignee | Project | Target versions |
| --- | --- | --- | --- | --- | --- | --- |
| DREAM-804 | Migrate meetings, costs and work package tab lists to BorderBoxList | Implementation | closed |  | Stream Design System | 17.8.0 |
| DREAM-803 | Migrate wiki, OAuth and project settings lists to BorderBoxList | Implementation | closed |  | Stream Design System | 17.8.0 |
| DREAM-802 | Migrate phase definitions and export template lists to BorderBoxList | Implementation | closed |  | Stream Design System | 17.8.0 |
| DREAM-801 | Extend BorderBoxList header API | Implementation | closed |  | Stream Design System | 17.8.0 |

## Details

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Designer |  |
| Developers | Alexander Coles |
| Requires doc change | No |
| Date | 2026-05-19 – 2026-05-20 |
| Priority | Medium |
| Target versions | 17.8.0 |
| Sprint |  |
| Backlog bucket |  |
| Module | Frontend components and Primer design system |
| Accessibility | Yes |
| List | a11y report 2026 |
| Labels |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| Work |  |
| Remaining work |  |

## Description

## Summary

Migrates list-shaped `Primer::Beta::BorderBox` / `border_box_container` usages to the shared `OpenProject::Common::BorderBoxListComponent`. Shipped as a stacked PR train, one child work package per slice: <mention class="mention" data-id="DREAM-801" data-type="work_package" data-text="#DREAM-801">#DREAM-801</mention> (shared API), <mention class="mention" data-id="78249" data-type="work_package" data-text="#DREAM-802" data-display-id="DREAM-802">\#DREAM-802</mention> , <mention class="mention" data-id="78250" data-type="work_package" data-text="#DREAM-803" data-display-id="DREAM-803">\#DREAM-803</mention> , <mention class="mention" data-id="78251" data-type="work_package" data-text="#DREAM-804" data-display-id="DREAM-804">\#DREAM-804</mention> .

## API changes

All exist solely to let the remaining consumers migrate — nothing more:

  - `header.with_title` — linked or composed title content inside the configured heading element.

  - `header.with_action_icon_button` — icon-only header actions.

  - Header/row menus via `BorderBoxListComponent::Menu` — automatic kebab trigger, customisable via `button_arguments:` or `menu.with_show_button`.

  - `empty_state_behavior:` policy — `:static` (default) renders the declared or generic blankslate only while a list is empty; `:none` suppresses it (grouped surfaces); `:dynamic` shows it client-side when filtering or drag-and-drop empties a list.

  - Headers keep a stable height when filtering hides their action buttons.

## Screens updated (in merge order)

  - <mention class="mention" data-id="DREAM-802" data-type="work_package" data-text="#DREAM-802">#DREAM-802</mention>: project phase definitions (admin), PDF export templates (type settings).

  - <mention class="mention" data-id="DREAM-803" data-type="work_package" data-text="#DREAM-803">#DREAM-803</mention>: wiki page links (work package tab), portfolios, OAuth applications (admin), project life cycle settings, project attributes settings (+ creation wizard), My account notifications.

  - <mention class="mention" data-id="DREAM-804" data-type="work_package" data-text="#DREAM-804">#DREAM-804</mention>: work package meetings tab, departments (admin), work package relations tab, meeting participants, cost types settings, resource allocations.

  - Landed independently earlier: enumerations (admin), workflows type list.

## Hints for QA

  - Migrated screens should look unchanged apart from consistent header/menu styling and the empty-state behavior below.

  - Filtering a list to no matches (Project attributes, Project life cycle settings, admin phase definitions) shows a blankslate inside the box — previously a bare box or a floating "No items found" line.

  - Administration → Work packages → Types: type groups without variants no longer show a blankslate row per group.

  - Headers with "Enable all / Disable all"-style actions keep their height while filtering hides the actions.

  - Backlogs sprint/backlog lists still show their drop-target blankslate immediately when the last card is dragged out.

## Remaining and out of scope

  - `MeetingAgendaItems::ListComponent` (the empty-meeting placeholder box) moved to <mention class="mention" data-id="DREAM-792" data-type="work_package" data-text="#DREAM-792">#DREAM-792</mention>: it renders only in the empty-meeting state that Work Package reworks, and needs the free-form empty-state slot from the <mention class="mention" data-id="DREAM-805" data-type="work_package" data-text="#DREAM-805">#DREAM-805</mention> follow-up line. No BorderBoxList candidates remain here.

  - Multi-column BorderBox lists are tracked by [DREAM-837](https://community.openproject.org/wp/DREAM-837), using the existing `OpPrimer::BorderBoxTableComponent` and `OpPrimer::BorderBoxRowComponent`. The follow-ups cover status administration [DREAM-839](https://community.openproject.org/wp/DREAM-839), document types [DREAM-840](https://community.openproject.org/wp/DREAM-840), storages [DREAM-841](https://community.openproject.org/wp/DREAM-841), wiki providers [DREAM-842](https://community.openproject.org/wp/DREAM-842), and project documents [DREAM-843](https://community.openproject.org/wp/DREAM-843). Shared sortable-table integration is [DREAM-838](https://community.openproject.org/wp/DREAM-838), coordinated with <mention class="mention" data-id="DREAM-671" data-type="work_package" data-text="#DREAM-671">#DREAM-671</mention>. A new DataTable is not a prerequisite.

  - Rich-header surfaces (admin project attributes sections, form-configuration groups, meeting sections) belong to the <mention class="mention" data-id="DREAM-671" data-type="work_package" data-text="#DREAM-671">#DREAM-671</mention> migration line — no further header-API growth here.

  - <mention class="mention" data-id="DREAM-802" data-type="work_package" data-text="#DREAM-802">#DREAM-802</mention> is closed, satisfying #DREAM-789's list-markup prerequisite. Document-type reordering remains in <mention class="mention" data-id="DREAM-789" data-type="work_package" data-text="#DREAM-789">#DREAM-789</mention>; its subsequent semantic-table migration is [DREAM-840](https://community.openproject.org/wp/DREAM-840). This parent and all four list-migration children remain closed.
