discourse/app/assets/javascripts/admin/addon
Martin Brennan 35343e7f91
FIX: Improve emoji upload UI (#15603)
This commit adds a hover effect for drag and drop in
the admin emoji uploader. It also changes the "Add New
Emoji" button to open the file selector; previously it
was useless because it was disabled unless a name was
entered (which is not even a requirement for the emoji)
and also it didn't actually do anything on click even
if it wasn't disabled.

Now we have a way of adding files without having to drag
and drop them, which is nice.

Also in this PR, there was no indication before that the upload was
complete apart from the button becoming enabled again.
This commit adds the highlight class to the emoji list
and removes it once the highlight fade animation is done,
like we do for new posts.
2022-01-17 11:48:49 +10:00
..
adapters REFACTOR: Support bundling our `admin` section as an ember addon 2020-09-22 15:14:29 -04:00
components FEATURE: Automatic admin editor dark mode (#15419) 2021-12-29 11:02:37 -05:00
controllers FIX: Improve emoji upload UI (#15603) 2022-01-17 11:48:49 +10:00
helpers DEV: prettier 2.2.1 (#11862) 2021-01-27 12:39:20 +01:00
mixins REFACTOR: setting component mixin (#14437) 2021-09-27 10:43:26 +02:00
models FEATURE: Search screened IP address in blocks (#15461) 2022-01-11 09:16:51 +02:00
routes DEV: Use method definition syntax consistently (#14915) 2021-11-13 14:01:55 +01:00
services DEV: Avoid unnecessary `site-settings:main` lookups (#15006) 2021-11-18 17:11:59 +01:00
templates FEATURE: Search screened IP address in blocks (#15461) 2022-01-11 09:16:51 +02:00