Content
View differences
Updated by Henriette Darge 4 months ago
**Context**
An extension of the work done in ##67203.
**Acceptance criteria**
* For the project description widget:
* On the **overview** tab, when hovering the actual description there is a border around it shown. pencil icon in the header which is an invisible icon button
* When clicking that, the bordered area, the description will switch to CKEditor edit mode, mode (similar to meeting notes), with two actions:
* Save (primary)
* Cancel (secondary)
* For the project status widget:
* On the **overview** tab, when hovering the actual status description there is a border around it shown pencil icon in the header which is an invisible icon button
* When clicking that, the bordered area, the description will switch to CKEditor edit mode, mode (similar to meeting notes), with two actions:
* Save (primary)
* Cancel (secondary)
* When lacking the permission, the description text can also be read-only to some users
* When there is no description provided, there is a placeholder shown. When hovered, (no pencil button or option in the border is shown and behaves as above menu).
**Out of scope** **Screens**
* Migrating Display mode on the angular wigets from dashboard tab:
<img class="image_resized op-uc-image op-uc-image_inline" style="width:352px;" src="/api/v3/attachments/785777/content">
<br>
Edit edit mode of the Dashboard tab
<br> description field:
<figure class="image image_resized op-uc-figure" style="width:281px;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/785764/content"></div></figure>
**Open questions:**
1. Shall we apply the same pattern to the dashboard page?
* On the **dashboard** tab, there is a three dots menu.
* Clicking on the three dots, will open a menu with:
* an option to edit the description
* When clicking that, the description will switch to CKEditor edit mode (similar to meeting notes) with two actions:
* Save (primary)
* Cancel (secondary)
* an option to remove the widget
* Problem: The dashboard is Angular based. The widget themselves are Angular (including the header), only the content is part of a TurboFrame. In order to use more or less the same code on both Overview and Dashboard, we'd need to weaken the `WidgetBoxComponent` and implement a lot of hacks
* Possible solution: Switching from the edit button in the header to actual click-to-edit fields once we have them?
<br>
An extension of the work done in ##67203.
**Acceptance criteria**
* For the project description widget:
* On the **overview** tab, when hovering the actual description there is a border around it shown.
* When clicking
* Save (primary)
* Cancel (secondary)
* For the project status widget:
* On the **overview** tab, when hovering the actual status description there is a border around it shown
* When clicking
* Save (primary)
* Cancel (secondary)
* When lacking the permission, the description text can also be read-only to some users
* When there is no description provided, there is a placeholder shown. When hovered,
**Out of scope**
* Migrating
<img class="image_resized op-uc-image op-uc-image_inline" style="width:352px;" src="/api/v3/attachments/785777/content">
<br>
Edit edit mode of
<br>
<figure class="image image_resized op-uc-figure" style="width:281px;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/785764/content"></div></figure>
**Open questions:**
1. Shall we apply the same pattern to the dashboard page?
* On the **dashboard** tab, there is a three dots menu.
* Clicking on the three dots, will open a menu with:
* an option to edit the description
* When clicking that, the description will switch to CKEditor edit mode (similar to meeting notes) with two actions:
* Save (primary)
* Cancel (secondary)
* an option to remove the widget
* Problem: The dashboard is Angular based. The widget themselves are Angular (including the header), only the content is part of a TurboFrame. In order to use more or less the same code on both Overview and Dashboard, we'd need to weaken the `WidgetBoxComponent` and implement a lot of hacks
* Possible solution: Switching from the edit button in the header to actual click-to-edit fields once we have them?
<br>