-
Notifications
You must be signed in to change notification settings - Fork 12
feat: site metrics for audits, opportunities and suggestions - POC #1512
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
This PR will trigger no release when merged. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR introduces a new Slack command site-metrics that retrieves and displays comprehensive metrics for a site including audits, opportunities, and suggestions with optional date range filtering.
Key changes:
- New command implementation with input validation, date filtering, and detailed breakdown displays
- Comprehensive test coverage including validation, metrics retrieval, empty results, and error handling
- Command registration in the commands index
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| src/support/slack/commands/site-metrics.js | Implements the site-metrics Slack command with date range filtering and metrics aggregation |
| test/support/slack/commands/site-metrics.test.js | Comprehensive test suite covering all command functionality and edge cases |
| src/support/slack/commands.js | Registers the new site-metrics command in the commands list |
No description provided.