community-platform
community-platform copied to clipboard
[feature request] Dont mention all contributors on research steps
Is your feature request related to a problem? Please describe. Currently you can see to many contributors on a research step. You loose track of who is the creator and who just did some small grammar fixes.
Describe the solution you'd like
Dont mention contributors that edit research steps only that create steps
Example of the problemt
Is can be found in the research module here. Step 6

I would challenge the assumption that subsequent edits are simple grammar changes. That may be true of the changes you've made in this specific case however the editor could have done anything to the content.
The current implementation stores the following information:
collaborators: ["username", "another-username"]
I propose the following change to the data structure:
collaborators: [
{
"userId": "username",
"action": "created", // This could be either "created" or "edited",
"datestamp": "2023-03-13T12:00:00.000Z"
},
{
"userId": "another-username",
"action": "edited",
"datestamp": "2023-04-13T16:26:20.134Z"
},
{
"userId": "username",
"action": "edited",
"datestamp": "2023-04-14T16:26:20.134Z"
}
]
This allows us to store a more detailed record of the order of changes. For the reading view of the Research content we can filter this list down to only show the creator however we have the additional information available if needed. Maybe within the editor view we'd like to show a "last edited by username"
Agree this would be a better and more complete solution. So show the creator on the frontend, store the data of contributors on the backend. To be figured out later how to best use it.
Hey everyone, I'd like to give this is a go so long as it's still an open issue.
Welcome @alexHoggett, that would be much appreciated. ✨ Let us know if you need any more information.
Just checking in. How is this one going @alexHoggett ?
Putting this one back to the pool @alexHoggett, if you want to carry on with it just let us know.
:tada: This issue has been resolved in version 1.80.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket: