mirror of
https://github.com/aome510/spotify-player.git
synced 2026-04-26 09:25:49 +03:00
[PR #471] [MERGED] Add actions to keymap configuration #769
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#769
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/471
Author: @juliamertz
Created: 6/20/2024
Status: ✅ Merged
Merged: 6/23/2024
Merged by: @aome510
Base:
master← Head:feat-action-binds📝 Commits (10+)
cef8a4fMerge action types into single enum27d6b2aSeperate action handler from ActionListd962c76Add function to get current context for action35218c6Handle action keymaps from config31264cdAdd docs22564e9Refactor action context functionef876a3Update spotify_player/src/config/keymap.rs4be78fdfix mistakeddfae97add docs to functionsf52f270fix: filter items before handling action📊 Changes
10 files changed (+660 additions, -311 deletions)
View changed files
📝
README.md(+23 -4)📝
docs/config.md(+17 -0)📝
spotify_player/src/command.rs(+85 -64)📝
spotify_player/src/config/keymap.rs(+62 -4)📝
spotify_player/src/event/clipboard.rs(+13 -1)📝
spotify_player/src/event/mod.rs(+205 -13)📝
spotify_player/src/event/page.rs(+139 -24)📝
spotify_player/src/event/popup.rs(+16 -193)📝
spotify_player/src/event/window.rs(+96 -4)📝
spotify_player/src/state/ui/popup.rs(+4 -4)📄 Description
Resolves #428
Since this PR is quite large i split it up into smaller commits to hopefully make it easier to understand.
The AddSelectedItemToQueue command could now be removed and replaced with an action keymap, although this might break some people's configurations.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.