mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 00:11:30 +08:00
FEATURE: the ability to change the order of flags (#27269)
Continued work on moderate flags UI. In this PR admins are allowed to change the order of flags. The notify user flag is always on top but all other flags can be moved.
This commit is contained in:

committed by
GitHub

parent
c1ecbb8d28
commit
aa88b07640
@ -164,6 +164,8 @@ task "javascript:update_constants" => :environment do
|
||||
export const MAX_NOTIFICATIONS_LIMIT_PARAMS = #{NotificationsController::INDEX_LIMIT};
|
||||
|
||||
export const TOPIC_VISIBILITY_REASONS = #{Topic.visibility_reasons.to_json};
|
||||
|
||||
export const SYSTEM_FLAG_IDS = #{PostActionType.types.to_json}
|
||||
JS
|
||||
|
||||
pretty_notifications = Notification.types.map { |n| " #{n[0]}: #{n[1]}," }.join("\n")
|
||||
|
Reference in New Issue
Block a user