mirror of
https://github.com/Rigellute/spotify-tui.git
synced 2026-04-25 23:55:53 +03:00
[PR #767] [CLOSED] Implement movement counts for up/down navigation #1024
Labels
No labels
bug
enhancement
good first issue
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-tui#1024
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Rigellute/spotify-tui/pull/767
Author: @amgassert
Created: 3/18/2021
Status: ❌ Closed
Base:
master← Head:movement_counts📝 Commits (2)
839baf0Implement movement counts for up/down navigation82f8755Add .idea/ to .gitignore📊 Changes
18 files changed (+213 additions, -46 deletions)
View changed files
📝
.gitignore(+1 -0)📝
src/app.rs(+2 -0)📝
src/handlers/album_list.rs(+11 -4)📝
src/handlers/album_tracks.rs(+5 -0)📝
src/handlers/artist.rs(+7 -0)📝
src/handlers/artist_albums.rs(+2 -0)📝
src/handlers/artists.rs(+11 -4)📝
src/handlers/common_key_events.rs(+94 -14)📝
src/handlers/episode_table.rs(+11 -4)📝
src/handlers/library.rs(+7 -2)📝
src/handlers/made_for_you.rs(+11 -4)📝
src/handlers/playlist.rs(+11 -4)📝
src/handlers/podcasts.rs(+11 -4)📝
src/handlers/recently_played.rs(+3 -0)📝
src/handlers/search_results.rs(+11 -0)📝
src/handlers/select_device.rs(+10 -4)📝
src/handlers/track_table.rs(+3 -0)📝
src/user_config.rs(+2 -2)📄 Description
Overview
Implements movement counts for up/down navigation. E.g. pressing "5j" moves the selection index down by five, and "5k" moves it up by five. I plan to add absolute and relative line numbering eventually to make this feature more useful.
Testing
Added some tests.
cargo testpasses.I manually checked the following:
I'm pretty sure I got every list. Please double-check and let me know if I missed anything.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.