feat: add context menu on left controls and sidebar image #1114
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.
On many platforms, right-clicking on the cover or title of a song displays the classic context menu, as shown when clicking on the small (and not very accessible) button next to the song title.
This provides an intuitive access to the context menu and its options.
I suggest adding this context menu when right-clicking on the cover (in collapsed and expanded mode) and the title. As is the case on various platforms, clicking outside the context menu does not cancel the action of the element behind it, so if the user wants to close the context menu, they must click in a neutral area. I imagine this is acceptable behavior because it is in line with the usage habits specific to the design systems of many applications.
Here are some screenshots:
Right click on title
Right click on collapsed image
Right click on expanded image