discourse/plugins/discourse-post-voting
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
..
app FEATURE: Update the ReviewablePostVotingComment UI (#35675) 2025-10-31 11:50:14 +08:00
assets FEATURE: Update the ReviewablePostVotingComment UI (#35675) 2025-10-31 11:50:14 +08:00
config Update translations (#35791) 2025-11-04 20:11:21 +01:00
db/migrate
extensions
lib DEV: Add discourse-dev seed for post voting reviewable (#35435) 2025-10-21 09:57:05 +08:00
spec FIX: Restore post editing in the new reviewable UI (#35784) 2025-11-05 08:34:32 +08:00
test/javascripts/acceptance FIX: post voting comments editing UX (#35108) 2025-10-01 11:31:19 +02:00
plugin.rb DEV: Add discourse-dev seed for post voting reviewable (#35435) 2025-10-21 09:57:05 +08:00
README.md

Discourse Post Voting

Discourse Post Voting allows the creation of topics with votable posts.

image

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.