Re: [pgAdmin4][Patch]: Feature 3564 pgAdmin4 should have shortcut tools bar for frequently used features

From: Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: [pgAdmin4][Patch]: Feature 3564 pgAdmin4 should have shortcut tools bar for frequently used features
Date: 2018-09-10 07:03:35
Message-ID: CANxoLDeAjDJAG5vHfF_EJh42Zr=8PCWfQKiNpACV6LMVAukruA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi Dave

On Thu, Sep 6, 2018 at 7:38 PM, Dave Page <dpage(at)pgadmin(dot)org> wrote:

> Hi
>
> On Thu, Sep 6, 2018 at 1:19 PM, Akshay Joshi <
> akshay(dot)joshi(at)enterprisedb(dot)com> wrote:
>
>> Hi Hackers,
>>
>> I have implemented the Feature #3564 pgAdmin4 should have shortcut tools
>> bar for frequently used features. As per discussion I have added buttons on
>> the "Browser" Panel.
>>
>> Thanks to *Ashesh* as he has modified the wcDocker code and added
>> following:
>>
>> - Added support to specify parent class which will be added to the
>> parent node of the wcFrameButton. This is required for the
>> identification of the button and enable/disable it.
>> - Added support to enable/disable the wcFrameButton using label.
>>
>> Attached is the patch file which contains implementation and feature
>> test. There is a change in package.json file, so need to run yarn
>> install after applying the patch.
>>
>
> Very nice!
>
> Couple of pieces of feedback:
>
> - Are there any relevant docs that need updating?
>

Updated.

>
> - Can we make the buttons look like regular toolbar buttons (only
> smaller)? They look quite different from the toolbar buttons on the query
> tool and debugger, and I think should have the same stying (not that of the
> tabset control buttons which I'd argue are semantically different in
> purpose).
>

Fixed. Please find attached patch file.

>
> Thanks!
>
> --
> Dave Page
> Blog: http://pgsnake.blogspot.com
> Twitter: @pgsnake
>
> EnterpriseDB UK: http://www.enterprisedb.com
> The Enterprise PostgreSQL Company
>

--
*Akshay Joshi*

*Sr. Software Architect *

*Phone: +91 20-3058-9517Mobile: +91 976-788-8246*

Attachment Content-Type Size
RM_3564_v2.patch application/octet-stream 912.5 KB

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Akshay Joshi 2018-09-10 11:50:37 [pgAdmin4][Patch]: RM #3630 Autocomplete broken in v3.3 release, works in v3.2
Previous Message Usman Muzaffar 2018-09-07 16:47:14 Re: [pgAdmin4][RM3136] Stabilise feature tests for continuous running on CI sytems