Conversation
- Updated README to reflect changes in track addition to playlists and queues. - Implemented logic to resolve tracks for adding to playlists, including fallback to currently playing or selected queue tracks. - Added functionality to auto-create a default playlist when adding tracks if none exist. - Improved playlist modal navigation and item management, including renaming and creating playlists. - Refactored UI rendering for better layout handling based on terminal size. - Enhanced visual elements with updated color themes and styles for better readability. - Added new keyboard shortcuts for playlist operations and improved status messages for user feedback. - Cleaned up code structure for better maintainability and readability.
- Added `active_playlist_id` and `active_playlist_name` to `AppSession` for better state management. - Removed unused imports and functions related to queue handling in the UI. - Simplified playlist creation and selection logic in the UI state. - Enhanced the playlist modal to handle adding tracks more intuitively. - Updated rendering logic to focus on "Now Playing" instead of "Queue" when in playlist modal. - Cleaned up code by removing redundant queue-related methods and states. - Improved user feedback and status messages during playlist operations.
- Introduced new methods for drawing primary panels and now playing sections in `chrome.rs` to reduce code duplication. - Updated list item styling in `lists.rs` to use a unified background color method for library panels. - Enhanced playback information display in `playback.rs` by breaking down logic into smaller methods for clarity and maintainability. - Improved playlist modal handling in `playlists.rs` by adding new modal modes for creating and confirming deletions, along with a method for fitting text to modal widths. - Added new themes (Cyber, Lava, Aurora, Candy, Prism) in `theme.rs` with corresponding color definitions. - Updated visualizer panel styles in `visualizer.rs` to utilize new theme colors for better visual consistency. - Enhanced state management in `model.rs` and `playlists.rs` to support new playlist modal functionalities and track labeling.
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
Describe what changed and why.
Testing
cargo fmtcargo testcargo clippy --all-targets --all-features -- -D warningsDocs Impact
If docs follow-up is required, explain:
Release/Readiness Checklist
docs/README.mdor explicit release notes path)config/docs-sync-checklist.mdreviewed/updated for this change