Re: [pgAdmin4] [RM3862] Fix Dialog tabset keyboard navigation

From: Harshal Dhumal <harshal(dot)dhumal(at)enterprisedb(dot)com>
To: Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: [pgAdmin4] [RM3862] Fix Dialog tabset keyboard navigation
Date: 2019-01-24 10:49:18
Message-ID: CAFiP3vx07B8auesexZOTTbgRHWwGEQRs80pRhsMZ-9sWjBQHdg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi,

Please find attached patch to fix dialog tab navigation in backup and
restore dialog.

Note: If first control in dialog is bootstrap switch then tab and dialog
tab navigation do not work.
This is because bootstrap switch captures all keyboard events and it does
not allow them to propagate /bubble up.
As Khushboo is working on new switch control (RM 3051
<https://redmine.postgresql.org/issues/3051>) I haven't fix this issue as a
part of this patch.

--
*Harshal Dhumal*
*Sr. Software Engineer*

EnterpriseDB India: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

On Tue, Jan 22, 2019 at 4:29 PM Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>
wrote:

> Thanks patch applied.
>
> On Tue, Jan 22, 2019 at 2:51 PM Khushboo Vashi <
> khushboo(dot)vashi(at)enterprisedb(dot)com> wrote:
>
>> The patch looks good to me.
>>
>> On Mon, Jan 21, 2019 at 4:39 PM Akshay Joshi <
>> akshay(dot)joshi(at)enterprisedb(dot)com> wrote:
>>
>>> Hi Khushboo
>>>
>>> Can you please review it.
>>>
>>> On Wed, Jan 16, 2019 at 12:55 PM Harshal Dhumal <
>>> harshal(dot)dhumal(at)enterprisedb(dot)com> wrote:
>>>
>>>> Hi,
>>>>
>>>> Please find attached updated patch.
>>>> In this patch I have fixed two issues:
>>>> i. Dialog tab navigation should work even if focus is on footer buttons
>>>> (Save, Cancel, etc..)
>>>> ii. Focus should be set to first editable element of dialog when tab
>>>> cycle goes through all editable footer buttons.
>>>>
>>>>
>>>> --
>>>> *Harshal Dhumal*
>>>> *Sr. Software Engineer*
>>>>
>>>> EnterpriseDB India: http://www.enterprisedb.com
>>>> The Enterprise PostgreSQL Company
>>>>
>>>>
>>>> On Thu, Jan 10, 2019 at 1:16 PM Harshal Dhumal <
>>>> harshal(dot)dhumal(at)enterprisedb(dot)com> wrote:
>>>>
>>>>> Hi,
>>>>> This patch fixes Dialog tabset keyboard navigation.
>>>>> This regression was caused due to bootstrap 4 changes.
>>>>> Also I have added jasmine test cases for the same
>>>>>
>>>>>
>>>>> --
>>>>> *Harshal Dhumal*
>>>>> *Sr. Software Engineer*
>>>>>
>>>>> EnterpriseDB India: http://www.enterprisedb.com
>>>>> The Enterprise PostgreSQL Company
>>>>>
>>>>
>>>
>>> --
>>> *Akshay Joshi*
>>>
>>> *Sr. Software Architect *
>>>
>>>
>>>
>>> *Phone: +91 20-3058-9517Mobile: +91 976-788-8246*
>>>
>>
>
> --
> *Akshay Joshi*
>
> *Sr. Software Architect *
>
>
>
> *Phone: +91 20-3058-9517Mobile: +91 976-788-8246*
>

Attachment Content-Type Size
RM3862_v3.patch text/x-patch 3.2 KB

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Raphaël Dehousse 2019-01-24 11:16:57 Feature Request: Allow set a suffix/prefix in application_name
Previous Message Akshay Joshi 2019-01-24 05:56:00 Re: [pgAdmin4][Patch]: Fix syntax error on pytthon 2.7 for the feature test