Add interactive episode selection UI - #4
Merged
Conversation
Implement interactive terminal UI for selecting podcast episodes: - Added Episode struct to represent podcast episodes with title, description, pub_date, and content - Modified get_episodes to return Vec<Episode> instead of directly opening first episode - Created ratatui-based episode selection interface with latest episodes first - Added fallback selection for non-interactive environments - Implemented full flow: podcast selection → episode selection → open episode links - Both podcast and episode selection support arrow keys (↑/↓) or vim keys (j/k) - Visual interface with highlighting and help text - Graceful error handling for RSS feed parsing issues 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
When user presses 'q' or Esc in either selection UI, the application now exits cleanly without opening any links:
- Modified podcast and episode selectors to return Option<usize> instead of usize
- Return None when user quits (q/Esc), Some(index) when user selects
- Updated main flow to handle quit scenarios gracefully
- Added quit option ('q') to fallback text-based selectors
- Display "Exiting without opening any links." message when quitting
This ensures users can exit at any point without accidentally opening unwanted browser tabs.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Updated Cargo.lock to resolve native-tls compatibility issue: - native-tls: 0.2.12 → 0.2.14 (fixes parse2 method not found error) - Updated many other dependencies to latest compatible versions - Resolves GitHub Actions build failure caused by OpenSSL API mismatch The issue was that native-tls v0.2.12 was calling a parse2 method that doesn't exist in the OpenSSL version used in GitHub Actions environment. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Features
Test plan
🤖 Generated with Claude Code