lemmy-ui/src/shared/utils
SleeplessOne1917 8594a30a53
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>
2023-12-06 18:17:02 -05:00
..
app Moderation/content action overhaul (#2258) 2023-12-06 18:17:02 -05:00
browser Update bs theme when site theme is changed (#2226) 2023-11-17 09:35:43 -05:00
env Upgrading deps. (#2233) 2023-11-23 22:03:28 -05:00
helpers Moderation/content action overhaul (#2258) 2023-12-06 18:17:02 -05:00
media utils.ts organization, round two (#1427) 2023-06-21 18:28:24 -04:00
roles Moderation/content action overhaul (#2258) 2023-12-06 18:17:02 -05:00
types Moderation/content action overhaul (#2258) 2023-12-06 18:17:02 -05:00