# Feature OP-8589 - Replace remaining project forms by Angular

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

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | 11.3.0 |
| Sprint | 11.3.0 |
| Backlog bucket |  |
| Votes |  |
| List |  |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

_No work packages_

## Features and Chunks

_No work packages_

## Bugs and other work packages

_No work packages_

## Technical Details

| Attribute | Value |
| --- | --- |
| Module |  |
| Feature Flag |  |
| Requires doc change | No |
| Enterprise plan |  |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups |  |
| Accessibility | No |

## People

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

## Estimates and progress

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

## Description

# Requirements

###   

###   

### Template selection

*   The &quot;Use template&quot; field is not part of the project schema
*   It should be rendered at the beginning of the project form
*   It is preselected with &quot;(none)
*   When selecting another value, the form needs to POST am empty payload to `/api/v3/projects/:selectedTemplate/copy/form` to get the payload object from that project
    *   That payload object replaces the current form payload
    *   Nice to have: The frontend shows a warning dialog before reloading the form
    *   Optionally: The frontend can override some values of the payload
*   When a template is selected,
    *   the resource to POST to is the copy endpoint `/api/v3/projects/:selectedTemplate/copy`, not the create endpoint
    *   the API response is a Job status reference, we need to show the job status modal
*   To be checked: Where to get the list of template values

<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/21093/content"></div></figure>

### Advanced settings fieldset

*   Most of the fields are hidden behind &quot;Advanced settings&quot; (see above)
    *   Everything other than
        *   required fields in the schema, that do not have a default value
        *   the parent project field
        *   (and the template selector)
    *   The advanced settings are always collapsed until the user explicitly expands them
    *   Nice to have: When expanded, it does not collapse again when, e.g., changing the selected template

### Identifier

*   Creating a project
    *   The identifier is not present in the project form
    *   The identifier gets derived from the name in the backend
*   Editing a project
    *   For the scope of 11.3., make renaming identifier it a toolbar button (rendered in the toolbar in Rails due to implementation speed reasons)

<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/21095/content"></div></figure>

### Parent project selector

*   Creating a new subproject from within a project throug the dropdown or the project settings (for example, this link on QA: [https://qa.openproject-edge.com/projects/new?parent\_id=201)](https://qa.openproject-edge.com/projects/new?parent_id=201))
*   The &quot;Subproject of&quot; field is always shown before the advanced settings?
*   The &quot;Subproject of&quot; field will be preselected with the parent project given in the URL query.
*   The dynamic form needs an input to add to the _initial_ form request payload to add the parent href

<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/21092/content"></div></figure>

###   

### Storage information tab

*   Add a new backend page with the storage information

### &quot;Active&quot; field

*   The &quot;active&quot; field, indicating wether the project is archived or not is to be hidden
*   The functionality is to remain available unchanged via the &quot;Archive&quot;-button in the toolbar
