-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Enhancement Description
The AEA monitor script currently only logs messages to the terminal when new messages are detected. Adding desktop notification support would greatly improve the user experience by providing visual alerts even when the terminal is not in focus.
Proposed Changes
Add optional desktop notification support to scripts/aea-monitor.sh when new AEA messages are detected:
# Optional: Send desktop notification if available
if command -v notify-send &> /dev/null; then
notify-send "AEA Monitor" "New messages in $project_name" -i dialog-information -t 10000
fiBenefits
- Improved User Experience: Users get immediate visual feedback about new messages without constantly watching the terminal
- Non-intrusive: Only triggers if
notify-sendis available (Linux desktop environments) - Configurable: Can be easily disabled or customized
- Cross-platform potential: Could be extended to support macOS (
osascript) and Windows notifications
Implementation Details
The enhancement has been tested in a production environment and works reliably. The notification:
- Shows for 10 seconds (configurable)
- Displays the project name where messages are waiting
- Uses standard dialog-information icon
- Only triggers when
notify-sendcommand is available
Additional Considerations
Future enhancements could include:
- Configuration option to enable/disable notifications
- Custom notification icons for different message types
- Sound alerts for urgent messages
- Integration with other notification systems (Growl, Windows Toast, etc.)
Testing
Tested on Ubuntu 22.04 with GNOME desktop environment. The notification appears correctly and doesn't interfere with the monitor's core functionality.
Would you like me to submit a pull request with this enhancement?
Copilot
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request