-
Notifications
You must be signed in to change notification settings - Fork 23
Description
Summary
This issue focuses on improving how Zyron communicates progress, status, and errors during execution.
Unlike Phase 1 (visual formatting), this phase improves interaction behavior and feedback flow. The objective is to reduce chat clutter, provide clearer progress indication, and create a more responsive and professional user experience.
All changes remain fully backward compatible and do not modify core command logic.
Problem
Currently:
- Multi-step commands send multiple messages
- Status updates create chat clutter
- Long operations feel opaque
- Errors are not consistently formatted
- Temporary messages remain in chat
- Media and recording actions lack refined feedback
While functional, the interaction experience feels mechanical rather than polished.
Scope of This Issue
This phase introduces smarter feedback patterns and cleaner message lifecycle management.
Included Improvements
1. Progressive Message Editing
Instead of sending new messages for every step, edit existing messages where appropriate.
Example:
Before:
Thinking...
Step 1/3
Step 2/3
Step 3/3
Done
After:
Step 1/3
Step 2/3
Step 3/3
Completed
Benefits:
- Reduces clutter
- Cleaner chat history
- More professional feel
Includes retry logic for network instability.
2. Retry Logic for Message Edits
Implement safe message editing with retry attempts to handle:
- Temporary Telegram API errors
- Network delays
- Timeout conditions
This improves reliability without changing functionality.
3. Auto-Delete Temporary Status Messages
Allow optional automatic deletion for:
- Processing indicators
- Temporary confirmations
- Intermediate execution states
This keeps conversations clean without removing important outputs.
4. Multi-Step Progress Indicators
For chained commands:
Step 2/4
Executing: Browser Scan
Improves transparency during complex operations such as:
- File search + upload
- Browser automation sequences
- Multi-command AI outputs
5. Improved Media Action Feedback
Refine confirmation messages for:
- Play/Pause
- Volume changes
- Track switching
- Mute toggling
Example:
Media
Volume set to 60%
More consistent formatting and persistence of inline buttons.
6. Camera Stream Lifecycle Feedback
Enhancements:
- Clear “stream started” message
- Frame counter tracking
- Summary message when stopped
- Cleaner stop confirmation
Improves transparency during long-running operations.
7. Audio Recording Feedback Improvements
Add clearer state transitions:
- Recording started
- Duration displayed clearly
- Uploading indicator
- Completion confirmation
Improve duration formatting (seconds vs minutes).
8. Standardized Error Messaging
Unify error message structure across all handlers:
Error: [short explanation]
Goals:
- Consistent formatting
- Clear cause
- Avoid vague responses
- Reduce user confusion
Explicitly Out of Scope
This issue does NOT include:
- Keyboard layout changes (Phase 1)
- Section header formatting
- Button grid restructuring
- Helper function refactor (Phase 3)
- Telegram constant modernization
- Major code architecture changes
Technical Approach
Introduce controlled feedback utilities such as:
send_progressive_update()send_status_with_emoji()- Optional auto-delete helper
No business logic changes.
No command execution changes.
Only presentation and interaction flow improvements.
Acceptance Criteria
- Multi-step commands no longer spam new messages
- Status updates are edited in-place when possible
- Temporary messages can auto-delete
- Media and recording feedback is consistent
- Errors follow standardized format
- No functional regression
- No performance degradation
Impact
User Experience:
- Cleaner conversation history
- Clear execution transparency
- Reduced message clutter
- Better long-operation feedback
- More polished interaction feel
Development:
- Centralized feedback logic
- More maintainable status handling
- Improved reliability in network edge cases
This is Phase 2 of the UI modernization roadmap and focuses strictly on interaction flow and feedback behavior.