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

feat(channelGroups): allow re-ordering of groups #4551

Merged
merged 5 commits into from
Aug 20, 2023

Conversation

FineFindus
Copy link
Contributor

@FineFindus FineFindus commented Aug 19, 2023

Addresses #3558 by allowing channel groups to be rearranged using DnD.

libretube_reorder_channel_groups.mp4

This will currently update all groups in the database, this may cause problems with larger sets of groups, in which case it may be worth checking which groups need updating.
Due to the other issues listed in #3558 with the Ui, I did not add drag handles.

@Bnyro
Copy link
Member

Bnyro commented Aug 20, 2023

It's not yet self-explaining to users that it's possible to reorder them - I think we should add an indicator for that like it's present in the queue bottom sheet or in the navigation bar order options dialog.

@FineFindus
Copy link
Contributor Author

Channel group bottom sheet with drag handle
I initially didn't add due to the already listed UI issues in #3558, as I didn't want to add another icon to the already crowded list of icons.

@Silther
Copy link
Contributor

Silther commented Aug 20, 2023

Screenshot_20230820_131243_LibreTube Debug.png

Those icons could also be used.

@Bnyro
Copy link
Member

Bnyro commented Aug 20, 2023

Channel group bottom sheet with drag handle I initially didn't add due to the already listed UI issues in #3558, as I didn't want to add another icon to the already crowded list of icons.

I get that, but there's no other way to tell users that they can re-order these.

The drag handle should be at the left though, so that it can be clearly distinguished from the edit and delete icon.

Copy link
Collaborator

@Isira-Seneviratne Isira-Seneviratne left a comment

Choose a reason for hiding this comment

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

Looks good to me overall, added a couple of small suggestions.

@Bnyro Bnyro merged commit 976d5d3 into libre-tube:master Aug 20, 2023
4 checks passed
@FineFindus FineFindus deleted the feat/reorder-channel-groups branch August 20, 2023 14:19
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.

4 participants