# Design Task AUTOWORK-187 - UX for project-owned type variants

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

## Related work

_No work packages_

## Design

| Attribute | Value |
| --- | --- |
| Mockups | https://www.figma.com/design/Q5gKSjtWQpAz4wjArQ2U5R/Fundamentals--Type-variants--sub-types-?node-id=1244-89099 |
| Product trio |  |
| Product team |  |
| Design critique needed | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee | David Friquet |
| Accountable |  |

## Details

| Attribute | Value |
| --- | --- |
| Priority | Medium |
| Sprint |  |
| Backlog bucket |  |
| Target versions | 18.0.0 |
| Date |  |
| Labels |  |

## Description

**Feature/Epic:** <mention class="mention" data-id="76571" data-type="work_package" data-text="###FND-110" data-display-id="FND-110">\#\#\#FND-110</mention>

**Figma mockups:** <a href="https://www.figma.com/design/Q5gKSjtWQpAz4wjArQ2U5R/Fundamentals--Type-variants--sub-types-?node-id=1244-89099">https://www.figma.com/design/Q5gKSjtWQpAz4wjArQ2U5R/Fundamentals--Type-variants--sub-types-?node-id=1244-89099</a>

**Research work:** a first version has been [implemented as a PoC](https://github.com/opf/openproject/pull/24736). Since them, [additional choices](https://github.com/opf/openproject/pull/24736#issuecomment-5437581308) have been discussed. Let’s find a way to present all this information in an effective and enjoyable way.

### Mockup

<https://www.figma.com/design/Q5gKSjtWQpAz4wjArQ2U5R/Fundamentals--Type-variants--sub-types-?node-id=1244-89099> 

### Original implementation (pre-design)

#### Project types administration

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

#### Global types administration

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

##### Alternate version of global types administration

The screenshot above mixes an action row `Add variant` with a navigational footer `N variants owned by a project`. The screenshot below shows a version where the `Add variant` action is a header action, and the rows are just variants: global plus project-owned variants count.

One extra benefit: the concept of variant is named at the first level of information. No need to expand the collapsible sections or the `Actions` button to discover this feature. The downside: a very repetitive `Add variant` button.

This version is just food for thoughts for now. I had to make changes to the `BorderBoxListComponent` to allow this trailing action `Add variant` so discussions with the D-team must occur in case it gets traction.

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

#### Type’s variants tab

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