mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-24 13:26:45 +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 |
||
|---|---|---|
| .. | ||
| components/post_voting | ||
| fabricators | ||
| lib | ||
| models | ||
| requests | ||
| serializers | ||
| system | ||
| plugin_helper.rb | ||