discourse/app/assets/javascripts/admin/addon
Krzysztof Kotlarek 1f1709d249
FIX: use a custom prefix for custom flags (#28839)
Currently, when the custom flag has the same name as the system flag (which is disabled) then it is not displayed. To fix the problem, `custom_` prefix as `name_key` is used to distinguish between the system and the custom flag.

I considered writing a migration to fix existing custom flags name key. However, at the end of migration I would need to run rails code to reset cache `Flag.reset_flag_settings!`. I decided to skip that step as it is a very edge case. If someone has the same flag name as the system flag, then all they have to do is edit the flag and click save.

In addition, I made 2 small fixes:
- edit flag title was missing translation;
- flag form UI was not showing that description is the required field.
2024-09-11 15:30:20 +10:00
..
adapters FEATURE: Add Filter for Webhook Events by Status (#27332) 2024-06-07 10:26:00 -05:00
components FIX: use a custom prefix for custom flags (#28839) 2024-09-11 15:30:20 +10:00
controllers UX: Hide 'other' and 'crawler' site traffic on report page (#28817) 2024-09-10 14:31:51 +10:00
helpers DEV: replace registerUnbound usage with default exports (#23802) 2023-10-19 14:28:25 +01:00
lib DEV: Convert admin charts to glimmer/gjs (#28271) 2024-08-23 14:59:56 +02:00
mixins FIX: Make cancel and reset buttons work for file_size_restriction settings (#28347) 2024-08-15 19:38:47 +03:00
models FEATURE: Log tag group changes in staff action log (#28787) 2024-09-09 10:50:48 +08:00
routes FEATURE: Convert chat plugin UI to new show plugin and admin UI guidelines (#28632) 2024-09-10 15:16:16 +10:00
services UX: Change admin plugins list to follow UI guidelines (#28478) 2024-08-30 14:53:36 +10:00
templates DEV: Add component tests for admin page header components (#28837) 2024-09-11 13:27:58 +10:00