[go: up one dir, main page]

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

Make actions hotkey accessible #129

Open
tec27 opened this issue Jun 15, 2016 · 8 comments
Open

Make actions hotkey accessible #129

tec27 opened this issue Jun 15, 2016 · 8 comments

Comments

@tec27
Copy link
Member
tec27 commented Jun 15, 2016

We should develop a system of hotkeys for main actions on the site: Find/Create/Join, moving between channels/whispers/lobbies, etc.

Then we should implement that system :)

This issue can serve as a place for discussion about what those hotkeys should be.

One thought, if we want to go down the path of typing automatically activating the text field (as has been suggested in the past), we should avoid "bare key" hotkeys (that is, using something like 'C' to activate the create menu) since those two ideas would conflict.

@2Pacalypse-
Copy link
Member

Well, we should use hotkeys from bnet for most stuff imo as people are already familiar with those, and use a similar scheme for others. So something like this:
ALT + C -> Create
ALT + J -> Join
ALT + F -> Find Match (new!)
ALT + R -> Replays Browser (new!)
ALT + S -> Settings Dialog (new!)
ALT + H -> List chat channels (or move to the channels?)
ALT + F -> Brings up the friends list
ALT + V -> Toggle channel join/leave notifications
ALT + N -> Pastes the name you have selected to the chat
ALT + W (with user selected) -> Whisper a selected user (or move to the whispers?)

Shortcuts for moving between channels/whispers/lobbies are a bit trickier (do we also add shortcuts for moving through individual channels and whispers?), but maybe:
ALT + H -> Move to the first (or last active) channel (clashes with the bnet 1.0 somewhat)
ALT + W -> Move to the first (or last active) whisper window (clashes with the bnet 1.0 somewhat)
ALT + L (or ALT + B?) -> Move to the active lobby, if there is one. "L" makes sense, but it's too far away on the keyboard ^^

Interestingly, none of these clash with the default browser shortcuts as well, which is a plus: http://dmcritchie.mvps.org/firefox/keyboard.htm

And yeah, automatically activating the text field would be very nice (I just noticed Discord has it as well). So shortcuts to activate the text field would basically be A-Z and 0-9 (oh and punctuation and some other characters) ^^

@tec27
Copy link
Member Author
tec27 commented Jun 15, 2016

You got two ALT + F's there, so you may want to try to reconcile that :P Unless you want to make it so you have to think about your friends every time you find a match.

We should consider the context of these actions when deciding whether they should be hotkeyed/what those hotkeys should do, and not just blindly copy what bnet provided. ALT + H, for instance, doesn't really make sense with its original behavior in our app. In bnet, since you can only be in one channel at a time (and it doesn't remember what channel you were last in on reconnect), you have to use the channel list a ton. I don't think that's a common use-case for us; users will join their set of channels and maybe go to the channel list once in a blue moon. So ALT + H should be used for something that makes more sense and is more useful, like cycling through your current channels top -> bottom. Then we could make Shift + Alt + H cycle bottom -> top.

Alt + W could make sense that way too. We don't really have a concept of a 'selected' user atm, and I'm not sure it makes a ton of sense.

Alt +B would be fine for moving to the lobby, we could also make Alt + J and Alt + C do the same if you're in one, since they're useless in that case.

@2Pacalypse-
Copy link
Member

Oh, didn't notice that I used ALT + F twice ^^. I think the priority should be given to Find Match, even though it's opposed to the bnet 1.0. I'm pretty sure Find Match hotkey will be used much more often than bringing up the Friend's list and we don't even know what the Friends list will look like yet.

Agreed with other suggestions.

@tec27
Copy link
Member Author
tec27 commented Jun 15, 2016

Agree, friends list toggle could move to something like Alt + E if we want a hotkey for it (that depends on whether there are truly useful things you can do keyboard-only once you bring it up, though).

@2Pacalypse-
Copy link
Member

Not really related to the hotkeys, but something that crossed my mind when reading your post about channel list. I think we should put more emphasis on it, in a way that it could serve as a "Community" tab and a place where people can discover channels and groups of people with similar interests (eg. BGH Community, UMS Community, Map Making Community etc.). Then again, this could be a totally different thing from simply listing existing chat channels, depending how much time we want to dedicate to making something like this.

Anyways, didn't really want to derail this thread, but just wanted to write down this somewhere so we can come back to it later ^^.

@2Pacalypse-
Copy link
Member
2Pacalypse- commented Sep 2, 2016

Final list:

  • ALT + C -> Create (if in lobby, move to lobby)
  • ALT + J -> Join (if in lobby, move to lobby)
  • ALT + B -> Move to lobby
  • ALT + F -> Find Match
  • ALT + R -> Replays Browser
  • ALT + S -> Settings Dialog
  • ALT + V -> Toggle channel join/leave notifications
  • ALT + H -> Cycle chat channels top -> bottom (if not in channel, move to one. Last used?)
  • SHIFT + ALT + H -> Cycle chat channels bottom -> top
  • ALT + W -> Cycle whisper sessions top -> bottom (if not in whisper session, move to one. Last used?)
  • SHIFT + ALT + W -> Cycle whisper sessions bottom -> top
  • ? -> Open a Help dialog that shows all available site hotkeys (among other things?)

@2Pacalypse-
Copy link
Member

What do you think about also including Alt + Up Arrow and Alt + Down Arrow to move through the whole left navigation (Lobby, Channels and Whispers combined)?

@tec27
Copy link
Member Author
tec27 commented Sep 19, 2016

alt-left arrow is Chrome's new hotkey for "Go Back", so it seems like that might be a bad thing (or maybe that makes it a good thing, since going back after navigating up/down would take you back to the thing you were on previously). I dunno, fairly ambivalent

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

No branches or pull requests

2 participants