mirror of
https://github.com/aome510/spotify-player.git
synced 2026-04-26 01:15:55 +03:00
[PR #173] [MERGED] Support selecting an action in action list popup using '0' to '9' #1591
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#1591
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/173
Author: @aome510
Created: 3/28/2023
Status: ✅ Merged
Merged: 3/28/2023
Merged by: @aome510
Base:
master← Head:add-keymaps-to-actions-menu📝 Commits (4)
99b491dupdateexecute_copy_commandto take reference toconfig::Command5a9ab21move the action handling codes intohandle_nth_actionfunction01c91adsupport selecting an action in a popup with key from '0' to '9'af4ae0acleanup📊 Changes
3 files changed (+242 additions, -210 deletions)
View changed files
📝
spotify_player/src/event/popup.rs(+238 -207)📝
spotify_player/src/state/ui/popup.rs(+1 -1)📝
spotify_player/src/ui/popup.rs(+3 -2)📄 Description
Resolves #156
Note: base-10 digit keys are enough for now because the number of actions doesn't exceed 10. However, in the future when we support more actions, this needs to be changed (maybe use hex or bigger radix digits instead).
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.