-
Notifications
You must be signed in to change notification settings - Fork 2
Implement UI auto-detection and fallback logic #312
Copy link
Copy link
Open
Description
Description
Add smart auto-detection to choose between web UI and TUI based on environment.
Tasks
- Implement is_ssh_session() detection
- Implement has_browser() check
- Add DEVAIFLOW_PREFER_TUI env var support
- Implement should_use_web_ui() logic
- Add graceful fallback (web → TUI)
- Update
daf configcommand with auto-detection - Add --web and --tui explicit flags
- Add user feedback messages
Acceptance Criteria
- SSH sessions auto-select TUI
- Local sessions auto-select web UI
- DEVAIFLOW_PREFER_TUI=1 forces TUI
- --web flag forces web UI
- --tui flag forces TUI
- Web UI failure falls back to TUI gracefully
- Clear messages explain UI selection
- Both UIs remain fully functional
Estimated Effort: 2-3 days
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels