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:
Krzysztof Kotlarek
2024-06-05 13:27:06 +10:00
committed by GitHub
parent c1ecbb8d28
commit aa88b07640
21 changed files with 352 additions and 11 deletions

View File

@ -54,7 +54,7 @@ Flag.seed do |s|
s.custom_type = true
s.applies_to = %w[Post Topic Chat::Message]
end
Flag.seed do |s|
Flag.unscoped.seed do |s|
s.id = 9
s.name = "needs_approval"
s.position = 6