Content
View differences
Updated by Marc Alcobé 3 months ago
**As** a user
**I want to** to be able to create internal comments and mentions easily
**so that** I don't switch to web app to react to comments
**Background**
* The API for internal comments was missing but now has been merged under the work package <mention class="mention" data-id="64694" data-type="work_package" data-text="###64694">###64694</mention>.
* Multiple users have reported that the comment field is to small and the mentioning process confusing
**Acceptance criteria**
* **Internal comments:**
* Allow the creation of internal comments including a new button on the text edit tool bar with a locker.
* Once the user selects the locker to make the comment internal, the background of the bottom sheet uses the yellow colour of internal comments and the lock IconButton is marked as selected.
* Make sure that once the comment is submitted only the relevant persons can see them.
* Only users with permissions to write internal comments should see the lock icon on the toolbar.
* Users without permissions to write internal comments will see the # button instead of the lock.
* **UI improvements of the toolbar:**
* The tool bar is reduced in mobile to less actions and no longer scrolls. The visible actions are:
* Text options:
* Bold
* Italic
* List
* Other options (after a divider):
* Mention
* Lock
* More actions under a three dots menu (after a divider):
* Strike
* Attach image
* Link work package
* Add link (URL)
* Code
* Numbered list
* To-do list
* Full screen
* Undo
* Redo
* On the very right corner a send button in primary scheme.
* **UI improvements of the comment box:**
* When the full screen mode is selected the bottom sheet should expand until the top of the screen and the action on the toolbar switch to Compact view with the icon to reduce size.
* The bottom sheet no longer has a border box input field with the comment label, but rather a clean white space where the user can type
* The bottom sheet should increase its size (in compact view) as soon as more lines are added to the comment. Once there is no more space in the screen the user can scroll the internal comment content.
* **Improvements on the mentioning and link work package system:**
* When the user triggers either the mentioning or the link work package from the keyboard or toolbar button that will no longer open a separate bottom sheet.
* A menu will appear just on top of the bottom sheet once the user starts typing showing the matching results.
* The text on the comment field should serve to filter the results.
* If there is no matching results with the text introduced the dropdown menu is not rendered.
* **UI improvements of long text fields:**
* All long text fields will open in a full screen modal that will no longer has a border box input field with the comment label, but rather a clean white space where the user can type.
* The button on the toolbar is not a sending icon but rather a confirm button.
* Users can always cancel the edit through the close X on the top bar.
**Technical notes**
* API work: <mention class="mention" data-id="64694" data-type="work_package" data-text="###64694">###64694</mention> data-text="###64694">###64694</mention>
**Permissions and visibility considerations**
* Only users with permissions to see and write internal comments should see them.
**Out of scope**
* <br>
**I want to** to be able to create internal comments and mentions easily
**so that** I don't switch to web app to react to comments
**Background**
* The API for internal comments was missing but now has been merged under the work package <mention class="mention" data-id="64694" data-type="work_package" data-text="###64694">###64694</mention>.
* Multiple users have reported that the comment field is to small and the mentioning process confusing
**Acceptance criteria**
* **Internal comments:**
* Allow the creation of internal comments including a new button on the text edit tool bar with a locker.
* Once the user selects the locker to make the comment internal, the background of the bottom sheet uses the yellow colour of internal comments and the lock IconButton is marked as selected.
* Make sure that once the comment is submitted only the relevant persons can see them.
* Only users with permissions to write internal comments should see the lock icon on the toolbar.
* Users without permissions to write internal comments will see the # button instead of the lock.
* **UI improvements of the toolbar:**
* The tool bar is reduced in mobile to less actions and no longer scrolls. The visible actions are:
* Text options:
* Bold
* Italic
* List
* Other options (after a divider):
* Mention
* Lock
* More actions under a three dots menu (after a divider):
* Strike
* Attach image
* Link work package
* Add link (URL)
* Code
* Numbered list
* To-do list
* Full screen
* Undo
* Redo
* On the very right corner a send button in primary scheme.
* **UI improvements of the comment box:**
* When the full screen mode is selected the bottom sheet should expand until the top of the screen and the action on the toolbar switch to Compact view with the icon to reduce size.
* The bottom sheet no longer has a border box input field with the comment label, but rather a clean white space where the user can type
* The bottom sheet should increase its size (in compact view) as soon as more lines are added to the comment. Once there is no more space in the screen the user can scroll the internal comment content.
* **Improvements on the mentioning and link work package system:**
* When the user triggers either the mentioning or the link work package from the keyboard or toolbar button that will no longer open a separate bottom sheet.
* A menu will appear just on top of the bottom sheet once the user starts typing showing the matching results.
* The text on the comment field should serve to filter the results.
* If there is no matching results with the text introduced the dropdown menu is not rendered.
* **UI improvements of long text fields:**
* All long text fields will open in a full screen modal that will no longer has a border box input field with the comment label, but rather a clean white space where the user can type.
* The button on the toolbar is not a sending icon but rather a confirm button.
* Users can always cancel the edit through the close X on the top bar.
**Technical notes**
* API work: <mention class="mention" data-id="64694" data-type="work_package" data-text="###64694">###64694</mention>
**Permissions and visibility considerations**
* Only users with permissions to see and write internal comments should see them.
**Out of scope**
* <br>