discourse/plugins/discourse-post-voting/spec
Krzysztof Kotlarek b1154494f8
FIX: Restore post editing in the new reviewable UI (#35784)
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
2025-11-05 08:34:32 +08:00
..
components/post_voting DEV: Update rubocop-discourse to 3.13 and autofix issues (#35073) 2025-10-06 16:11:01 +02:00
fabricators FEATURE: Update the ReviewablePostVotingComment UI (#35675) 2025-10-31 11:50:14 +08:00
lib DEV: Update rubocop-discourse to 3.13 and autofix issues (#35073) 2025-10-06 16:11:01 +02:00
models DEV: Update rubocop-discourse to 3.13 and autofix issues (#35073) 2025-10-06 16:11:01 +02:00
requests DEV: Remove unnecessary rails_helper requires (#33812) 2025-07-24 13:50:04 +02:00
serializers DEV: Fix random typos (#33839) 2025-07-24 22:04:13 +02:00
system FIX: Restore post editing in the new reviewable UI (#35784) 2025-11-05 08:34:32 +08:00
plugin_helper.rb