Author Topic: Extended Support for the keyboard in the Web UI  (Read 2974 times)

Offline vletroye

  • Hero Member
  • *****
  • Posts: 714
  • Karma: +7/-0
    • View Profile
Extended Support for the keyboard in the Web UI
« on: August 04, 2013, 08:45:09 am »
I am not a big fan of using the mouse.

Could you add support for the "Enter/Return" and "Arrows" keys in the Web Ui.
I would use them in order to select values in combo, press default/current button where relevant, ...

E.g:
- the very first example is on the "login screen" where "Enter" would validate the credentials (= Click on "LOGIN") (*)
- when one has to choose a value in a combo, I would use the bottom/up arrows (as far as I can already now use the 'TAB' key to move between the fields. ex.: in the "Add Unit of Risk")
       This is supported in RC4u1... I took a note on trying that in RC1 or RC2 and it was not available... Or I didn't try it correctly ?!
- I would also have to be able to use the 'TAB' key to reach the buttons, like the Yes/No in the logout screen or the Add/Cancel in the "Add Unit of Risk" window.


(*) tRAID's Web UI looks like being based on ext-js 2 like the DSM of Synology.
The "Enter" key works fine in that Syno's UI, so I presume it's technically possible ?!

I would also appreciate that typing in the text part of a combo selects automatically the first matching entry...

V.
« Last Edit: August 04, 2013, 09:34:58 am by vletroye »

Offline Brahim

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8,547
  • Karma: +204/-16
    • View Profile
Re: Extended Support for the keyboard in the Web UI
« Reply #1 on: August 04, 2013, 12:38:30 pm »
It is possible.
This will require changes everywhere for consistency.

Tab and arrow keys should work. Only "Enter" is not being trapped.

Offline vletroye

  • Hero Member
  • *****
  • Posts: 714
  • Karma: +7/-0
    • View Profile
Re: Extended Support for the keyboard in the Web UI
« Reply #2 on: August 04, 2013, 12:58:23 pm »
'Tab' don't stop on the buttons for the moment, but I presume this will be he case once 'Enter' is supported ?!

V.

Offline Brahim

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8,547
  • Karma: +204/-16
    • View Profile
Re: Extended Support for the keyboard in the Web UI
« Reply #3 on: August 04, 2013, 01:37:52 pm »
Tabs do stop on buttons for me.
Got an example of a form where this is not working?

Offline vletroye

  • Hero Member
  • *****
  • Posts: 714
  • Karma: +7/-0
    • View Profile
Re: Extended Support for the keyboard in the Web UI
« Reply #4 on: August 04, 2013, 02:30:38 pm »
Ex.:

- on the "Stop" window - open after clicking on "Stop" in "Configuration" tab, I can't go to 'Yes' or 'No' using the 'Tab'
- Same on the "Re-Create" window
- Same on the "Remove RAID" when I want to delete the RAID Configuration. I can 'tab' from "Username" to "Password", but not to the buttons


Damned... Actually, I don't see that the cursor move onto a button, but it does!

So, the problem is only that I don't know on which button the focus is.

I can press 'enter' on
- in the "Stop" window after typing Shift-Tab (as I guessed I was on 'No' by default and had to go back on 'Yes')
- in the "Remove RAID" after typing 'Tab' once I am in the password field.

I am using IE 10, on server 2012, in a VM (<= this can be the issue ?!)

V.

Offline Brahim

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8,547
  • Karma: +204/-16
    • View Profile
Re: Extended Support for the keyboard in the Web UI
« Reply #5 on: August 04, 2013, 02:37:29 pm »
For me, I do see a dashed rectangle on the buttons as an indicator when they have the tab focus.

So, not sure if it is your display or IE in your case.

Offline vletroye

  • Hero Member
  • *****
  • Posts: 714
  • Karma: +7/-0
    • View Profile
Re: Extended Support for the keyboard in the Web UI
« Reply #6 on: August 04, 2013, 03:20:50 pm »
Right, with IE outside my VM I see a dashed rectangle too.
It's much more visible within Chrome as the button is highlighted.

Nothing that you can improve within the CSS ?


Regarding 'Tab'/'Enter' support: would it also be possible to set the focus in the first field of each dialog window, so we don't need to tab, tab, tab, tab to arrive into that field ?
Ex.: to fill the "Register Pass-Through Disk", I have to type 12 times 'tab'... In this case, using the mouse is faster :)

V.
« Last Edit: August 04, 2013, 03:22:43 pm by vletroye »

Offline Brahim

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8,547
  • Karma: +204/-16
    • View Profile
Re: Extended Support for the keyboard in the Web UI
« Reply #7 on: August 04, 2013, 05:02:17 pm »
Yeah, focusing on the first field makes sense.

I made the changes on the login screen (focus and submit on enter), but everything else will have to wait for much later.

Offline vletroye

  • Hero Member
  • *****
  • Posts: 714
  • Karma: +7/-0
    • View Profile
Re: Extended Support for the keyboard in the Web UI
« Reply #8 on: August 04, 2013, 05:06:02 pm »
I have indeed something more urgent for you ;)
http://forum.flexraid.com/index.php/topic,2513.0.html


And my wife has something even more urgent for me


V.

Offline vletroye

  • Hero Member
  • *****
  • Posts: 714
  • Karma: +7/-0
    • View Profile
Re: Extended Support for the keyboard in the Web UI
« Reply #9 on: October 24, 2013, 02:50:19 pm »
I appreciate a lot the Enter key in the Login window  :P

There are two other improvements that would be really helpful for keyboard addicts, while doing the bulk registration of 10 disks or more (actually, as soon I there are two disks to be registered :D it means... always  :P ).

In the bulk registration pane, when entering a field "Display name" (either after pressing the 'Tab' key or using the mouse), automatically select the whole content if the value is '***please edit***'.

Also in the bulk registration pane, when typing a letter (or better: a value) in a combobox (like a Pass-Through field), automatically complete with the first matching value in the list. It would really help to select easily values when using the keyboard only (Support for such an auto-complete in all other combobox of the UI would be great...)

V.

Offline Brahim

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8,547
  • Karma: +204/-16
    • View Profile
Re: Extended Support for the keyboard in the Web UI
« Reply #10 on: October 24, 2013, 04:33:09 pm »
Noted for later. :)

Offline NLS

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1,018
  • Karma: +29/-4
  • Look ma, no hands!
    • View Profile
    • iLogic
Re: Extended Support for the keyboard in the Web UI
« Reply #11 on: October 25, 2013, 02:31:11 am »
Yes yes yes!
(there was a weird guy saying such things like 6 months ago... :D)
---
NLS
Production system: SBS2011 fully patched, intel Core2 Quad, 8GB, 12 disks (1 system IDE, 1 backup IDE, 10 for array and parity most SATA3), parity is 3TB, largest data disk is 3TB, millions of smaller files, common browser Chrome latest.

Offline Brahim

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8,547
  • Karma: +204/-16
    • View Profile
Re: Extended Support for the keyboard in the Web UI
« Reply #12 on: October 25, 2013, 09:00:02 am »
Yes yes yes!
(there was a weird guy saying such things like 6 months ago... :D)
Most likely he was talking Greek.  :P