-
Notifications
You must be signed in to change notification settings - Fork 1
feat: add test button for AI summary notification in settings #32
Copy link
Copy link
Open
Labels
featureNew feature or functionalityNew feature or functionality
Description
Add a test button in AI Settings to test AI summary notification generation, similar to the existing "Test Connection" button.
Details
- Add "Test Summary" button in Summary Notifications section below the prompt field
- Use yesterday's usage data with configured prompt to generate test summary
- Display generated summary in result area with success/failure states and appropriate icons
- Include loading state with progress indicator during generation
- Button disabled when notifications disabled, AI config missing, or prompt empty
- Reuse existing OpenAI service integration and usage aggregation logic from NotificationService
- Follow TestResult pattern for consistent UI display
- Include API error handling and user warnings about potential costs
This allows users to validate their AI summary configuration before enabling scheduled notifications.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
featureNew feature or functionalityNew feature or functionality