pranjalv123 / media-enclave

Automatically exported from code.google.com/p/media-enclave
0 stars 0 forks source link

Keyboard Shortcuts #24

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Add javascript keyboard shortcuts similar to those available on Gmail.  The
idea is to make the interface easily usable without a mouse.

Also, give each input a tab order to let the user start in the search bar,
then tab through songs in a sensible order.  Tabbing through the nav menu
every page load is a nuisance.

Possible examples:
s - search
p - playlist page
a - select all
k - next... song? artist?
j - previous song/artist

Original issue reported on code.google.com by richard.clay on 14 Oct 2009 at 1:52

GoogleCodeExporter commented 9 years ago
I really like this idea, and I've got it started with the jquery hotkeys 
plugin.  I'd
like to do what GMail does with j/k for emails for songs.  Basically have a 
little
black triangle on the left of the column that gets flipped from invisible to 
visible
every time you hit j or k.

I can also imagine shortcuts for play/pause and skip, but that seems less useful
since you don't need to do that all the goddamn time.

For now I made the following shortcuts, and I'll commit them soon-ish.

Doing things:
a - select all
s - search

Navigation:
c - channels
p - playlists
r - roulette
u - upload
h - home

Original comment by reid.kle...@gmail.com on 18 Oct 2009 at 4:08

GoogleCodeExporter commented 9 years ago
Awesome!  I'd like to request adding a 'q' for queue selected songs.

this means that keyboard can:
search for song title
select all
queue selected songs

For the next/previous indicator, could you use javascript to  change the song 
row to
be <div class="highlighted">?  I know the rows alternate color right now in the
table, but I don't know if the songs get individual div or tr IDs when they are
dumped on the page.  If the recordset gets sorted by one of the other fields, 
that
might also mess up the next/previous selector

Original comment by richard.clay on 18 Oct 2009 at 4:43

GoogleCodeExporter commented 9 years ago
So I made j/k move a little black triangle on the left up and down, and enter 
queues
the song.  I also added a Help page and documented the keyboard shortcuts.

Original comment by reid.kle...@gmail.com on 30 Oct 2009 at 3:50