Re: pgAdmin III: Muliple SQL tabs - Mailing list pgadmin-hackers

From John Obaterspok
Subject Re: pgAdmin III: Muliple SQL tabs
Date
Msg-id CAOscVdJdgQ5aTAPRWN98iaaOpOuksP=_7eGbvri25h2gPSZWrw@mail.gmail.com
Whole thread Raw
In response to Re: pgAdmin III: Muliple SQL tabs  (Dave Page <dpage@pgadmin.org>)
Responses Re: pgAdmin III: Muliple SQL tabs
List pgadmin-hackers


2016-02-02 12:08 GMT+01:00 Dave Page <dpage@pgadmin.org>:
On Tue, Feb 2, 2016 at 3:17 AM, Sergey Busel <sbusel@gmail.com> wrote:
> Patch file for multiple SQL tabs is attached.

Thanks - I see how this could be useful. I think it needs a little
work before it could be included:

- Unused code should be removed, not commented out.
- I think the tab names should reflect the file name (where there is
one) - e.g. "Query 2" should become "foo.sql" (without the path) if
you save the query.
- There should be some way for the user to see which tab the results
are related to. Maybe the output pane title should read "Output Pane
(Query 2)" or "Output Pane (foo.sql)" as appropriate? I'm not sure if
that will do weird things with the perspective though - they used to
include panel titles.
- Instead of the "Close Tab" menu option, perhaps an X button should
be added to the right-hand end of the active tab?


I haven't tested this but I agree with the above comments. Regarding the results pane I assume the output window, results window, query time, etc all reflect the current SQL query tab? So if you have two tabs with different queries you can switch between them and see their result window.

-- john 

pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: pgAdmin website commit: Simplify JSON structure
Next
From: Sergey Busel
Date:
Subject: Re: pgAdmin III: Muliple SQL tabs