Show design boards at previous versions in GraphQL
What does this MR do?
This MR allows design boards to be viewed at previous versions.
When a particular version is chosen, design records are filtered to only those that existed at that version and the images reflect what they were at that version.
The GraphQL designs query can take a new atVersion
argument:
designs(atVersion: "gid://gitlab/DesignManagement::Version/1") {
edges {
node {
image
}
}
}
A new finder can filter designs to only those that existed at the given version.
DesignType
s can access the atVersion
argument passed to the parent connection in order to include the version sha in the image URI it presents.
Does this MR meet the acceptance criteria?
Conformity
-
Changelog entry - [-] Documentation created/updated or follow-up review issue created
-
Code review guidelines -
Merge request performance guidelines -
Style guides - [-] Database guides
-
Separation of EE specific content
Performance and testing
Edited by 🤖 GitLab Bot 🤖