Content
View differences
Updated by Marc Alcobé over 3 years ago
**As a** Nextcloud user working on a file
**I want to** create add a new work package linked to for this file
**So that** I don't need to leave the Nextcloud UI in order to track work packages tasks related to the file.
# Acceptance criteria
* The work package creation in Nextcloud will always happen in [ ] Select the tab "OpenProject" in the split screen with three possible triggers:
* In an empty status tab (file without relations) bellow the message will appear a button (see visuals).
* In the case this file has already existing work packages linked at the bottom of the list it will be displayed a button ("list entry").
* When the user uses the search bar to find an existing work package a last option in the list will be displayed so the user can always create the work package if needed. project
* All this entry points will open a section to create a work package that contains:
* **Project:**
* A project search bar that allows [ ] Select the user to select in which project the work package will be created.
* In case the user tries save the work package without selecting a project an error message will be displayed bellow the field.
* **Type:**
* By default the type selected will always be a TASK.
* The user can change to any other allowed type.
* In [ ] Show the case the user selected a type and then change the project and this type is not available for that project, the type will be replaced with the first allowed type in the list.
* **Subject:**
* The user can type any mandatory fields, e.g. subject desired and this field is mandatory. If the user tries to save the work package without subject an error message will be displayed bellow the field.
* The field will horizontally scroll if the typed subject [ ] There is too long to be displayed (no multi-line).
* **Action buttons:**
* A "Cancel" and a "Save" button are always present and active.
* If the "Save" button is clicked without the user having selected a project or/and a subject an error message will be displayed bellow the field.
* The keyboard "Enter" will also apply the "Save" and the "ESC" key will "Cancel".
"more" that shows all empty fields, e.g. custom fields
# Visuals
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/40058/content"><img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/40059/content"><img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/40049/content"><img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/40054/content"><img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/40057/content"><img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/40051/content"><img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/40052/content"><img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/40056/content"><img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/40055/content">
# Figma
https://www.figma.com/file/gtLQfPe09X7XugAH8L7dTy/Nextcloud-Integration?node-id=3008%3A77010 <figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/27553/content" alt="Old Visual"></div><figcaption class="op-uc-figure--description">Old Visual</figcaption></figure>
# Acceptance criteria
* The work package creation in Nextcloud will always happen in
* In an empty status tab (file without relations) bellow the message will appear a button (see visuals).
* In the case this file has already existing work packages linked at the bottom of the list it will be displayed a button ("list entry").
* When the user uses the search bar to find an existing work package a last option in the list will be displayed so the user can always create the work package if needed.
* All this entry points will open a section to create a work package that contains:
* **Project:**
* A project search bar that allows
* In case the user tries save the work package without selecting a project an error message will be displayed bellow the field.
* **Type:**
* By default the type selected will always be a TASK.
* In
* **Subject:**
* The user can type any
* **Action buttons:**
* A "Cancel" and a "Save" button are always present and active.
* If the "Save" button is clicked without the user having selected a project or/and a subject an error message will be displayed bellow the field.
* The keyboard "Enter" will also apply the "Save" and the "ESC" key will "Cancel".
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/40058/content"><img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/40059/content"><img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/40049/content"><img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/40054/content"><img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/40057/content"><img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/40051/content"><img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/40052/content"><img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/40056/content"><img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/40055/content">
# Figma
https://www.figma.com/file/gtLQfPe09X7XugAH8L7dTy/Nextcloud-Integration?node-id=3008%3A77010