Moderation menu #310
Implements dropdown menu as per #310 (closed) discussion.
Complementary backend MR for changing activation status API: pleroma!843 (merged)
Additional backend MR needed for the "deactivated" status in the user view pleroma!874 (merged) (should be merged first, the FE depends on it)
Visibility table. If an action is not applicable to the given user type, FE doesn't show it in the menu.
I have run tests on internal and external users to see which actions are applicable to which user type but corrections are welcome!
|Menu item||Applicable to user type||Video|
|Grant Admin||local||local user|
|Grant Moderator||local||local user|
|Deactivate account||local and external||local user external user|
|Delete account||local and external||local user external user from timeline|
|Force posts to be NSFW||local and external||local user external user|
|Force posts not to have media||local and external||local user external user|
|Force posts to be unlisted||local and external||local user external user|
|Force posts to be followers-only||local and external||local user external user|
|Disallow following user from remote instances||local||local user|
|Disallow following user at all||local|
"Disallow user posts from federating" - apparently it's not implemented yet, should we add it later?
Screenshots for different themes
|Themed dropdown menu||Themed Delete User dialog|
|Pleroma Dark||Pleroma Dark|
|Pleroma Light||Pleroma Light|
|Classic Dark||Classic Dark|
|Ir Black||Ir Black|
|Remond XX||Redmond XX|
|Breezy Dark||Breezy Dark|
|Breezy Light||Breezy Light|
Mobile Video: https://cl.ly/115b0517fe3f