Content
View differences
Updated by Alexander Coles 11 months ago
Updates the Angular `attribute-help-text` component to invoke Primerized dialogs, harmonising the look and feel of attribute help texts.
This work also includes a couple global fixes to prevent multiple dialogs from being created in the help text button is clicked multiple times in quick succession.
**Hints for QA:**
* Preflight:
* Create attribute help texts for project attributes: Project Description, Project Status and Members attributes.
* Create attribute help texts for work packages attributes such as Status, Custom Fields, etc.
* Check attribute help text dialogs can still be opened from the following pages/sections by clicking the help text link (blue question mark):
* Project Overview pages - Project Description, Status and Members widget
* Work Packages details page
* Check the above dialogs have the same appearance as dialogs invoked from attribute help text links, e.g. in the Project Attributes sidebar on the Project Overview page or on fields in the New Project/Copy Project/Project Settings > Information forms.
* Check the (Primer styled) tooltip is displayed correctly on hovering or focussing on the attribute help text link.
* Check the "Edit" button is only displayed for users who have permissions to edit attribute help texts.
* Check clicking on the attribute help text link (blue question mark) multiple times in quick succession does not open multiple dialogs.
**Examples of the Angular** `**attribute-help-text**` **component:**
**<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/739506/content">**
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/739507/content">
<br>
This work also includes a couple global fixes to prevent multiple dialogs from being created in the help text button is clicked multiple times in quick succession.
**Hints for QA:**
* Preflight:
* Create attribute help texts for project attributes: Project Description, Project Status and Members attributes.
* Create attribute help texts for work packages attributes such as Status, Custom Fields, etc.
* Check attribute help text dialogs can still be opened from the following pages/sections by clicking the help text link (blue question mark):
* Project Overview pages - Project Description, Status and Members widget
* Work Packages details page
* Check the above dialogs have the same appearance as dialogs invoked from attribute help text links, e.g. in the Project Attributes sidebar on the Project Overview page or on fields in the New Project/Copy Project/Project Settings > Information forms.
* Check the (Primer styled) tooltip is displayed correctly on hovering or focussing on the attribute help text link.
* Check the "Edit" button is only displayed for users who have permissions to edit attribute help texts.
* Check clicking on the attribute help text link (blue question mark) multiple times in quick succession does not open multiple dialogs.
**Examples of the Angular** `**attribute-help-text**` **component:**
**<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/739506/content">**
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/739507/content">
<br>