Commit Graph

15 Commits

Author SHA1 Message Date
Bendt
b1cd99abf2 style: Apply ruff auto-fixes for Python 3.12
- Update type annotations to modern syntax (dict, list, X | Y)
- Remove unnecessary elif after return
- Minor style improvements

Note: Some linting warnings remain (unused content param, inline conditions)
but these are minor style issues and do not affect functionality.
All tests pass with these changes.
2025-12-28 10:55:31 -05:00
Bendt
1c1b86b96b feat: Add notification email compression feature
Add intelligent notification email detection and compression:
- Detect notification emails from GitLab, GitHub, Jira, Confluence, Datadog, Renovate
- Extract structured summaries from notification emails
- Compress notifications into terminal-friendly markdown format
- Add configuration options for notification compression mode

Features:
- Rule-based detection using sender domains and subject patterns
- Type-specific extractors for each notification platform
- Configurable compression modes (summary, detailed, off)
- Integrated with ContentContainer for seamless display

Files added:
- src/mail/notification_detector.py: Notification type detection
- src/mail/notification_compressor.py: Content compression

Modified:
- src/mail/config.py: Add notification_compression_mode config
- src/mail/widgets/ContentContainer.py: Integrate compressor
- src/mail/app.py: Pass envelope data to display_content
- PROJECT_PLAN.md: Document new feature
2025-12-28 10:49:25 -05:00
Bendt
504e0d534d project plan 2025-12-24 15:28:44 -05:00
Bendt
2b76458de1 wip 2025-12-20 16:30:39 -05:00
Bendt
c5202793d4 Update PROJECT_PLAN.md: mark calendar search feature as completed 2025-12-19 16:34:40 -05:00
Bendt
599507068a Update PROJECT_PLAN.md: mark tasks search feature as completed 2025-12-19 16:31:04 -05:00
Bendt
1337d84369 Update PROJECT_PLAN.md: mark subject styling as completed 2025-12-19 16:27:24 -05:00
Bendt
4836bda9f9 Add cursor hour header highlighting in calendar week view 2025-12-19 16:25:42 -05:00
Bendt
9f596b10ae Add folder message counts to mail app sidebar 2025-12-19 16:24:56 -05:00
Bendt
994e545bd0 Add toggle read/unread action with 'u' keybinding in mail app 2025-12-19 16:18:09 -05:00
Bendt
fb0af600a1 Update PROJECT_PLAN.md: mark sync TUI default as completed 2025-12-19 16:16:44 -05:00
Bendt
39a5efbb81 Add 'r' keybinding to refresh mail message list 2025-12-19 16:16:12 -05:00
Bendt
b903832d17 Update PROJECT_PLAN.md: mark URL compression as completed 2025-12-19 16:15:39 -05:00
Bendt
b9d818ac09 Update PROJECT_PLAN.md: mark Phase 1 items as completed 2025-12-19 15:58:04 -05:00
Bendt
d4226caf0a Complete Phase 1: parallel sync, IPC, theme colors, lazy CLI loading
- Sync: Parallelize message downloads with asyncio.gather (batch size 5)
- Sync: Increase HTTP semaphore from 2 to 5 concurrent requests
- Sync: Add IPC notifications to sync daemon after sync completes
- Mail: Replace all hardcoded RGB colors with theme variables
- Mail: Remove envelope icon/checkbox gap (padding cleanup)
- Mail: Add IPC listener for refresh notifications from sync
- Calendar: Style current time line with error color and solid line
- Tasks: Fix table not displaying (CSS grid to horizontal layout)
- CLI: Implement lazy command loading for faster startup (~12s to ~0.3s)
- Add PROJECT_PLAN.md with full improvement roadmap
- Add src/utils/ipc.py for Unix socket cross-app communication
2025-12-19 10:29:53 -05:00