redesign light music delete - #53
Merged
Merged
Conversation
when run with no flags: - it will fzf your search query against title, album, artist for every track in the library - it will show confirmation screen with the matches; you can pick Y/N to proceed with or cancel the operation, or you can press P to enter an interactive picker where you can fine-tune the selection.
There was a problem hiding this comment.
Pull request overview
Redesigns light music delete to support fuzzy searching with optional interactive selection, adding supporting fuzzy-match and interactive prompt utilities to the CLI TUI package.
Changes:
- Add fuzzy matching utilities (
fuzzy_score,fuzzy_filter) backed byrapidfuzz. - Add interactive selection/confirmation helpers using
InquirerPy. - Update
light music deleteto use fuzzy search by default and introduce--interactivefor manual selection.
Reviewed changes
Copilot reviewed 5 out of 6 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
uv.lock |
Locks new third-party dependencies (inquirerpy, rapidfuzz, and transitive deps). |
light_cli_tui/pyproject.toml |
Declares new runtime dependencies for the CLI TUI package. |
light_cli_tui/light_cli_tui/interactive.py |
New interactive picker + confirm/repick loop helpers. |
light_cli_tui/light_cli_tui/fuzzy.py |
New fuzzy scoring/filtering utilities used by deletion flow. |
light_cli_tui/light_cli_tui/cli.py |
Reworks music delete to use fuzzy matching + optional interactive flow. |
flake.nix |
Adds Nix deps for the package and dev shell. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
No description provided.