public inbox for [email protected]
help / color / mirror / Atom feedKeyboard shortcut challenges
6+ messages / 3 participants
[nested] [flat]
* Keyboard shortcut challenges
@ 2024-04-16 10:56 Aditya Toshniwal <[email protected]>
2024-04-16 11:14 ` Re: Keyboard shortcut challenges Aditya Toshniwal <[email protected]>
0 siblings, 1 reply; 6+ messages in thread
From: Aditya Toshniwal @ 2024-04-16 10:56 UTC (permalink / raw)
To: pgadmin-hackers
Hi Hackers,
I'm working on removing the usage of Access Keys(which varies based on OS
and Browser combination) for keyboard shortcuts and instead use shortcuts
similar to all other IDEs.
The challenge here is OS. MacOS has an extra key - Meta, which pgAdmin
doesn't take as part of keyboard shortcut currently. In fact, Mac can take
Ctrl separately.
pgAdmin can run as a web app so it's even more difficult. It is not
possible to have multiple shortcuts based on the OS of the browser.
I suggest we consider Ctrl as Meta when running on a Mac.
Please let me know what you think.
[image: image.png]
--
Thanks,
Aditya Toshniwal
pgAdmin Hacker | Sr. Software Architect | *enterprisedb.com*
<https://www.enterprisedb.com/;
"Don't Complain about Heat, Plant a TREE"
Attachments:
[image/png] image.png (54.9K, 3-image.png)
download | view image
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: Keyboard shortcut challenges
2024-04-16 10:56 Keyboard shortcut challenges Aditya Toshniwal <[email protected]>
@ 2024-04-16 11:14 ` Aditya Toshniwal <[email protected]>
2024-04-17 05:19 ` Re: Keyboard shortcut challenges Yogesh Mahajan <[email protected]>
0 siblings, 1 reply; 6+ messages in thread
From: Aditya Toshniwal @ 2024-04-16 11:14 UTC (permalink / raw)
To: pgadmin-hackers
Hi,
Just came to my mind - We could add one more checkbox - "Is Meta?" for
Ctrl. That way - users will have more control.
On Tue, Apr 16, 2024 at 4:26 PM Aditya Toshniwal <
[email protected]> wrote:
> Hi Hackers,
>
> I'm working on removing the usage of Access Keys(which varies based on OS
> and Browser combination) for keyboard shortcuts and instead use shortcuts
> similar to all other IDEs.
> The challenge here is OS. MacOS has an extra key - Meta, which pgAdmin
> doesn't take as part of keyboard shortcut currently. In fact, Mac can take
> Ctrl separately.
> pgAdmin can run as a web app so it's even more difficult. It is not
> possible to have multiple shortcuts based on the OS of the browser.
> I suggest we consider Ctrl as Meta when running on a Mac.
> Please let me know what you think.
>
>
> [image: image.png]
>
> --
> Thanks,
> Aditya Toshniwal
> pgAdmin Hacker | Sr. Software Architect | *enterprisedb.com*
> <https://www.enterprisedb.com/;
> "Don't Complain about Heat, Plant a TREE"
>
--
Thanks,
Aditya Toshniwal
pgAdmin Hacker | Sr. Software Architect | *enterprisedb.com*
<https://www.enterprisedb.com/;
"Don't Complain about Heat, Plant a TREE"
Attachments:
[image/png] image.png (54.9K, 3-image.png)
download | view image
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: Keyboard shortcut challenges
2024-04-16 10:56 Keyboard shortcut challenges Aditya Toshniwal <[email protected]>
2024-04-16 11:14 ` Re: Keyboard shortcut challenges Aditya Toshniwal <[email protected]>
@ 2024-04-17 05:19 ` Yogesh Mahajan <[email protected]>
2024-04-17 06:15 ` Re: Keyboard shortcut challenges Aditya Toshniwal <[email protected]>
0 siblings, 1 reply; 6+ messages in thread
From: Yogesh Mahajan @ 2024-04-17 05:19 UTC (permalink / raw)
To: Aditya Toshniwal <[email protected]>; +Cc: pgadmin-hackers
Hi Aditya,
What is the behaviour of the other editors with respect to Meta Key? If
they do not treat Meta key differently, then we shouldn't.
Thanks,
Yogesh Mahajan
EnterpriseDB
On Tue, Apr 16, 2024 at 4:44 PM Aditya Toshniwal <
[email protected]> wrote:
> Hi,
>
> Just came to my mind - We could add one more checkbox - "Is Meta?" for
> Ctrl. That way - users will have more control.
>
> On Tue, Apr 16, 2024 at 4:26 PM Aditya Toshniwal <
> [email protected]> wrote:
>
>> Hi Hackers,
>>
>> I'm working on removing the usage of Access Keys(which varies based on OS
>> and Browser combination) for keyboard shortcuts and instead use shortcuts
>> similar to all other IDEs.
>> The challenge here is OS. MacOS has an extra key - Meta, which pgAdmin
>> doesn't take as part of keyboard shortcut currently. In fact, Mac can take
>> Ctrl separately.
>> pgAdmin can run as a web app so it's even more difficult. It is not
>> possible to have multiple shortcuts based on the OS of the browser.
>> I suggest we consider Ctrl as Meta when running on a Mac.
>> Please let me know what you think.
>>
>>
>> [image: image.png]
>>
>> --
>> Thanks,
>> Aditya Toshniwal
>> pgAdmin Hacker | Sr. Software Architect | *enterprisedb.com*
>> <https://www.enterprisedb.com/;
>> "Don't Complain about Heat, Plant a TREE"
>>
>
>
> --
> Thanks,
> Aditya Toshniwal
> pgAdmin Hacker | Sr. Software Architect | *enterprisedb.com*
> <https://www.enterprisedb.com/;
> "Don't Complain about Heat, Plant a TREE"
>
Attachments:
[image/png] image.png (54.9K, 3-image.png)
download | view image
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: Keyboard shortcut challenges
2024-04-16 10:56 Keyboard shortcut challenges Aditya Toshniwal <[email protected]>
2024-04-16 11:14 ` Re: Keyboard shortcut challenges Aditya Toshniwal <[email protected]>
2024-04-17 05:19 ` Re: Keyboard shortcut challenges Yogesh Mahajan <[email protected]>
@ 2024-04-17 06:15 ` Aditya Toshniwal <[email protected]>
2024-04-18 06:14 ` Re: Keyboard shortcut challenges Aditya Toshniwal <[email protected]>
0 siblings, 1 reply; 6+ messages in thread
From: Aditya Toshniwal @ 2024-04-17 06:15 UTC (permalink / raw)
To: Yogesh Mahajan <[email protected]>; +Cc: pgadmin-hackers
Hi Yogesh,
The difference between other editors and pgAdmin is that pgAdmin can run on
the web. Which means, a pgAdmin server hosted on linux can be opened on a
Mac machine browser.
On Wed, Apr 17, 2024 at 10:49 AM Yogesh Mahajan <
[email protected]> wrote:
> Hi Aditya,
>
> What is the behaviour of the other editors with respect to Meta Key? If
> they do not treat Meta key differently, then we shouldn't.
>
> Thanks,
> Yogesh Mahajan
> EnterpriseDB
>
>
> On Tue, Apr 16, 2024 at 4:44 PM Aditya Toshniwal <
> [email protected]> wrote:
>
>> Hi,
>>
>> Just came to my mind - We could add one more checkbox - "Is Meta?" for
>> Ctrl. That way - users will have more control.
>>
>> On Tue, Apr 16, 2024 at 4:26 PM Aditya Toshniwal <
>> [email protected]> wrote:
>>
>>> Hi Hackers,
>>>
>>> I'm working on removing the usage of Access Keys(which varies based on
>>> OS and Browser combination) for keyboard shortcuts and instead use
>>> shortcuts similar to all other IDEs.
>>> The challenge here is OS. MacOS has an extra key - Meta, which pgAdmin
>>> doesn't take as part of keyboard shortcut currently. In fact, Mac can take
>>> Ctrl separately.
>>> pgAdmin can run as a web app so it's even more difficult. It is not
>>> possible to have multiple shortcuts based on the OS of the browser.
>>> I suggest we consider Ctrl as Meta when running on a Mac.
>>> Please let me know what you think.
>>>
>>>
>>> [image: image.png]
>>>
>>> --
>>> Thanks,
>>> Aditya Toshniwal
>>> pgAdmin Hacker | Sr. Software Architect | *enterprisedb.com*
>>> <https://www.enterprisedb.com/;
>>> "Don't Complain about Heat, Plant a TREE"
>>>
>>
>>
>> --
>> Thanks,
>> Aditya Toshniwal
>> pgAdmin Hacker | Sr. Software Architect | *enterprisedb.com*
>> <https://www.enterprisedb.com/;
>> "Don't Complain about Heat, Plant a TREE"
>>
>
--
Thanks,
Aditya Toshniwal
pgAdmin Hacker | Sr. Software Architect | *enterprisedb.com*
<https://www.enterprisedb.com/;
"Don't Complain about Heat, Plant a TREE"
Attachments:
[image/png] image.png (54.9K, 3-image.png)
download | view image
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: Keyboard shortcut challenges
2024-04-16 10:56 Keyboard shortcut challenges Aditya Toshniwal <[email protected]>
2024-04-16 11:14 ` Re: Keyboard shortcut challenges Aditya Toshniwal <[email protected]>
2024-04-17 05:19 ` Re: Keyboard shortcut challenges Yogesh Mahajan <[email protected]>
2024-04-17 06:15 ` Re: Keyboard shortcut challenges Aditya Toshniwal <[email protected]>
@ 2024-04-18 06:14 ` Aditya Toshniwal <[email protected]>
2024-04-18 06:21 ` Re: Keyboard shortcut challenges Akshay Joshi <[email protected]>
0 siblings, 1 reply; 6+ messages in thread
From: Aditya Toshniwal @ 2024-04-18 06:14 UTC (permalink / raw)
To: pgadmin-hackers
Hi Hackers,
I'm planning to change the keyboard shortcuts to allow the user to select
"Cmd" instead of "Ctrl". As I mentioned above, only one of them could be
selected to allow working on other OS's. On other OS like windows, "Ctrl"
and "Cmd" will be treated the same, "Cmd" will be hidden and "Option" will
change on "Alt".
I also made some UI improvements like moving shift, ctrl, alt keys before
the key input and making it more compact.
Please let me know your thoughts.
New UI:
[image: image.png]
Old UI:
[image: image.png]
On Wed, Apr 17, 2024 at 11:45 AM Aditya Toshniwal <
[email protected]> wrote:
> Hi Yogesh,
>
> The difference between other editors and pgAdmin is that pgAdmin can run
> on the web. Which means, a pgAdmin server hosted on linux can be opened on
> a Mac machine browser.
>
> On Wed, Apr 17, 2024 at 10:49 AM Yogesh Mahajan <
> [email protected]> wrote:
>
>> Hi Aditya,
>>
>> What is the behaviour of the other editors with respect to Meta Key? If
>> they do not treat Meta key differently, then we shouldn't.
>>
>> Thanks,
>> Yogesh Mahajan
>> EnterpriseDB
>>
>>
>> On Tue, Apr 16, 2024 at 4:44 PM Aditya Toshniwal <
>> [email protected]> wrote:
>>
>>> Hi,
>>>
>>> Just came to my mind - We could add one more checkbox - "Is Meta?" for
>>> Ctrl. That way - users will have more control.
>>>
>>> On Tue, Apr 16, 2024 at 4:26 PM Aditya Toshniwal <
>>> [email protected]> wrote:
>>>
>>>> Hi Hackers,
>>>>
>>>> I'm working on removing the usage of Access Keys(which varies based on
>>>> OS and Browser combination) for keyboard shortcuts and instead use
>>>> shortcuts similar to all other IDEs.
>>>> The challenge here is OS. MacOS has an extra key - Meta, which pgAdmin
>>>> doesn't take as part of keyboard shortcut currently. In fact, Mac can take
>>>> Ctrl separately.
>>>> pgAdmin can run as a web app so it's even more difficult. It is not
>>>> possible to have multiple shortcuts based on the OS of the browser.
>>>> I suggest we consider Ctrl as Meta when running on a Mac.
>>>> Please let me know what you think.
>>>>
>>>>
>>>> [image: image.png]
>>>>
>>>> --
>>>> Thanks,
>>>> Aditya Toshniwal
>>>> pgAdmin Hacker | Sr. Software Architect | *enterprisedb.com*
>>>> <https://www.enterprisedb.com/;
>>>> "Don't Complain about Heat, Plant a TREE"
>>>>
>>>
>>>
>>> --
>>> Thanks,
>>> Aditya Toshniwal
>>> pgAdmin Hacker | Sr. Software Architect | *enterprisedb.com*
>>> <https://www.enterprisedb.com/;
>>> "Don't Complain about Heat, Plant a TREE"
>>>
>>
>
> --
> Thanks,
> Aditya Toshniwal
> pgAdmin Hacker | Sr. Software Architect | *enterprisedb.com*
> <https://www.enterprisedb.com/;
> "Don't Complain about Heat, Plant a TREE"
>
--
Thanks,
Aditya Toshniwal
pgAdmin Hacker | Sr. Software Architect | *enterprisedb.com*
<https://www.enterprisedb.com/;
"Don't Complain about Heat, Plant a TREE"
Attachments:
[image/png] image.png (54.9K, 3-image.png)
download | view image
[image/png] image.png (59.3K, 4-image.png)
download | view image
[image/png] image.png (60.3K, 5-image.png)
download | view image
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: Keyboard shortcut challenges
2024-04-16 10:56 Keyboard shortcut challenges Aditya Toshniwal <[email protected]>
2024-04-16 11:14 ` Re: Keyboard shortcut challenges Aditya Toshniwal <[email protected]>
2024-04-17 05:19 ` Re: Keyboard shortcut challenges Yogesh Mahajan <[email protected]>
2024-04-17 06:15 ` Re: Keyboard shortcut challenges Aditya Toshniwal <[email protected]>
2024-04-18 06:14 ` Re: Keyboard shortcut challenges Aditya Toshniwal <[email protected]>
@ 2024-04-18 06:21 ` Akshay Joshi <[email protected]>
0 siblings, 0 replies; 6+ messages in thread
From: Akshay Joshi @ 2024-04-18 06:21 UTC (permalink / raw)
To: Aditya Toshniwal <[email protected]>; +Cc: pgadmin-hackers
On Thu, Apr 18, 2024 at 11:45 AM Aditya Toshniwal <
[email protected]> wrote:
> Hi Hackers,
>
> I'm planning to change the keyboard shortcuts to allow the user to select
> "Cmd" instead of "Ctrl". As I mentioned above, only one of them could be
> selected to allow working on other OS's. On other OS like windows, "Ctrl"
> and "Cmd" will be treated the same, "Cmd" will be hidden and "Option" will
> change on "Alt".
> I also made some UI improvements like moving shift, ctrl, alt keys before
> the key input and making it more compact.
> Please let me know your thoughts.
>
> New UI:
>
> [image: image.png]
>
> Old UI:
> [image: image.png]
>
Looks good to me.
>
> On Wed, Apr 17, 2024 at 11:45 AM Aditya Toshniwal <
> [email protected]> wrote:
>
>> Hi Yogesh,
>>
>> The difference between other editors and pgAdmin is that pgAdmin can run
>> on the web. Which means, a pgAdmin server hosted on linux can be opened on
>> a Mac machine browser.
>>
>> On Wed, Apr 17, 2024 at 10:49 AM Yogesh Mahajan <
>> [email protected]> wrote:
>>
>>> Hi Aditya,
>>>
>>> What is the behaviour of the other editors with respect to Meta Key? If
>>> they do not treat Meta key differently, then we shouldn't.
>>>
>>> Thanks,
>>> Yogesh Mahajan
>>> EnterpriseDB
>>>
>>>
>>> On Tue, Apr 16, 2024 at 4:44 PM Aditya Toshniwal <
>>> [email protected]> wrote:
>>>
>>>> Hi,
>>>>
>>>> Just came to my mind - We could add one more checkbox - "Is Meta?" for
>>>> Ctrl. That way - users will have more control.
>>>>
>>>> On Tue, Apr 16, 2024 at 4:26 PM Aditya Toshniwal <
>>>> [email protected]> wrote:
>>>>
>>>>> Hi Hackers,
>>>>>
>>>>> I'm working on removing the usage of Access Keys(which varies based on
>>>>> OS and Browser combination) for keyboard shortcuts and instead use
>>>>> shortcuts similar to all other IDEs.
>>>>> The challenge here is OS. MacOS has an extra key - Meta, which pgAdmin
>>>>> doesn't take as part of keyboard shortcut currently. In fact, Mac can take
>>>>> Ctrl separately.
>>>>> pgAdmin can run as a web app so it's even more difficult. It is not
>>>>> possible to have multiple shortcuts based on the OS of the browser.
>>>>> I suggest we consider Ctrl as Meta when running on a Mac.
>>>>> Please let me know what you think.
>>>>>
>>>>>
>>>>> [image: image.png]
>>>>>
>>>>> --
>>>>> Thanks,
>>>>> Aditya Toshniwal
>>>>> pgAdmin Hacker | Sr. Software Architect | *enterprisedb.com*
>>>>> <https://www.enterprisedb.com/;
>>>>> "Don't Complain about Heat, Plant a TREE"
>>>>>
>>>>
>>>>
>>>> --
>>>> Thanks,
>>>> Aditya Toshniwal
>>>> pgAdmin Hacker | Sr. Software Architect | *enterprisedb.com*
>>>> <https://www.enterprisedb.com/;
>>>> "Don't Complain about Heat, Plant a TREE"
>>>>
>>>
>>
>> --
>> Thanks,
>> Aditya Toshniwal
>> pgAdmin Hacker | Sr. Software Architect | *enterprisedb.com*
>> <https://www.enterprisedb.com/;
>> "Don't Complain about Heat, Plant a TREE"
>>
>
>
> --
> Thanks,
> Aditya Toshniwal
> pgAdmin Hacker | Sr. Software Architect | *enterprisedb.com*
> <https://www.enterprisedb.com/;
> "Don't Complain about Heat, Plant a TREE"
>
Attachments:
[image/png] image.png (54.9K, 3-image.png)
download | view image
[image/png] image.png (59.3K, 4-image.png)
download | view image
[image/png] image.png (60.3K, 5-image.png)
download | view image
^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2024-04-18 06:21 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2024-04-16 10:56 Keyboard shortcut challenges Aditya Toshniwal <[email protected]>
2024-04-16 11:14 ` Aditya Toshniwal <[email protected]>
2024-04-17 05:19 ` Yogesh Mahajan <[email protected]>
2024-04-17 06:15 ` Aditya Toshniwal <[email protected]>
2024-04-18 06:14 ` Aditya Toshniwal <[email protected]>
2024-04-18 06:21 ` Akshay Joshi <[email protected]>
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox