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
Merge branch 'dev' into implementation/47993-support-project-status-explanation-changes-when-rendering-project-activity
Christophe Bliardd80734af897e
diff --cc app/models/project.rbindex f6dcd3c8e72,65fee13a900..97f3bc2caa7--- a/app/models/project.rb+++ b/app/models/project.rb@@@ -106,8 -106,8 +106,9 @@@ class Project < ApplicationRecorregister_journal_formatted_fields(:template, 'templated')register_journal_formatted_fields(:plaintext, 'identifier')register_journal_formatted_fields(:plaintext, 'name')+ register_journal_formatted_fields(:diff, 'status_explanation')register_journal_formatted_fields(:diff, 'description')+ register_journal_formatted_fields(:project_status_code, 'status_code')register_journal_formatted_fields(:visibility, 'public')register_journal_formatted_fields(:subproject_named_association, 'parent_id')register_journal_formatted_fields(:custom_field, /custom_fields_\d+/)diff --cc config/locales/en.ymlindex 8598f270412,53577839ce7..f8106cbeac3--- a/config/locales/en.yml+++ b/config/locales/en.yml@@@ -551,8 -551,8 +551,8 @@@ entrue: "public"false: "private"queries: "Queries"- status_code: 'Status'+ status_code: 'Project status'- status_explanation: 'Status description'+ status_explanation: 'Project status description'status_codes:not_started: 'Not started'on_track: 'On track'diff --cc spec/features/activities/project_attributes_activity_spec.rbindex 893b9d004ae,5012968b414..4c89b459fc4--- a/spec/features/activities/project_attributes_activity_spec.rb+++ b/spec/features/activities/project_attributes_activity_spec.rb@@@ -57,7 -57,7 +57,8 @@@ describe 'Project attributes activitiesnew_project_attributes = {name: 'a new project name',description: 'a new project description',+ status_code: 'on_track',+ status_explanation: 'some explanation',public: true,parent: nil,identifier: 'a-new-project-name',@@@ -88,7 -89,7 +89,8 @@@# own fieldsexpect(page).to have_selector('li', text: "Name changed from #{previous_project_attributes['name']} to #{project.name}")expect(page).to have_selector('li', text: 'Description set (Details)')+ expect(page).to have_selector('li', text: "Project status set to On track")+ expect(page).to have_selector('li', text: 'Project status description set (Details)')expect(page).to have_selector('li', text: 'Visibility set to public')expect(page).to have_selector('li', text: "No longer subproject of #{parent_project.name}")expect(page).to have_selector('li', text: 'Project unarchived')