pkp / pkp-lib

The library used by PKP's applications OJS, OMP and OPS, open source software for scholarly publishing.
https://pkp.sfu.ca
GNU General Public License v3.0
297 stars 443 forks source link

Add support for public commenting on posted/published content #10323

Open asmecher opened 1 month ago

asmecher commented 1 month ago

Editors wish to be able to permit public commenting on published content (articles, monographs, and preprints).

This could be achieved by:

felixhelix commented 1 month ago

Hi, we developed a commenting plugin from scratch for our preprint server :) It uses vue, tailwind and the pkp api. It is in our gitlab repo, but I see if I can get it in github within the next weeks so you can have a look at it (and/or post a link once our OPS goes public). Currently version ops 3.3 is supported, but I already started working on a 3.5 version. yours, felix

ewhanson commented 4 weeks ago

@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.

felixhelix commented 2 weeks ago

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. The backend is a bit clumsy, since it was originally only meant for me and my colleague to work with.

I will be at the sprint in Turin this year :) So maybe this could be an opportunity to talk about it as well.

asmecher commented 2 weeks ago

Thanks, @felixhelix!

@ewhanson, could you take a look over this?