discourse/app/assets/javascripts/admin/addon/controllers
Sérgio Saquetim 47fc8adb5c
DEV: Consolidate AdminEmailLogs controllers into EmailLogsList (#35399)
This commit updates the email logs functionality, primarily
simplifying and improving the code structure by removing redundant
classes and methods. It introduces new utility functions for handling
arrays uniquely and enhances the readability and maintainability of the
codebase.

**Main Changes:**

- Refactored email-logs-list.gjs to use @trackedArray and
addUniqueValuesToArray for cohesive array updates.
- Removed redundant controller files (e.g., admin-email-logs,
subcontrollers for specific statuses, corresponding routes) because
their functionality was unified into the `EmailLogsList` component,
which is in fact responsible for fetching the data.
- Refactored array-tools to include:
  * New utility methods: addUniqueValueToArray, addUniqueValuesToArray.
  * Improved validation and typed errors for consistency.
- Enhanced unit tests in array-tools-test.js to validate added
functionality for unique array modifications.
2025-10-15 16:10:38 -03:00
..
admin DEV: Standardize Ember route, controller and template naming (#34417) 2025-09-25 11:27:45 +01:00
admin-analytics DEV: Standardize Ember route, controller and template naming (#34417) 2025-09-25 11:27:45 +01:00
admin-api-keys DEV: Replace deprecated Ember's array filterBy with filter (#35018) 2025-09-29 16:42:38 -03:00
admin-badges DEV: Add Settings tab to admin Badges page (#32251) 2025-04-21 09:41:29 +08:00
admin-config UX: Better separate login and authentication settings (#33711) 2025-10-09 15:29:21 -04:00
admin-customize-email-style DEV: Standardize Ember route, controller and template naming (#34417) 2025-09-25 11:27:45 +01:00
admin-customize-form-templates DEV: Standardize Ember route, controller and template naming (#34417) 2025-09-25 11:27:45 +01:00
admin-customize-themes UX: show SCSS files in theme admin "extra files" section (#35300) 2025-10-09 16:18:03 -04:00
admin-email DEV: Standardize Ember route, controller and template naming (#34417) 2025-09-25 11:27:45 +01:00
admin-email-templates UX: Replace dropdown with a dedicated index page for email templates (#35284) 2025-10-13 13:05:26 +03:00
admin-embedding DEV: Remove unused service injections (#34750) 2025-10-08 13:31:41 +02:00
admin-emojis DEV: Standardize Ember route, controller and template naming (#34417) 2025-09-25 11:27:45 +01:00
admin-groups DEV: Standardize Ember route, controller and template naming (#34417) 2025-09-25 11:27:45 +01:00
admin-logs DEV: Standardize Ember route, controller and template naming (#34417) 2025-09-25 11:27:45 +01:00
admin-permalinks DEV: Standardize Ember route, controller and template naming (#34417) 2025-09-25 11:27:45 +01:00
admin-plugins DEV: Remove unused service injections (#34750) 2025-10-08 13:31:41 +02:00
admin-reports DEV: Standardize Ember route, controller and template naming (#34417) 2025-09-25 11:27:45 +01:00
admin-search DEV: Standardize Ember route, controller and template naming (#34417) 2025-09-25 11:27:45 +01:00
admin-search-logs DEV: Standardize Ember route, controller and template naming (#34417) 2025-09-25 11:27:45 +01:00
admin-site-text DEV: Standardize Ember route, controller and template naming (#34417) 2025-09-25 11:27:45 +01:00
admin-user DEV: Replace deprecated Ember's native array.get and .set (#35000) 2025-10-08 16:21:14 -03:00
admin-users DEV: Standardize Ember route, controller and template naming (#34417) 2025-09-25 11:27:45 +01:00
admin-users-list DEV: Remove unused service injections (#34750) 2025-10-08 13:31:41 +02:00
admin-watched-words DEV: Standardize Ember route, controller and template naming (#34417) 2025-09-25 11:27:45 +01:00
admin-web-hooks DEV: Remove unused service injections (#34750) 2025-10-08 13:31:41 +02:00
edit-category DEV: Move edit-category route to admin bundle (#35374) 2025-10-14 19:23:14 +01:00
admin-api-keys.js DEV: Move User API admin settings into API keys page (#32232) 2025-04-10 10:40:25 +08:00
admin-area-settings-base.js FEATURE: Initial version of experimental admin search (#31299) 2025-02-21 11:59:24 +10:00
admin-badges.js DEV: Add Settings tab to admin Badges page (#32251) 2025-04-21 09:41:29 +08:00
admin-config-logo-settings.js UX: Admin setting page consistency - Site Logo (#30567) 2025-01-06 15:45:19 +11:00
admin-config-user-api-settings.js UX: Admin setting page consistency - User API (#30610) 2025-01-07 16:05:54 +11:00
admin-customize-form-templates.js DEV: Standardize Ember route, controller and template naming (#34417) 2025-09-25 11:27:45 +01:00
admin-customize-robots-txt.js DEV: refactor usage of buffered-content mixin (#31926) 2025-03-21 09:06:26 +08:00
admin-customize-themes.js DEV: remove old themes/components code (#32875) 2025-05-26 09:21:15 +08:00
admin-dashboard-tab.js DEV: Convert AdminReport component to gjs (#31011) 2025-01-29 10:33:43 +10:00
admin-embedding.js UX: admins embedding page follows admin ux guideline (#30122) 2025-01-06 13:01:08 +11:00
admin-emojis.js DEV: Modernize admin emoji JavaScript (#29714) 2024-11-19 15:44:34 +08:00
admin-groups.js DEV: Add dedicated admin groups page (#32377) 2025-04-22 11:23:25 +08:00
admin-permalinks.js DEV: Standardize Ember route, controller and template naming (#34417) 2025-09-25 11:27:45 +01:00
admin-plugins.js FIX: Only include custom plugin config routes in tabs for old show page (#31213) 2025-02-06 10:03:01 +08:00
admin-reports.js DEV: Add Dashboard settings tab to Reports page (#32235) 2025-04-10 10:41:12 +08:00
admin-search-logs.js DEV: Standardize Ember route, controller and template naming (#34417) 2025-09-25 11:27:45 +01:00
admin-search.js DEV: Standardize Ember route, controller and template naming (#34417) 2025-09-25 11:27:45 +01:00
admin-site-settings-category.js DEV: Change admin site settings filter to be route based (#33167) 2025-06-16 11:20:38 +08:00
admin-site-settings.js DEV: Change admin site settings filter to be route based (#33167) 2025-06-16 11:20:38 +08:00
admin-site-text.js DEV: Standardize Ember route, controller and template naming (#34417) 2025-09-25 11:27:45 +01:00
admin-user.js DEV: Update lint-configs and rubocop-discourse (#31728) 2025-03-10 19:52:19 +01:00
admin-watched-words.js DEV: Move discourse-common/config/environment to discourse/lib (#30738) 2025-01-13 15:29:26 +00:00
admin-web-hooks.js DEV: Update admin controllers to native class syntax (#20674) 2023-03-15 09:42:12 +00:00
admin.js FIX: remove admin_sidebar_enabled_groups setting (#31693) 2025-03-11 11:41:38 +11:00
settings.js UX: Better separate login and authentication settings (#33711) 2025-10-09 15:29:21 -04:00