[PARENT] Provide data for a richer design "version selector" dropdown in GraphQL
Problem to solve
We would like GraphQL to supply the front-end with more data for the "version selector" dropdown.
Designs for this selector can be viewed in the Designs tab.
The following data will need to be exposed to GraphQL for
- Version number within the issue (10, 11, etc.)
- User who made the change (added in !17316 (merged) and !17322)
- Time of the change (added in !17316 (merged) and !17322)
- Added/removed/changed counts.
Note that "version number" is currently being handled dynamically on the front-end. Once this data is available in GraphQL, the frontend should be changed to using GraphQL as the source for this property instead.
This issue represents the work involved to capture the above data and make it available via GraphQL.
Thoughts about the implementation
The number could be cached in Redis and expired, similar to how
Design#user_notes_count is within the
User and time of change
Added, removed, changed blurb
In order for the front end to produce a string like "X person changed 1 screen and added 2 screens", we'd need something like these new properties in GraphQL for
- The user who made the change
- Counts of
deletion- as this data never changes perhaps we migrate 3 new integer type columns into