Re: [pgAdmin4][Patch]: RM #2899: Provide access keys/shortcuts to all commonly used menu options in the main window.

From: Khushboo Vashi <khushboo(dot)vashi(at)enterprisedb(dot)com>
To: Joao De Almeida Pereira <jdealmeidapereira(at)pivotal(dot)io>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: [pgAdmin4][Patch]: RM #2899: Provide access keys/shortcuts to all commonly used menu options in the main window.
Date: 2018-02-09 04:12:54
Message-ID: CAFOhELd45uF+_p3tzWLk7aWTqK-uCarf6rUaKXfsExWoBsx0jg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi Joao,

On Thu, Feb 8, 2018 at 7:57 PM, Joao De Almeida Pereira <
jdealmeidapereira(at)pivotal(dot)io> wrote:

> Hello Khushboo,
> We were looking into the your patch and have some questions.
>
> - What is the reason being the front end shortcuts being registered in
> the python code? There is already some precedent in the code, but this
> looks like a concern of the front end.
>

We have given customisable keyboard shortcuts through preferences dialogue
and to do so we need to register them first.

> - Didn't saw any tests around this, did you create them?
>

Added feature test for the keyboard shortcuts in my previous patch which
was committed.

>
> While testing it out, in the Mac, when I press Option + Shift + E while
> selecting 'Tables' node, no information is given to the user that the
> object as no properties, like Option + Shift + V does, is this
> intentional?(Same with Option + Shift + D)
>
>
They are collection nodes and it is quite obvious that they can not be
edited, so as per me, no need for extra information.

> In which situation can Direct debugging be used?
>

Just provided the shortcut for it, the detailed information can be found @
https://www.pgadmin.org/docs/pgadmin4/2.x/debugger.html

> Should the documentation specify the Shortcuts for Mac as well?
>
>
Shortcuts are not specific to the platform, they are common for all the
platforms and the document also specify the same.

>
> Thanks
> Joao
>
> Thanks,
Khushboo

> On Thu, Feb 8, 2018 at 2:08 AM Khushboo Vashi <
> khushboo(dot)vashi(at)enterprisedb(dot)com> wrote:
>
>> Hi,
>>
>> Please find the attached patch for RM #2899: Provide access
>> keys/shortcuts to all commonly used menu options in the main window.
>>
>> Shortcuts provided in this patch:
>>
>> Alt+Shift+Q Open the query tool
>> Alt+Shift+V View data
>> Alt+Shift+C Open the context menu
>> Alt+Shift+N Create an object
>> Alt+Shift+E Edit the object properties
>> Alt+Shift+D Delete the object
>> Alt+Shift+G Direct debugging
>>
>>
>> Thanks,
>> Khushboo
>>
>

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2018-02-09 10:06:34 Re: pgAdmin4: Patch for RM#3060
Previous Message Murtuza Zabuawala 2018-02-08 18:10:19 Re: [pgAdmin4][RM#3082] Fix PEP-8 issues