mtgred / netrunner

http://www.jinteki.net
Other
884 stars 387 forks source link

Feature suggestion: highlighting the focused button #7296

Open lechaz79 opened 4 months ago

lechaz79 commented 4 months ago

Pressing space to trigger a default action, like clicking for a credit or pressing a button in the current prompt, is a very useful and convenient feature I’ve discovered only recently. I think it would be better to highlight the action/button assigned to space. There are two reasons for that:

  1. I’d have discovered the use of the space bar much earlier. If a button is highlighted, a new user will naturally understand that pressing a key is possible.
  2. During your turn and outside of runs, the default action when pressing the space bar is supposed to be clicking for credits. But sometimes, for some reasons, it happens that the actual selected action is drawing a card or something else. Yesterday, I wanted to use al the clicks of my turn to get 3 credits, and I ended up with 3 more cards in my hand, of which I had to discard two!

MTG Arena works in a similar way, highlighting the button that will be triggered if you press space.

I don’t know if it’s easy to implement this feature, but I think it would be helpful.

NBKelly commented 4 months ago

I wasn't aware this was a feature (maybe somebody else can correct me here). I believe in (most) web browsers, the space bar will activate whatever the selected context is, so I assume it's that rather than any explicit feature of ours.

Wikignometry commented 21 hours ago

@NBKelly I believe on the help page, it says that the space bar will activate the "default action".

image
NBKelly commented 4 hours ago

Neat. Genuinely had no clue.

Sooner or later I'll figure this one out.