Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moderation/content action overhaul (#2258)
* Fix remove post dialog * Consolidate mod action logic * Make mod action form less janky * Move content action dropdown to its own component * Make reusable component for content action buttons * Finish up mod dropdown * Introduce new content dropdown component to post listing * Fix cancel moderation button bug * Add icons, tweak UI * Handle delete/undelete icons * The thing * Fix some of the banning related bugs * Fix mod form ban bugs * Fix some more bugs * Make comments use dropdown menu * Use mod action form with comments * Make confirmation modal * Make all the mod action dialogs modals * Tweak modal * Fix bug with mod form submit * Tweak modal more * More modal tweaking and some feedback toasts * Use icon pairs for on/off * Make modals auto focus input * Implement PR suggestions * Make UI use async functions where needed * Make loading state for context action modals * Hide context actions that users should not be able to do * Add loading state to confirmation modals * Use updated translations * PR feedback * Add forgotten trnslations * Fix scrolling bug --------- Co-authored-by: SleeplessOne <insomnia-void@protonmail.com>
- Loading branch information