FreeTube icon indicating copy to clipboard operation
FreeTube copied to clipboard

[Feature Request]: Remember the Playlists "Sort By" selection between sessions

Open profucius opened this issue 10 months ago • 13 comments

Guidelines

  • [X] I have searched the issue tracker for open and closed issues that are similar to the feature request I want to file, without success.
  • [X] I have searched the documentation for information that matches the description of the feature request I want to file, without success.
  • [X] This issue contains only one feature request.

Problem Description

Currently, the Sort By dropdown selection box forgets the chosen selection between sessions (close Freetube and then launch again). It always defaults to "Recently Played". I want it to remember which choice was last selected between sessions.

Proposed Solution

Make it remember the last chosen selection.

You can implement this similarly to this: In the beta build 4242 (at least), within a playlist there is another "Sort By" dropdown selection box. This selection does remember the last chosen selection between sessions.

Alternatives Considered

No alternatives.

Issue Labels

improvement to existing feature

Additional Information

image

profucius avatar Apr 23 '24 18:04 profucius

Inviting discussion from other contributors, but I think this is a reasonable change. If someone changed that sort, they probably would want to keep it. This is especially relevant for #4594, where we wouldn't want the sort order of the inline playlists reverting if it was changed in a given session.

kommunarr avatar Apr 23 '24 18:04 kommunarr

The add to playlist window also has a sort by that works in the same way as the OP described. Should we also change that? Im not sure

Edit: im fine with the change for this page

The add to playlist window also has a sort by that works in the same way as the OP described. Should we also change that?

I honestly think if we make the Playlist search UX more compact, we do not need either the Add Video to Playlist search bar or sort dropdown. So I think it's fine that we keep it the same for now. That, and that mode is far more transient than this, I would say.

kommunarr avatar Apr 23 '24 19:04 kommunarr

Would it also be possible to also remember the sorting of it when you played a playlist. Like when you sort latest added first when you play the playlist it would also be the same

ArthurKun21 avatar Apr 24 '24 09:04 ArthurKun21

Would it also be possible to also remember the sorting of it when you played a playlist. Like when you sort latest added first when you play the playlist it would also be the same

If you're talking about having the user playlist sort order being reflected in the box on the /Watch route, this is a separate issue that I have a soon-to-be-released PR for.

kommunarr avatar Apr 24 '24 11:04 kommunarr

Hi! I would like to do this issue.

susansli avatar May 07 '24 03:05 susansli

Hi! Can I work on this issue.

keerthana054 avatar May 16 '24 03:05 keerthana054

@keerthana054 I was planning to do it soon now that I have some downtime.

susansli avatar May 16 '24 06:05 susansli

@keerthana054 I was planning to do it soon now that I have some downtime.

ok. kindly let me know, if I can contribute to this work in any way. Thank you

keerthana054 avatar May 16 '24 07:05 keerthana054