discourse/app/assets/javascripts/admin
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
..
addon DEV: Consolidate AdminEmailLogs controllers into EmailLogsList (#35399) 2025-10-15 16:10:38 -03:00
app
.npmrc
ember-cli-build.js DEV: Update ember-cli to 4.12.0 (#21074) 2023-04-19 12:58:29 +02:00
index.js DEV: @babel/plugin-proposal-decorators -> decorator-transforms (#27260) 2024-06-10 15:51:48 +01:00
package.json DEV: Pin Webpack to 5.99.9 (again) (#35106) 2025-10-01 09:25:13 +01:00