Re: pgAdmin 4 commit: Use a more sensible name for Query Tool tabs. Fixes #

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Surinder Kumar <surinder(dot)kumar(at)enterprisedb(dot)com>
Cc: Harshal Dhumal <harshal(dot)dhumal(at)enterprisedb(dot)com>, pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: pgAdmin 4 commit: Use a more sensible name for Query Tool tabs. Fixes #
Date: 2017-06-15 11:21:47
Message-ID: CA+OCxoxS7m54ca6nFvBuEiFfRS=OF2MWvkDJOYpRnMkWPM8-iw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Thanks, applied.

When you get some spare time (after the webpacking work that I believe
you're doing), could you please add a feature test (or modify a suitable
existing one) to ensure the various script options work as they should?

Thanks again!

On Thu, Jun 15, 2017 at 11:55 AM, Surinder Kumar <
surinder(dot)kumar(at)enterprisedb(dot)com> wrote:

> Hi Dave,
>
> Please find attached patch. It should work.
> In previous patch I was unaware that i added untracked file to tracked.
>
> On Thu, Jun 15, 2017 at 4:10 PM, Dave Page <dpage(at)pgadmin(dot)org> wrote:
>
>> Hi
>>
>> Was this patch generated against a WIP branch? I get:
>>
>> (pgadmin4)piranha:pgadmin4 dpage$ git apply ~/Downloads/fix_scripts_in_que
>> ry_tool.patch
>> error: web/pgadmin/static/js/setup_connection.js: No such file or
>> directory
>>
>> On Thu, Jun 15, 2017 at 6:36 AM, Surinder Kumar <
>> surinder(dot)kumar(at)enterprisedb(dot)com> wrote:
>>
>>> Hi
>>>
>>> PFA patch which fixes the issue Harshal reported.
>>>
>>> Thanks,
>>> Surinder
>>>
>>> On Thu, Jun 15, 2017 at 3:52 AM, Harshal Dhumal <
>>> harshal(dot)dhumal(at)enterprisedb(dot)com> wrote:
>>>
>>>> Surinder,
>>>>
>>>> I guess this broke the script options (Create, Delete, Select, Insert,
>>>> Update)
>>>>
>>>>
>>>> VM4124 datagrid.js:440 Uncaught TypeError: self.get_panel_title is not
>>>> a function at Object.success (VM4124 datagrid.js:440) at fire (
>>>> jquery-1.11.2.js:3143) at Object.fireWith [as resolveWith] (
>>>> jquery-1.11.2.js:3255) at done (jquery-1.11.2.js:9309) at
>>>> XMLHttpRequest.callback (jquery-1.11.2.js:9713)
>>>> success @ VM4124 datagrid.js:440
>>>> fire @ jquery-1.11.2.js:3143
>>>> fireWith @ jquery-1.11.2.js:3255
>>>> done @ jquery-1.11.2.js:9309
>>>> callback @ jquery-1.11.2.js:9713
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> *Harshal Dhumal*
>>>> *Sr. Software Engineer*
>>>>
>>>> EnterpriseDB India: http://www.enterprisedb.com
>>>> The Enterprise PostgreSQL Company
>>>>
>>>> On Tue, Jun 13, 2017 at 4:04 PM, Dave Page <dpage(at)pgadmin(dot)org> wrote:
>>>>
>>>>> Use a more sensible name for Query Tool tabs. Fixes #2482
>>>>>
>>>>> Branch
>>>>> ------
>>>>> master
>>>>>
>>>>> Details
>>>>> -------
>>>>> https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdif
>>>>> f;h=57d866f7b70996a82a881b20248c3285ab3a6900
>>>>> Author: Surinder Kumar <surinder(dot)kumar(at)enterprisedb(dot)com>
>>>>>
>>>>> Modified Files
>>>>> --------------
>>>>> web/pgadmin/browser/templates/browser/js/node.js | 4 +-
>>>>> web/pgadmin/static/css/webcabin.overrides.css | 13 +++++
>>>>> .../datagrid/templates/datagrid/js/datagrid.js | 58
>>>>> ++++++++++++----------
>>>>> .../sqleditor/templates/sqleditor/js/sqleditor.js | 5 +-
>>>>> 4 files changed, 49 insertions(+), 31 deletions(-)
>>>>>
>>>>>
>>>>> --
>>>>> Sent via pgadmin-hackers mailing list (pgadmin-hackers(at)postgresql(dot)org)
>>>>> To make changes to your subscription:
>>>>> http://www.postgresql.org/mailpref/pgadmin-hackers
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Sent via pgadmin-hackers mailing list (pgadmin-hackers(at)postgresql(dot)org)
>>> To make changes to your subscription:
>>> http://www.postgresql.org/mailpref/pgadmin-hackers
>>>
>>>
>>
>>
>> --
>> Dave Page
>> Blog: http://pgsnake.blogspot.com
>> Twitter: @pgsnake
>>
>> EnterpriseDB UK: http://www.enterprisedb.com
>> The Enterprise PostgreSQL Company
>>
>
>

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

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

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Johan Van de Wauw 2017-06-15 11:24:50 Minor typo in web/config.py
Previous Message Dave Page 2017-06-15 11:19:49 pgAdmin 4 commit: Fix script options which were inadvertently broken in