Skip site navigation (1) Skip section navigation (2)

Re: Graphical Query Builder -- expanding public requires annoying double click

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: Thom Brown <thom(at)linux(dot)com>, Dave Page <dpage(at)pgadmin(dot)org>, Peter Dietz <pdietz84(at)gmail(dot)com>, pgadmin-support(at)postgresql(dot)org
Subject: Re: Graphical Query Builder -- expanding public requires annoying double click
Date: 2010-09-23 20:55:41
Message-ID: 4C9BBECD.7070003@lelarge.info (view raw or flat)
Thread:
Lists: pgadmin-support
Le 23/09/2010 22:48, Magnus Hagander a écrit :
> On Thu, Sep 23, 2010 at 22:44, Guillaume Lelarge <guillaume(at)lelarge(dot)info> wrote:
>> Le 23/09/2010 22:37, Thom Brown a écrit :
>>> On 23 September 2010 21:31, Dave Page <dpage(at)pgadmin(dot)org> wrote:
>>>> On Thu, Sep 23, 2010 at 9:27 PM, Peter Dietz <pdietz84(at)gmail(dot)com> wrote:
>>>>> Hi All,
>>>>> I have a minor grievance with pgAdmin3's Graphical Query Builder.
>>>>> I click plus on Schemas, then public has no plus, so I must double click
>>>>> public, then the plus button appears, which I can then click to expand the
>>>>> list to see whats in my database.
>>>>> [-] my-database-name
>>>>>     [+] Catalogs
>>>>>     [-] Schemas
>>>>>             public
>>>>> I would like that public would already have the expand symbol present by
>>>>> default.
>>>>> This is only a minor inconvenience, but it will hopefully save me, and every
>>>>> other user a little bit of time.
>>>>
>>>> It probably wouldn't, because it would require pre-populating the
>>>> node. If you have multiple schemas, that means scanning all of them
>>>> for objects in advance of when you actually want them.
>>>
>>> It is a bit unintuitive to present the user with a tree which suddenly
>>> stops, but expect them to know to double click on it to go further.
>>> Couldn't this have a [+] anyway, which would disappear if there was
>>> nothing inside?  And is there that much of a cost of doing the scan
>>> anyway?  The user will nearly always need to open the schema node
>>> anyway.
>>>
>>
>> I'm not sure we can do this. The "+" sign appears when the node has
>> children. And before one double clicks on the node, there are no
>> children to this node.
>>
>> I don't say this is impossible. Just that I don't see an easy way to
>> code what you want.
> 
> Could we just create a fake empty item under it that says "loading..."
> or something like that?
> 
> 

Could be working.


-- 
Guillaume
 http://www.postgresql.fr
 http://dalibo.com

In response to

pgadmin-support by date

Next:From: GianniDate: 2010-09-24 05:32:11
Subject: Re: Issues with 1.12.0 (Mac OS X)
Previous:From: Magnus HaganderDate: 2010-09-23 20:48:48
Subject: Re: Graphical Query Builder -- expanding public requires annoying double click

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group