Fix Moderate Comments control panel visibility based on Discussion Support addon installation#7878
Merged
davisagli merged 3 commits intoplone:mainfrom Feb 24, 2026
Conversation
Member
Author
|
@davisagli please review the changes I've made, it solves the bug issue #7786 |
davisagli
approved these changes
Feb 24, 2026
Member
davisagli
left a comment
There was a problem hiding this comment.
Tested, works as expected. Thank you!
sneridagh
added a commit
that referenced
this pull request
Mar 19, 2026
* main: (122 commits) Release 19.0.0-alpha.27 Release @plone/slate 19.0.0-alpha.12 Release @plone/razzle 1.0.0-alpha.1 We do not release @plone/client from here Handle create-user 500 responses where body contains 'message' instead of 'error' (#7946) Dropzone filewidget a11y (#7956) Update css-minimizer-webpack-plugin to v7 and keep razzleOptions.enableSourceMaps control (#7934) Refactor Password Reset: Convert Class-Based Component to Functional Component (#7697) fix: Fixed searchable types in Object Browser Widget, adding also sel… (#7942) Fix in-page drag-and-drop for the Listing block in Volto 18 and 19 (#7907) Improved docs of Plone REST API JavaScript Client (#5576) Fix Moderate Comments control panel visibility based on Discussion Support addon installation (#7878) fix: Add authorization error handling to control panels (#7807) Fix subordering order tab (#7937) (#7939) Fix converting value to html in HtmlSlateWidget (#7938) razzle.config.js: Fix defaultPlugins missing name property to enable addon SCSS plugin replacement (#7908) Update users controlpanel to work with new response format (#7895) Avoid storing blocksClipboard in localstorage until it has a value (#7925) Remove link to Jobfamilie MEDICE: site is no longer a Volto site (redirects to non-Volto destination) (#7929) Exclude `.storybook` from ESLint's default hidden directory ignore list via `.eslintignore` to allow linting of Storybook configuration files (#7898) ...
davisagli
pushed a commit
to Manik-Khajuria-5/volto
that referenced
this pull request
May 4, 2026
…pport addon installation (plone#7878) Co-authored-by: Plone <plone@Kattylaptop.localdomain>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR fixes the visibility of the Moderate Comments control panel in Volto to conditionally render only in the presence of the "Discussion" control from "Discussion Support" addon.
What changed
Why
Previously, the Moderate Comments control panel was rendered in the frontend by default, even when plone.app.discussion was not installed. In those cases, the backend returned empty data, resulting in an empty or misleading UI.
Closes #7786
Notes