Content
View differences
Updated by Parimal Satyal over 3 years ago
**As** a project member
**I want to** see the changes of project attributes
**so that** I understand changes that are relevant to me
**Acceptance criteria**
* ###45081
* Changes to project attributes are journalized. This includes:
* name
* description
* public
* parent
* identifier
* active (project archived or active)
* template
* Text CF
* Long text CF
* Integer CF
* Float CF
* Boolean CF
* Version CF
* User CF
* Date CF
* List CF
* In the Project activity module:
* ###45082
* There is a new checkbox in the sidebar titled "Project attributes". This needs to be enabled for project activity to be displayed.
* Project activities can be for the current project or for sub-projects of the current project.
* ###45083
* Project activity is included to updates displayed on this page, with this format:
* [**Project: {Project name}**](https://community.openproject.org/#)
updated by [{mini avatar} {user name}](https://community.openproject.org/#) on {date and time}
* **Attribute name** {update}
* _(added 17.01.23)_ For specific attributes, use the following phrasing:
* **name:**
* **Name** changed from _{old name}_ to _{new name}_
* **description**
* **Description** changed ([Details](https://community.openproject.org/#))
* **public**
* **Visibility** set to _{new visibility}_
* **parent**
* **Subproject of** _{parent project}_ **Parent** set to _{parent}_
* **Subproject** **Parent** changed from _{old parent project}_ parent}_ to _{new parent parent)_
* **identifier**
* **Identifier** changed from _{old identifier}_ to _{new identifier}_
* **active (project archived or active)**
* **Project archived**
* **Project unarchived**
* **template**
* **Project marked as template**
* **Project unmarked as template**
* Changes to long text fields are displayed directly in the journal entry (as is case for long-text CFs for work packages)
* Work package updates will also take a similar form, with this format:
* [**{Type} #{id} - Subject**](https://community.openproject.org/#) **(Project:** [**{Project or subproject name}**](https://community.openproject.org/#)**)**
updated by [{mini avatar} {user name}](https://community.openproject.org/#) on {date and time}
* **Attribute name** {update}
* **Comments** are treated the same way as change to a long text CF, with this format:
* [**{Type} #{id} - Subject**](https://community.openproject.org/#) **(Project:** [**{Project or subproject name}**](https://community.openproject.org/#)**)**
Updated by [{mini avatar} {user name}](https://community.openproject.org/#) on {date and time}
* **Comment added**
{text preview of comment, truncated after 120 characters}
* **Work package creation** is treated similarly,
* with a slightly updated phrasing of the second line:
* Created by [{mini avatar} {user name}](https://community.openproject.org/#) on {date and time}
* Work package creation events never list any attribute changes within the aggregation period related to that event.
* After the aggregation period, any update to the work package will create a new _update_ event that does list attribute changes as described above.
* Other updates (budget, meetings, news, spent time, wiki edits) will also take a similar form, with this format:
* [**{Type} #{id} - Subject**](https://community.openproject.org/#) **(Project:** [**{Project or subproject name}**](https://community.openproject.org/#)**)**
updated by [{mini avatar} {user name}](https://community.openproject.org/#) on {date and time}
* **Attribute name** {update}
* Each individual attribute update is displayed (for both project and work package activity) in the same way as they are for work package activity today.
* Most attributes will show the previous and new value ("**User CF** changed from _Person A_ to _Person B_")
* Changes to work package description will not show a preview, simply a "(Details)" link that displays a diff.
* ###45084
* In the Projects list:
* In the More menu in each project row, there is an additional menu item "Project activity"
* The "Latest activity at" column includes changes to project attributes.
* Currently, this attribute can be empty; with this feature, since project attributes are now included, every project has at least one activity (i.e, project creation). (handled in #45082)
* In Project overview
* In the More menu of "Project details" widget, there is an additional menu item "Project details activity"
### Screens to add
_**Project details**_ **widget with a new more menu item: "Project details activity":**
**<img class="op-uc-image op-uc-image_inline" style="width:461px;" src="/api/v3/attachments/38837/content">**
_**Project list**_ **module with new entry on more menu of an individual project: "Project activity":**
**<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/38838/content">**
_**Project activity**_ **module with journalised changes to project attributes, and a new "Project attributes" filter on the sidebar:**
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/42831/content">
_**Project activity**_ **module with other types of updates (budget, meetings, news, spent time wiki edits)**
**<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/42832/content">**
**Details view for a description change** (showing differences between the previous and the current versions)
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/41906/content">
## Out of scope
* Revert changes
* Highlight changes in the project list
* Print view
* Notifications for changes
* Enhancements of the diff view of text fields
* Project status
### Figma mockup
[https://www.figma.com/file/4JZteBi003Q8bIbcMiwIZW/Project-custom-field-activity?node-id=219%3A1143&t=sPcmA1c07Mi5rd2m-4](https://www.figma.com/file/4JZteBi003Q8bIbcMiwIZW/Project-custom-field-activity?node-id=219%3A1143&t=sPcmA1c07Mi5rd2m-4)
**I want to** see the changes of project attributes
**so that** I understand changes that are relevant to me
**Acceptance criteria**
* ###45081
* Changes to project attributes are journalized. This includes:
* name
* description
* public
* parent
* identifier
* active (project archived or active)
* template
* Text CF
* Long text CF
* Integer CF
* Float CF
* Boolean CF
* Version CF
* User CF
* Date CF
* List CF
* In the Project activity module:
* ###45082
* There is a new checkbox in the sidebar titled "Project attributes". This needs to be enabled for project activity to be displayed.
* Project activities can be for the current project or for sub-projects of the current project.
* ###45083
* Project activity is included to updates displayed on this page, with this format:
* [**Project: {Project name}**](https://community.openproject.org/#)
updated by [{mini avatar} {user name}](https://community.openproject.org/#) on {date and time}
* **Attribute name** {update}
* _(added 17.01.23)_ For specific attributes, use the following phrasing:
* **name:**
* **Name** changed from _{old name}_ to _{new name}_
* **description**
* **Description** changed ([Details](https://community.openproject.org/#))
* **public**
* **Visibility** set to _{new visibility}_
* **parent**
* **Subproject of** _{parent project}_
* **Subproject**
* **identifier**
* **Identifier** changed from _{old identifier}_ to _{new identifier}_
* **active (project archived or active)**
* **Project archived**
* **Project unarchived**
* **template**
* **Project marked as template**
* **Project unmarked as template**
* Changes to long text fields are displayed directly in the journal entry (as is case for long-text CFs for work packages)
* Work package updates will also take a similar form, with this format:
* [**{Type} #{id} - Subject**](https://community.openproject.org/#) **(Project:** [**{Project or subproject name}**](https://community.openproject.org/#)**)**
updated by [{mini avatar} {user name}](https://community.openproject.org/#) on {date and time}
* **Attribute name** {update}
* **Comments** are treated the same way as change to a long text CF, with this format:
* [**{Type} #{id} - Subject**](https://community.openproject.org/#) **(Project:** [**{Project or subproject name}**](https://community.openproject.org/#)**)**
Updated by [{mini avatar} {user name}](https://community.openproject.org/#) on {date and time}
* **Comment added**
{text preview of comment, truncated after 120 characters}
* **Work package creation** is treated similarly,
* with a slightly updated phrasing of the second line:
* Created by [{mini avatar} {user name}](https://community.openproject.org/#) on {date and time}
* Work package creation events never list any attribute changes within the aggregation period related to that event.
* After the aggregation period, any update to the work package will create a new _update_ event that does list attribute changes as described above.
* Other updates (budget, meetings, news, spent time, wiki edits) will also take a similar form, with this format:
* [**{Type} #{id} - Subject**](https://community.openproject.org/#) **(Project:** [**{Project or subproject name}**](https://community.openproject.org/#)**)**
updated by [{mini avatar} {user name}](https://community.openproject.org/#) on {date and time}
* **Attribute name** {update}
* Each individual attribute update is displayed (for both project and work package activity) in the same way as they are for work package activity today.
* Most attributes will show the previous and new value ("**User CF** changed from _Person A_ to _Person B_")
* Changes to work package description will not show a preview, simply a "(Details)" link that displays a diff.
* ###45084
* In the Projects list:
* In the More menu in each project row, there is an additional menu item "Project activity"
* The "Latest activity at" column includes changes to project attributes.
* Currently, this attribute can be empty; with this feature, since project attributes are now included, every project has at least one activity (i.e, project creation). (handled in #45082)
* In Project overview
* In the More menu of "Project details" widget, there is an additional menu item "Project details activity"
### Screens to add
_**Project details**_ **widget with a new more menu item: "Project details activity":**
**<img class="op-uc-image op-uc-image_inline" style="width:461px;" src="/api/v3/attachments/38837/content">**
_**Project list**_ **module with new entry on more menu of an individual project: "Project activity":**
**<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/38838/content">**
_**Project activity**_ **module with journalised changes to project attributes, and a new "Project attributes" filter on the sidebar:**
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/42831/content">
_**Project activity**_ **module with other types of updates (budget, meetings, news, spent time wiki edits)**
**<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/42832/content">**
**Details view for a description change** (showing differences between the previous and the current versions)
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/41906/content">
## Out of scope
* Revert changes
* Highlight changes in the project list
* Print view
* Notifications for changes
* Enhancements of the diff view of text fields
* Project status
### Figma mockup
[https://www.figma.com/file/4JZteBi003Q8bIbcMiwIZW/Project-custom-field-activity?node-id=219%3A1143&t=sPcmA1c07Mi5rd2m-4](https://www.figma.com/file/4JZteBi003Q8bIbcMiwIZW/Project-custom-field-activity?node-id=219%3A1143&t=sPcmA1c07Mi5rd2m-4)