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
fix[#47147]: location picker selection section should be collapsible
Kabiru Mwenja4d5e9cbd43fc
diff --git a/frontend/src/app/core/augmenting/dynamic-scripts/project_folder_mode_selection.ts b/frontend/src/app/core/augmenting/dynamic-scripts/project_folder_mode_selection.tsindex 0e7dbce5134..ec221be3b95 100644--- a/frontend/src/app/core/augmenting/dynamic-scripts/project_folder_mode_selection.ts+++ b/frontend/src/app/core/augmenting/dynamic-scripts/project_folder_mode_selection.ts@@ -32,7 +32,7 @@ const manualProjectFolderModeInput = document.getElementById('storages_project_s// Show the manual folder selection section if the manual radio button is checkedif (manualProjectFolderModeInput.checked && projectFolderSelectionSection !== null) {- projectFolderSelectionSection.style.visibility = 'visible';+ projectFolderSelectionSection.style.display = 'flex';}projectFolderModeRadioButtons.forEach((radio: HTMLInputElement) => {@@ -43,9 +43,9 @@ projectFolderModeRadioButtons.forEach((radio: HTMLInputElement) => {// If the manual radio button is selected, show the manual folder selection sectionif (radio.value === 'manual') {- projectFolderSelectionSection.style.visibility = 'visible';+ projectFolderSelectionSection.style.display = 'flex';} else {- projectFolderSelectionSection.style.visibility = 'hidden';+ projectFolderSelectionSection.style.display = 'none';}}})diff --git a/modules/storages/app/views/storages/project_settings/_form.html.erb b/modules/storages/app/views/storages/project_settings/_form.html.erbindex a241d800b91..317268d7b74 100644--- a/modules/storages/app/views/storages/project_settings/_form.html.erb+++ b/modules/storages/app/views/storages/project_settings/_form.html.erb@@ -81,7 +81,7 @@ See COPYRIGHT and LICENSE files for more details.</p></div>- <div style="visibility:hidden;" id="storages_manual_folder_selection" class="form--field -required">+ <div style="display:none;" id="storages_manual_folder_selection" class="form--field -required"><label class="form--label -bold"> <%= t(:"storages.label_existing_manual_folder_selection") %> </label><div class="form--field-container -horizontal"><%= f.text_field :project_folder_id,