mirror of
https://github.com/aome510/spotify-player.git
synced 2026-04-26 17:35:50 +03:00
[PR #131] [MERGED] Added more navigation commands #1572
Labels
No labels
bug
documentation
enhancement
good first issue
help wanted
pull-request
question
third-party
third-party
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-player#1572
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/aome510/spotify-player/pull/131
Author: @aome510
Created: 2/13/2023
Status: ✅ Merged
Merged: 2/14/2023
Merged by: @aome510
Base:
master← Head:more-navigation-commands📝 Commits (10+)
ad06e1eaddpage_size_in_rowsconfig optiona4de9c7addPageSelectNextOrScrollDownandPageSelectPreviousOrScrollUpcommands5ddb7b5add.dir-localscbad883bound the lyric page's scroll offset to the lyric paragraph's number of rows2c548afintroducehandle_navigation_commands_for_pagemacro to avoid code duplication49c1f22add handlers for page navigation commands51ada3fhandle page navigation commands for command help popup and lyric page6638196Merge remote-tracking branch 'origin/master' into more-navigation-commands7c45706cleanup18bdc7dignoreclippywarning forhandle_command_for_track_table_window📊 Changes
12 files changed (+257 additions, -146 deletions)
View changed files
➕
.dir-locals.el(+4 -0)📝
README.md(+51 -47)📝
docs/config.md(+1 -0)📝
examples/app.toml(+1 -0)📝
spotify_player/src/command.rs(+17 -0)📝
spotify_player/src/config/keymap.rs(+32 -0)📝
spotify_player/src/config/mod.rs(+4 -0)📝
spotify_player/src/event/mod.rs(+0 -1)📝
spotify_player/src/event/page.rs(+64 -14)📝
spotify_player/src/event/popup.rs(+20 -2)📝
spotify_player/src/event/window.rs(+24 -50)📝
spotify_player/src/ui/page.rs(+39 -32)📄 Description
Resolves #127
Changes
PageSelectNextOrScrollDownPageSelectPreviousOrScrollUpSelectFirstOrScrollToTopSelectLastOrScrollToBottompage_size_in_rowsconfig option to control the behavior of page navigation commandshandle_navigation_commands_for_pageto reduce the code duplication when implementing handlers for navigation commands🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.