-
Notifications
You must be signed in to change notification settings - Fork 445
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for public commenting on posted/published content #10323
Comments
Hi, we developed a commenting plugin from scratch for our preprint server :) |
@felixhelix, that would be great to see. Looking forward to it! @asmecher, I also did a bit of looking into some of the Laravel packages. I haven't ever adapted an existing Laravel package to work in a non-Laravel context, but it seems like it may end up being a decent amount of work since a lot of what makes the Laravel packges easy to get up and running are the automatic binding of things in the service providers, use of the different Laravel helpers, etc. I was looking at the beyondcode/laravel-comments package, which is fairly minimal, but could be straightforward to using as a starting point for coding something from scratch. |
I just published the OPS 3.3 version of the commenting plugin to github, so you can have a look and see if this could be a way to go: https://github.com/felixhelix/userComments There is no release yet, but I provided some documentation for installing. I will be at the sprint in Turin this year :) |
Thanks, @felixhelix! @ewhanson, could you take a look over this? |
Hello @felixhelix Is there a recording or screenshots showing how this works? From a UI/UX perspective, I was thinking of keeping it simple with plain text comments, without any formatting options. To identify the user, we could include their profile picture and name. I've noticed some journals offer features like liking or replying to comments, but I feel that might be a bit too much. Keeping it straightforward would be better. @ewhanson do you need me to develop some mockups for this or would you like me to review? I think its a better idea to use @felixhelix 's plugin as starting point for this |
1 similar comment
Hello @felixhelix Is there a recording or screenshots showing how this works? From a UI/UX perspective, I was thinking of keeping it simple with plain text comments, without any formatting options. To identify the user, we could include their profile picture and name. I've noticed some journals offer features like liking or replying to comments, but I feel that might be a bit too much. Keeping it straightforward would be better. @ewhanson do you need me to develop some mockups for this or would you like me to review? I think its a better idea to use @felixhelix 's plugin as starting point for this |
The big question -- if the commenting feature is intended to serve an open review functionality -- is whether it would be best to extend the existing peer review toolkit to support an additional transparent mode. This would have several benefits -- all review content, whether open or closed, would live in the same data model. However, public peer reviews are quite different from traditional peer reviews in that there is no assign/accept/complete workflow, so much of the existing review assignment code would not be useful and might need to be made more flexible. |
How about we make the peer review process more interactive? If someone is interested in reviewing an article, they could click on 'Review article,' and then the page would expand to show the questions. This way, we can separate casual comments from formal reviews, keeping the space organized and easy to navigate without overwhelming users and/or editors parsing through the comments |
Hi @Devika008, we hope to go online next month. But here is a screenshot of the details page (we are currently doing usability tests, so the overall design is still in a flux): As you see, there is a button for submitting peer reviews and below is the comment section. As one can see, there is a "submit a review report" button as suggested :) @ewhanson I also finished a version that works with 3.5. I am about to update some code, but if it would make it easier for you to have a look, I could push that branch too. |
Hello, @ewhanson and I had a quick discussion about this, and while we're still going over the details, I think it's best to focus on enabling public commenting for now. We can create a separate issue for the workflow of inviting open reviews since that will need more in-depth research. For public commenting, I really like @felixhelix's approach and might tweak it slightly, as shown below In the 'More Options' section for admins or journal managers, we could include a 'Hide Comment' button to remove inappropriate comments. While this gives them the ability to hide any comment, another option could be to implement a 'Report' feature, where the admin sees the report and can then decide to hide it. Typically, reporting a comment involves filling out a form explaining the reason. Let me know if that feels too much or unnecessary |
Thanks @Devika008 for taking this up! |
@felixhelix you can adapt the styling based on the UI components you have in your journal or the OJS default. I just provided a structure of the comments should look like |
@ewhanson @Devika008 @asmecher The beyondcode package is fairly straightforward, but there’s a catch: we'd need to convert the models we want to allow comments on to Eloquent models. This is because the package relies on Laravel's Polymorphic Relationships, which only works with Eloquent models - this is the same for the other packages as well. Would it be worth refactoring our existing models now? That said, the package is quite minimal, so we could use it as a guide to coding something from scratch that fits better into our current setup. Here are a few more things we have to consider when implementing comments:
|
Editors wish to be able to permit public commenting on published content (articles, monographs, and preprints).
This could be achieved by:
https://spatie.be/docs/laravel-comments(not free)Specs Update - Friday, September 27th, 2024
Workflows Affected by This Change
Detailed Specs
For public commenting, I really like @felixhelix's approach and might tweak it slightly, as shown below
In the 'More Options' section for admins or journal managers, we could implement a 'Report' feature, where the admin sees the report and can then decide to hide it. Typically, reporting a comment involves filling out a form explaining the reason.
The text was updated successfully, but these errors were encountered: