public inbox for [email protected]  
help / color / mirror / Atom feed
From: Akshay Joshi <[email protected]>
To: Rahul Shirsat <[email protected]>
Cc: pgadmin-hackers <[email protected]>
Subject: Re: [pgAdmin][Patch] #4059 Query Tool button in Query Tool to open a new Query Window
Date: Fri, 28 Aug 2020 18:24:14 +0530
Message-ID: <CANxoLDfA4NnprMEhYtPj9JTDG036L5VOed3Lpk-C20xn0bXSsg@mail.gmail.com> (raw)
In-Reply-To: <CAKtn9dM5woCVYAc5dKAZ=eSuoDCw1HnJFNcX_=mduQ25Q16Bjg@mail.gmail.com>
References: <CAKtn9dPt5BB_vGqxYfbrPx7R=RWgXQsCPr0aCEtVDnN3W5C3-A@mail.gmail.com>
	<CAKtn9dM5woCVYAc5dKAZ=eSuoDCw1HnJFNcX_=mduQ25Q16Bjg@mail.gmail.com>

Thanks, patch applied.

On Thu, Aug 27, 2020 at 8:16 PM Rahul Shirsat <
[email protected]> wrote:

>
> Please find the update patch attached here.
>
> On Thu, Aug 27, 2020 at 8:10 PM Rahul Shirsat <
> [email protected]> wrote:
>
>> Hi Hackers,
>>
>> Please find the attached patch below which adds the functionality of the
>> query tool button in the query tool sqleditor.
>>
>> *Acceptance criteria:*
>> - For sqleditor on same window & on new tab:
>>
>>    - When a query tool connection is initiated, as expected it will open
>>    the connection based on the selected database in the treeview. Now, when
>>    the user clicks the query tool connection button on the query tool window,
>>    irrespective of the selected database in treeview, it should open a
>>    connection based on the query tool connected database.
>>    - Similarly, for a new tab, clicking on the query tool connection
>>    button, it should open a connection based on the query tool connected
>>    database, instead of selected treeview node.
>>
>> [image: query tool button.png]
>>
>> Additionally, an error is handled in the form of message dialog prompting
>> the user to initiate the connection, when sqleditor is opened in the new
>> tab with the main application window kept closed. This can be reviewed by
>> refreshing the window as well as clicking on the query tool connection
>> button.
>>
>> A prompt dialog message box is seen as:
>>
>> [image: Screen Shot 2020-08-27 at 8.04.33 PM.png]
>>
>> --
>> *Rahul Shirsat*
>> Software Engineer | EnterpriseDB Corporation.
>>
>
>
> --
> *Rahul Shirsat*
> Software Engineer | EnterpriseDB Corporation.
>


-- 
*Thanks & Regards*
*Akshay Joshi*
*pgAdmin Hacker | Sr. Software Architect*
*EDB Postgres <http://edbpostgres.com>*

*Mobile: +91 976-788-8246*


Attachments:

  [image/png] query tool button.png (78.2K, 3-query%20tool%20button.png)
  download | view image

  [image/png] Screen Shot 2020-08-27 at 8.04.33 PM.png (47.9K, 4-Screen%20Shot%202020-08-27%20at%208.04.33%20PM.png)
  download | view image

view thread (7+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: [pgAdmin][Patch] #4059 Query Tool button in Query Tool to open a new Query Window
  In-Reply-To: <CANxoLDfA4NnprMEhYtPj9JTDG036L5VOed3Lpk-C20xn0bXSsg@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox