OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
feat[#47150]: Clean up the modal
Kabiru Mwenjab95767a2d40d
diff --git a/frontend/src/app/shared/components/attribute-help-texts/static-attribute-help-text.component.html b/frontend/src/app/shared/components/attribute-help-texts/static-attribute-help-text.component.htmlindex 235b0faa659..a60b83e2a35 100644--- a/frontend/src/app/shared/components/attribute-help-texts/static-attribute-help-text.component.html+++ b/frontend/src/app/shared/components/attribute-help-texts/static-attribute-help-text.component.html@@ -6,6 +6,7 @@(keydown.space)="handleClick($event)"role="button"tabindex="0"+ data-qa-selector="static-attribute-help-text--icon"><span class="spot-icon spot-icon_help1"></span></div>diff --git a/frontend/src/app/shared/components/attribute-help-texts/static-attribute-help-text.modal.html b/frontend/src/app/shared/components/attribute-help-texts/static-attribute-help-text.modal.htmlindex eff00ee6400..6a2ac43e86b 100644--- a/frontend/src/app/shared/components/attribute-help-texts/static-attribute-help-text.modal.html+++ b/frontend/src/app/shared/components/attribute-help-texts/static-attribute-help-text.modal.html@@ -1,21 +1,18 @@<div- class="spot-modal attribute-help-text--modal loading-indicator--location"+ class="spot-modal"data-indicator-name="modal"+ data-qa-selector="static-attribute-help-text--modal"><divclass="spot-modal--header"- data-qa-selector="attribute-help-text--header">- <span class="spot-icon spot-icon_help1"></span>- <span class="attribute-help-text--header-text"- [textContent]="title"></span>+ {{ title }}</div>+ <div class="spot-divider"></div>+<div class="spot-modal--body spot-container">- <div- class="op-uc-container op-uc-container__no-permalinks"- [textContent]="content"- ></div>+ <span class="spot-body-small">{{ content }}</span></div><div class="spot-action-bar hidden-for-mobile">diff --git a/modules/storages/spec/features/manage_project_storage_spec.rb b/modules/storages/spec/features/manage_project_storage_spec.rbindex 6a33044b243..e30f91aa06c 100644--- a/modules/storages/spec/features/manage_project_storage_spec.rb+++ b/modules/storages/spec/features/manage_project_storage_spec.rb@@ -68,8 +68,8 @@ describe 'Activation of storages in projects', js: true, with_flag: { storage_pr# Can cancel the creation of a new file storage and view help textexpect(page).to have_current_path new_project_settings_projects_storage_path(project_id: project)expect(page).to have_text('Add a file storage')- page.find('.spot-link.help-text--entry').click- expect(page).to have_selector('.spot-modal.attribute-help-text--modal.loading-indicator--location')+ page.find('[data-qa-selector="static-attribute-help-text--icon"]').click+ expect(page).to have_selector('[data-qa-selector="static-attribute-help-text--modal"]')page.click_button('Close')page.click_link('Cancel')expect(page).to have_current_path project_settings_projects_storages_path(project)