# Feature OP-18354 - Primerize Types form configuration page

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-18354

## Planning

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

## OPEN POINTS / FEEDBACK

_No work packages_

## Features and Chunks

_No work packages_

## Bugs and other work packages

| ID | Type | Subject | Status | Assignee | Target versions | Spent time | Module |
| --- | --- | --- | --- | --- | --- | --- | --- |
| OP-19406 | Bug | Updates the type form configuration labels to use the Figma terminology | closed |  | 17.5.0 |  | Frontend components and Primer design system, Administration |
| OP-19404 | Bug | Section cannot be dragged and dropped outside of current view | closed |  | 17.5.0 |  | Administration, Frontend components and Primer design system |
| OP-19403 | Bug | User cannot scroll down on page when enterprise banner is showing | closed |  | 17.5.0 |  | Administration, Frontend components and Primer design system |
| DREAM-706 | Bug | Newly created WP custom field cannot be added to an existing WP form configuration | closed |  | 17.5.0 |  | Frontend components and Primer design system |
| DREAM-687 | Bug | Show type of field beside the attribute | closed |  | 17.5.0 |  | Frontend components and Primer design system, Modules and project features / Work packages |

## Technical Details

| Attribute | Value |
| --- | --- |
| Module | Administration, Frontend components and Primer design system |
| Feature Flag |  |
| Requires doc change | Yes |
| Enterprise plan |  |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups | https://www.figma.com/design/OjbzHDwgUUECAJQaSlVF7m/Artefacts?node-id=597-30159&t=1Jl3K0HgWJow0tYt-4 |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Feature Lead |  |
| Developers | Behrokh Satarnejad |
| Designer | Parimal Satyal |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| PD (min) |  |
| PD (max) |  |
| Work |  |
| Labor costs |  |

## Description

# **Acceptance criteria**

The form configuration page for types in the administration is updated to look closer to the Project attribute page

**Layout**

  - On the left, there is a panel containing unused fields
    
      - The list is filterable
    
      - Elements from that list can be moved to the right side via drag'n'drop

  - On the right, the configured form configuration is shown

**Sections**

  - Each **section** becomes a BorderBox component
    
      - Each field and each query is one row in the Box
    
      - The fields are sortable via drag'n'drop within and between sections (like before)

  - The sections are sortable via drag'n'drop

  - The header contains a three-dots-menu at the end with the following options
    
      - Rename section
        
          - Will trigger inline editing (like in Meetings)
    
      - Move:
        
          - top (unless it is the first section)
        
          - up (unless it is the first section)
        
          - down (unless it is the last section)
        
          - bottom (unless it is the last section)
    
      - Delete

  - Each row contains a three-dots-menu at the end with the following options
    
      - Edit query (if it is a query)
    
      - Move (Not visible for work package table row):
        
          - top (unless it is the first section)
        
          - up (unless it is the first section)
        
          - down (unless it is the last section)
        
          - bottom (unless it is the last section)
        
          - Depending on where each row is positioned within the box, these actions may vary.
    
      - Delete

**Subheader**

  - There is a primary button in the subheader called "+ Add" which triggers a menu with two options:
    
      - "Attribute group" -\> will open border box with editable header (similar to meetings)
    
      - "Table of related work packages" -\> Will open the configuration dialog (as of now)

  - There is a button called "Reset to defaults" (current behvior)

**Permissions and visibility considerations**

  - *Only visible for Admins*

**Out of scope**

  - Add additional functionality to the form configuration
