"force publish" hides too much meta box options

AI-generated summary

The “force publish” feature in the Discourse plugin hides several useful meta box options, such as category, tags, and pin topic. RGJ suggests that this feature should only hide the “publish to Discourse” checkbox.

simon explains that the feature’s limitations are intentional, designed to meet the needs of a busy site, and that changing it may not be possible. However, he recommends using the “Auto Publish” option, which allows authors to set categories, pin topics, and add tags while still automatically publishing posts.

RGJ finds the “Auto Publish” option appealing, but questions the purpose of the intentional limitations of the “force publish” feature. simon responds that it forces all posts to be published in the plugin’s default category, removing authors’ control over publishing decisions.

If Discourse - Publishing - force publish is enabled then the meta box is only showing a text:

However, this removes useful options like category, tags, and pin topic as well.

Shouldn’t force publish only hide the “publish to Discourse” checkbox?

The Force Publish option was added to meet the needs of a busy site. Its limitations are intentional. I don’t think that we can change it very much. The text that is displayed could be improved a bit.

I think that what needs to be fixed in the plugin is that the Auto Publish option needs to be enabled for the block editor. The way Auto Publish is intended to work is that when enabled, the Publish checkbox will be pre-checked for all posts. It will be possible to decide to not publish the post, but it will require the author to uncheck the checkbox. Setting the category, pinning the topic, and adding tags will all be available with this option.

Yes, that auto plugin option sounds good!

Just for my understanding: why? What purpose does that serve?

It forces all posts to be published in the plugin’s default category. It takes all decisions about publishing posts to Discourse out of the author’s control.