Workbench Moderation Actions has been in use since September 2016 on a number of sites. The module existed on github until very recently, where we've moved it to drupal.org.

It is a companion module to Workbench Moderation, and provides Actions to set moderation state to any of your workbench moderation states. It replaces the 'Publish content' and 'Unpublish content' provided by Drupal core, which don't work when you enable workbench moderation.

Project page

https://www.drupal.org/project/workbench_moderation_actions

Git instructions

git clone --branch 8.x-1.x https://git.drupal.org/project/workbench_moderation_actions.git

PAReview

https://pareview.sh/pareview/https-git.drupal.org-project-workbench_mode...

Comments

nicrodgers created an issue. See original summary.

nicrodgers’s picture

Title: Workbench Moderation Actions » [D8] Workbench Moderation Actions
Assigned: Unassigned » nicrodgers
nicrodgers’s picture

Assigned: nicrodgers » Unassigned
Status: Active » Needs review
PA robot’s picture

Status: Needs review » Needs work

Git clone command for the sandbox is missing in the issue summary, please add it.

We are currently quite busy with all the project applications and we prefer projects with a review bonus. Please help reviewing and put yourself on the high priority list, then we will take a look at your project right away :-)

Also, you should get your friends, colleagues or other community members involved to review this application. Let them go through the review checklist and post a comment that sets this issue to "needs work" (they found some problems with the project) or "reviewed & tested by the community" (they found no major flaws).

I'm a robot and this is an automated message from Project Applications Scraper.

nicrodgers’s picture

Issue summary: View changes
Status: Needs work » Needs review

Added git clone command to summary
git clone --branch 8.x-1.x https://git.drupal.org/project/workbench_moderation_actions.git

PA robot’s picture

Status: Needs review » Needs work

There are some errors reported by automated review tools, did you already check them? See http://pareview.sh/pareview/httpsgitdrupalorgprojectworkbench_moderation...

I'm a robot and this is an automated message from Project Applications Scraper.

nicrodgers’s picture

Assigned: Unassigned » nicrodgers
nicrodgers’s picture

Assigned: nicrodgers » Unassigned
Status: Needs work » Needs review
jayesh_makwana’s picture

Hey nicrodgers,

I checked your module, however there are some coding issues and recommendations that you may be interested in :

FILE: /root/repos/pareviewsh/pareview_temp/src/Controller/StateChange.php
-------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
-------------------------------------------------------------------------
14 | ERROR | Doc comment is empty
19 | ERROR | Missing short description in doc comment
24 | ERROR | Missing short description in doc comment
-------------------------------------------------------------------------

FILE: ...oot/repos/pareviewsh/pareview_temp/src/Plugin/Action/StateChange.php
--------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------
26 | ERROR | Missing short description in doc comment
31 | ERROR | Missing short description in doc comment
--------------------------------------------------------------------------

FILE: ...s/pareviewsh/pareview_temp/src/Plugin/Deriver/StateChangeDeriver.php
--------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
--------------------------------------------------------------------------
12 | ERROR | Doc comment is empty
17 | ERROR | Missing short description in doc comment
22 | ERROR | Missing short description in doc comment
--------------------------------------------------------------------------

FILE: .../repos/pareviewsh/pareview_temp/workbench_moderation_actions.install
--------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------
3 | ERROR | Missing short description in doc comment
--------------------------------------------------------------------------

FILE: ...t/repos/pareviewsh/pareview_temp/workbench_moderation_actions.module
--------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------
3 | ERROR | Missing short description in doc comment
--------------------------------------------------------------------------

FILE: ...root/repos/pareviewsh/pareview_temp/tests/src/Kernel/DeriverTest.php
--------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------
14 | ERROR | Missing short description in doc comment
--------------------------------------------------------------------------

Thank you.

nicrodgers’s picture

hi Jayesh, thanks for taking a look. Having reviewed those automated errors, I'm happy that in those specific cases adding comments wont add any value to the DX. If you disagree please let me know. cheers

jayesh_makwana’s picture

@nicrodgers

Actually, we are trying to provide feedback based on automated review. I disagree that sometimes it is very helpful for developer to understand logic of code based on comments. So, it is better to add proper comments based on coding standard.

sleitner’s picture

Issue summary: View changes
Status: Needs review » Needs work
apaderno’s picture

Status: Needs work » Closed (won't fix)

If you are still working on this application, you should fix all known problems and set the status to Needs review. (See also the project application workflow.)
Please don't change status of this application if you aren't sure you have time to dedicate to this application, or it will be closed again as won't fix.

I am closing this application due to lack of activity.

nicrodgers’s picture

Status: Closed (won't fix) » Needs review

The coding standards issues have now been fixed, and PAReview shows no issues.

vuil’s picture

Issue summary: View changes

I updated the issue summary (only).

vuil’s picture

Issue summary: View changes
vuil’s picture

Status: Needs review » Reviewed & tested by the community

Thank you for the contribution!

Please use for the project/module "Automated testing" (https://www.drupal.org/node/2891271/qa) at least PHP >= 7.1 & MySQL 5.7

I did not find security related issues and set the issue status to Reviewed & tested by the community.

apaderno’s picture

Assigned: Unassigned » apaderno
Status: Reviewed & tested by the community » Fixed

Thank you for your contribution! I am going to update your account.

These are some recommended readings to help with excellent maintainership:

You can find more contributors chatting on the IRC #drupal-contribute channel. So, come hang out and stay involved.
Thank you, also, for your patience with the review process.
Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.

I thank all the dedicated reviewers as well.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.