discourse/plugins/automation/app
Sam 8c8bc94ed8
FEATURE: Add automation statistics tracking to Automation (#31921)
introduces comprehensive statistics tracking for the Discourse
Automation plugin, allowing users to monitor the performance and
execution patterns of their automations:

- Add `discourse_automation_stats` table to track execution metrics
including run counts, execution times, and performance data
- Create a new `Stat` model to handle tracking and retrieving automation
statistics
- Update the admin UI to display automation stats (runs today/this
week/month and last run time)
- Modernize the automation list interface using Glimmer components
- Replace the older enable/disable icon with a toggle switch for better
UX
- Add schema annotations to existing models for better code
documentation
- Include extensive test coverage for the new statistics functionality

This helps administrators understand how their automations are
performing and identify potential bottlenecks or optimization
opportunities.

---------

Co-authored-by: Joffrey JAFFEUX <j.jaffeux@gmail.com>
Co-authored-by: Ted Johansson <ted@discourse.org>
2025-03-21 12:53:26 +11:00
..
controllers/discourse_automation FEATURE: Add automation statistics tracking to Automation (#31921) 2025-03-21 12:53:26 +11:00
jobs FIX: Recover from failing automations (#31413) 2025-02-20 12:45:06 +02:00
models/discourse_automation FEATURE: Add automation statistics tracking to Automation (#31921) 2025-03-21 12:53:26 +11:00
serializers/discourse_automation FEATURE: Add automation statistics tracking to Automation (#31921) 2025-03-21 12:53:26 +11:00
services/discourse_automation DEV: Refactor DiscourseAutomation::DestroyAutomation a bit 2024-11-22 16:05:31 +01:00