Content
View differences
Updated by Oliver Günther about 5 hours ago
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 **As** a flat, ordered list \[enter role of all types. With sub-types it would become unreadable, so it needs a grouped layout.
**As an** instance administrator user\]
**I want to** see the Types index grouped by root type, with each root's sub-types in a collapsed sublist \[enter objective\]
**so that** I can scan all types at a glance and drill into a family's variations only when I need to. \[enter desired result\]
## Acceptance criteria **Acceptance criteria**
* The Types index lists root types as groups, ordered by position, each shown with its name and color.
<br>
**Technical notes**
* 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.
* Each sub-type row shows its variant label (composite name)
* TBD it possibly shows its reuse state per aspect (workflow, form, PDF and subject) as Linked or Independent.
* I can reorder root types among themselves and reorder sub-types within their parent group; 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) <br>
## Permissions **Permissions and visibility considerations considerations**
* **To _To whom is this feature visible?** Instance administrators (the existing global type administration). visible?_
* **When _When is it not visible?** Feature flag turned off, non-admin users. Project-owned sub-types appear here only for instance administrators visible?_
**Translation considerations**
* _Key terms and only once that separate feature ships. phrases in the key languages_
## Translation considerations **Out of scope**
* <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
_Set the_ **To be informed/consulted teams** _field 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>
## include all teams necessary to be informed of the changes._
**As an** instance administrator
**I want to** see the Types index grouped by root type, with each root's sub-types in a collapsed sublist
**so that** I can scan all types at a glance and drill into a family'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.
**Technical notes**
* A root group indicates how many sub-types it has, even while collapsed.
* Each sub-type row shows its variant label (composite name)
* TBD it possibly shows its reuse state per aspect (workflow, form, PDF and subject) as Linked or Independent.
* I can reorder root types among themselves and reorder sub-types within their parent group; 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)
## Permissions
* **To
* **When
**Translation considerations**
* _Key terms
## Translation considerations
<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
_Set the_ **To be informed/consulted teams** _field
##