sumanthratna / soundcloud9000

A terminal client for https://soundcloud.com.
https://rubygems.org/gems/soundcloud9000
MIT License
115 stars 6 forks source link

feature req: sorting #1

Open genevera opened 5 years ago

genevera commented 5 years ago

It would be really nice to be able to sort visible tracks by length/plays/etc.

sumanthratna commented 5 years ago

Thanks for your suggestion.

In the next commit, I'm planning on introducing a different feature (using a configuration file for default playlists and settings).

However, I would be happy to implement your request. How do you think it should work (what keys should be pressed in order to sort, et cetera)? If you could let me know how the UI would work, that would be great.

genevera commented 5 years ago

Hi! Sorry for the delay in response.

I think it would be nice to be able to hit some key or combo thereof (alt-s? an f-key?) to bring a quick menu down containing sort criteria. the current sort option (defaulting to time posted, descending) should be highlighted. the user should be able to use arrow keys to navigate the menu and the enter key should pick the sorting criteria

genevera commented 5 years ago

also, on-line help!!! it's annoying to have to open a browser or vi to read the README while in-session.

sumanthratna commented 5 years ago

I think it would be nice to be able to hit some key or combo thereof (alt-s? an f-key?) to bring a quick menu down containing sort criteria

I actually think it would be more convenient to have the user click a key like o rather than a function or alt key. I like the idea of the menu. Where in the terminal should the menu appear?

also, on-line help

I'd appreciate it if you could create a new GitHub issue so I can keep better track of the new features.

genevera commented 5 years ago

So long as there's an easily accessible help screen in the app, I don't particularly care which key is used :)

I think the menu should come down from the top of the screen; perhaps in the upper-right hand corner.