Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move track commands #678

Open
wants to merge 3 commits into
base: 2.5
Choose a base branch
from
Open

Move track commands #678

wants to merge 3 commits into from

Conversation

nlw0
Copy link

@nlw0 nlw0 commented Jun 19, 2024

Copy link
Member

@ronso0 ronso0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this!

Some notes


.. versionadded:: 2.5.0


Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that the controls seem to be ordered alphabetically, but actually it's better to have them grouped by 'function'/effect. Please move the block down so MoveVertical is below MoveUp again.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh sure, I didn''t realize it was related

@@ -3174,6 +3174,26 @@ Note that :mixxx:coref:`[Library],MoveUp` and other Move and Scroll controls emu
.. versionadded:: 2.1.0


.. mixxx:control:: [Library],MoveTrackUp

Equivalent to pressing the :kbd:`Alt` + :kbd:`Up` key on the keyboard
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure everyone browsing these controls is aware of the new Alt move feature.
I suggest to add more context here in order to make this feature more discoverable.
For example:

Move the track selection up by one row. This is applicable only in (unlocked) Playlists.

Same for down and MoveTrack.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I reworded a bit both texts, what do you think?

Equivalent to pressing the :kbd:`Alt` + :kbd:`Up` key on the keyboard

:range: Binary
:feedback: Move selected track up
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

or put it here (but maybe the explanation is to much for the 'feedback' hint):

Track selection is moved up by one row

What do you think?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I reworded it so it's a bit more like other entries

@ronso0
Copy link
Member

ronso0 commented Jun 20, 2024

Thanks, looks good.

Did you accidentally remove MoveTrack?

@nlw0
Copy link
Author

nlw0 commented Jun 24, 2024

Thanks, looks good.

Did you accidentally remove MoveTrack?

I had not added it at first, it's there now.


Move track selection up or down by one row in the playlist. Equivalent to pressing the :kbd:`Alt` + :kbd:`Up` or :kbd:`Alt` + :kbd:`Down` key on the keyboard. This is applicable only in unlocked playlists.

:range: Binary
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should actually be integer (move by n rows), but I just noticed that this optional factor is not considered in WLibraryTableView::moveCursor().

I've just filed mixxxdj/mixxx#13398

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants