Content
View differences
Updated by Oliver Günther about 2 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 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 sublist
**so that** I can scan all types at a glance and drill into a type's family's variations only when I need to.
## Acceptance criteria
* The types 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.
* 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 and visibility considerations
* **To whom is this feature visible?** Instance administrators (the existing global type administration).
* **When is it not visible?**
* visible?** Feature flag turned off
* off, non-admin users.
* Project-owned sub-types appear here only for instance administrators and only once that separate feature is available.
ships.
## 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>
##
**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
## Acceptance criteria
* The types
* 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
* 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 and visibility considerations
* **To whom is this feature visible?** Instance administrators (the existing global type administration).
* **When is it not visible?**
*
*
* Project-owned sub-types appear here only for instance administrators and only once that separate feature is available.
<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>
##