Work items widget: Activity
Release notes
Problem to solve
Show activity log on an individual work item.
Proposal
Add widget, that includes a GraphQL query that returns all system notes related to the work item. Frontend will be a new app (not the legacy notes app) using Apollo in the same architecture as the other widgets. The first iteration does not have to be concerned with combining with the upcoming discussions widget.
Acceptance Criteria
-
Create system notes -
View system notes -
View & delete description diffs -
Sort controls -
Pagination -
System notes update in real-time
Technical notes
All the types of system notes available:
Actions:
- created: 1,
- updated: 2,
- closed: 3,
- reopened: 4,
- pushed: 5,
- commented: 6,
- merged: 7,
- joined: 8, # User joined project
- left: 9, # User left project
- destroyed: 10,
- expired: 11, # User left project due to expiry
- approved: 12
Objects:
- issue: Issue,
- milestone: Milestone,
- merge_request: MergeRequest,
- note: Note,
- project: Project,
- snippet: Snippet,
- user: User,
- wiki: WikiPage::Meta,
- design: DesignManagement::Design
FOSS Events
-
notes
table, together with comments. We have a boolean column that defines if a note is a system note or not. - resource_state_events
- resource_label_events
- resource_milestone_events
EE Events
- resource_iteration_events
- resource_weight_events
We currently use https://gitlab.com/gitlab-org/gitlab/-/blob/e38891bb2598f191944ece8cb7bbbef16a4ea8f5/app/services/resource_events/merge_into_notes_service.rb to pull all those notes together
Feature Usage Metrics
This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.