Add system notes metadata to GraphQL NoteType
What does this MR do and why?
Adds description version changes diff and some temporary REST API backward compatibility data to the corresponding system notes data.
Sample GraphQL query
{
workItem(id: "gid://gitlab/WorkItem/81435") {
widgets {
... on WorkItemWidgetNotes {
type
discussions {
nodes {
id
notes {
nodes {
id
body
bodyHtml
systemNoteIconName
createdAt
systemNoteMetadata {
id
action
descriptionVersion {
id
description
diff
diffPath
deletePath
canDelete
deleted
}
}
author {
id
avatarUrl
name
username
webUrl
}
}
}
}
}
}
}
}
}
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Alexandru Croitor