2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-08-17 18:04:11 +08:00
discourse/lib/reviewable
Gary Pendergast 7514dc810a
DEV: Unify reviewable action definition. (#34166)
This is a step towards unifying how reviewable types are defined.

In this change, we add a new `ReviewableActionBuilder` concern, which can be included by the various reviewable types to give them a standard helper for adding actions that can be performed on the reviewable.

The first feature for this concern takes the `build_action()` helper that some reviewables used, and makes it available to all reviewables. This is done in a backward compatible fashion, so it will work even whilst we transition to the new reviewable UI.
2025-08-11 15:05:37 +10:00
..
actions.rb DEV: Unify reviewable action definition. (#34166) 2025-08-11 15:05:37 +10:00
collection.rb FIX: Don't mix up action labels between different reviewables (#23365) 2023-09-06 10:57:30 +08:00
conversation.rb
editable_fields.rb FIX: Don't mix up action labels between different reviewables (#23365) 2023-09-06 10:57:30 +08:00
perform_result.rb DEV: Apply syntax_tree formatting to lib/* 2023-01-09 12:10:19 +00:00