# Feature AUTOWORK-72 - Grouped types index page

Project: Stream Workflows & Automations
Status: closed
URL: https://community.openproject.org/work_packages/AUTOWORK-72

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | High |
| Target versions | 18.0.0 |
| Sprint |  |
| Backlog bucket |  |
| Votes |  |
| List |  |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

| ID | Subject | Status | Decision |
| --- | --- | --- | --- |
| AUTOWORK-108 | Does the index page show reuse state? How? | decided | No extra info about reuse state is displayed in the index page |

## Use cases

_No work packages_

## Features and Chunks

| ID | Subject | Type | Status | Assignee | Target versions | Spent time |
| --- | --- | --- | --- | --- | --- | --- |
| AUTOWORK-105 | Add "Duplicate" to the action menu for types in types index page | Implementation | closed |  | 18.0.0 |  |
| AUTOWORK-106 | Add option to create variant to action menu for root types | Implementation | closed |  | 18.0.0 |  |
| AUTOWORK-107 | Add filters in types index page | Feature | tested |  | 18.0.0 |  |
| AUTOWORK-115 | Make types index page action menus async | Implementation | closed |  | 18.0.0 |  |
| AUTOWORK-135 | Display pill for default type/variant | Implementation | closed |  | 18.0.0 |  |

## Bugs and other work packages

| ID | Type | Subject | Status | Assignee | Target versions | Spent time | Module |
| --- | --- | --- | --- | --- | --- | --- | --- |
| AUTOWORK-104 | Code maintenance | Update `BorderBoxListComponent` to be more flexible | closed |  | 17.8.0 |  |  |

## Technical Details

| Attribute | Value |
| --- | --- |
| Module | Administration / Type/Variants and Workflows |
| Feature Flag |  |
| Requires doc change | Yes |
| Enterprise plan | Community (COM) |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups | https://www.figma.com/design/Q5gKSjtWQpAz4wjArQ2U5R/Fundamentals--Sub-types?node-id=398-42469&t=hn3sj0ZicbUUSkdZ-4 |
| Build Number |  |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Feature Lead | Oliver Günther |
| Developers | OP Dev Sirius Team |
| Designer | Marc Alcobé |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| PD (min) |  |
| PD (max) |  |
| Work | 6d 0h · Σ 6d 0h |
| Labor costs |  |

## Description

This is the **global type administration index page**, not the end-user presentation (which is [Feature 4](https://community.openproject.org/feature-4-transparent-presentation.md)). Today that page is a flat, ordered list of all types. With sub-types it would become unreadable, so it needs a grouped layout.

**As an** instance administrator  
**I want to** see the Types index grouped by root type, with each root's sub-types in a collapsed list  
**so that** I can scan all types at a glance and drill into a type's variations only when I need to.

## Acceptance criteria

  - The types index lists root types as groups, ordered by position, each shown with its name and color.

  - Each root group has a collapsed sublist of its sub-types, which I can expand and collapse. The sublist is collapsed by default.

  - A root group indicates how many sub-types it has, even while collapsed.

  - The root types can be reordered through drag & drop and menu items

  - Sub-types are *always* sorted alphabetically

  - A sub-type cannot be moved out of its family.

  - I can create a sub-type directly from within a root group, and edit or delete an existing one from its row.

  - A root type with no sub-types renders as a plain group with an empty (or omitted) sublist, so the page is unchanged in spirit for instances that do not use sub-types.

  - TBD A project-owned sub-type would be shown her with its owning project as a label (see project specific feature) - <mention class="mention" data-id="77216" data-type="work_package" data-text="##FND-142" data-display-id="FND-142">\#\#FND-142</mention>

## Permissions and visibility considerations

  - **To whom is this feature visible?** Instance administrators (the existing global type administration).

  - **When is it not visible?**
    
      - Feature flag turned off
    
      - non-admin users.
    
      - Project-owned sub-types appear here only for instance administrators and only once that separate feature is available.

## Translation considerations

<br>

<figure class="table op-uc-figure_align-center op-uc-figure"><table class="op-uc-table"><thead class="op-uc-table--head"><tr class="op-uc-table--row"><th class="op-uc-table--cell op-uc-table--cell_head"><p class="op-uc-p">English</p></th><th class="op-uc-table--cell op-uc-table--cell_head"><p class="op-uc-p">German</p></th><th class="op-uc-table--cell op-uc-table--cell_head"><p class="op-uc-p">French (verify)</p></th><th class="op-uc-table--cell op-uc-table--cell_head"><p class="op-uc-p">Spanish (verify)</p></th></tr></thead><tbody><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p">Sub-types</p></td><td class="op-uc-table--cell"><p class="op-uc-p">Untertypen</p></td><td class="op-uc-table--cell"><p class="op-uc-p">Sous-types</p></td><td class="op-uc-table--cell"><p class="op-uc-p">Subtipos</p></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p">{{count}} sub-types</p></td><td class="op-uc-table--cell"><p class="op-uc-p">{{count}} Untertypen</p></td><td class="op-uc-table--cell"><p class="op-uc-p">{{count}} sous-types</p></td><td class="op-uc-table--cell"><p class="op-uc-p">{{count}} subtipos</p></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p">Show sub-types</p></td><td class="op-uc-table--cell"><p class="op-uc-p">Untertypen anzeigen</p></td><td class="op-uc-table--cell"><p class="op-uc-p">Afficher les sous-types</p></td><td class="op-uc-table--cell"><p class="op-uc-p">Mostrar subtipos</p></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p">Hide sub-types</p></td><td class="op-uc-table--cell"><p class="op-uc-p">Untertypen ausblenden</p></td><td class="op-uc-table--cell"><p class="op-uc-p">Masquer les sous-types</p></td><td class="op-uc-table--cell"><p class="op-uc-p">Ocultar subtipos</p></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p">Add sub-type</p></td><td class="op-uc-table--cell"><p class="op-uc-p">Untertyp hinzufügen</p></td><td class="op-uc-table--cell"><p class="op-uc-p">Ajouter un sous-type</p></td><td class="op-uc-table--cell"><p class="op-uc-p">Añadir subtipo</p></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p">Independent</p></td><td class="op-uc-table--cell"><p class="op-uc-p">Unabhängig</p></td><td class="op-uc-table--cell"><p class="op-uc-p">Indépendant</p></td><td class="op-uc-table--cell"><p class="op-uc-p">Independiente</p></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p">Linked to {{type}}</p></td><td class="op-uc-table--cell"><p class="op-uc-p">Verknüpft mit {{type}}</p></td><td class="op-uc-table--cell"><p class="op-uc-p">Lié à {{type}}</p></td><td class="op-uc-table--cell"><p class="op-uc-p">Vinculado a {{type}}</p></td></tr></tbody></table></figure>

##
