mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-24 11:34:26 +08:00
When the reviewable UI refresh feature is enabled and old moderator actions are enabled, the post editing functionality does not work. Also, this commit introduces a new hidden site setting `reviewable_old_moderator_actions` (defaulting to true) that controls whether the old combined actions or new separated actions are displayed. Changes: - Added `reviewable_old_moderator_actions` site setting to gate the new action UI - Modified `ReviewableActionBuilder` to check both the feature flag and the new setting - Updated the reviewable item component to show editable fields when editing mode is active - Added CSS fix for button alignment in review actions Demo https://github.com/user-attachments/assets/b061a226-e5fc-43cc-9322-37f8b5aa1bbf |
||
|---|---|---|
| .. | ||
| app | ||
| assets | ||
| config | ||
| db/migrate | ||
| extensions | ||
| lib | ||
| spec | ||
| test/javascripts/acceptance | ||
| plugin.rb | ||
| README.md | ||
Discourse Post Voting
Discourse Post Voting allows the creation of topics with votable posts.
Please refer to https://meta.discourse.org/t/227808 for more info!
Contributions
Special thanks to Pavilion for building https://github.com/paviliondev/discourse-question-answer which this plugin took inspirations from.
