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

Re: pgAdmin III commit: Default role support in server configs, quick conne

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
Cc: pgadmin-hackers(at)postgresql(dot)org
Subject: Re: pgAdmin III commit: Default role support in server configs, quick conne
Date: 2010-08-25 08:16:45
Message-ID: AANLkTi=wtyxojQF9WzgaEF1HQ8zjy9=AnuWAPdObVhQn@mail.gmail.com (view raw or flat)
Thread:
Lists: pgadmin-hackers
On Tue, Aug 24, 2010 at 10:59 PM, Guillaume Lelarge
<guillaume(at)lelarge(dot)info> wrote:
> Le 24/08/2010 23:19, Dave Page a écrit :
>> On Tue, Aug 24, 2010 at 10:03 PM, Guillaume Lelarge
>> <guillaume(at)lelarge(dot)info> wrote:
>>> Le 24/08/2010 22:54, Dave Page a écrit :
>>>> This patch seems to have sizing issue on Windows - basically there
>>>> isn't enough space on the dialogue for all the controls now.
>>>>
>>>> It seems like we should move some onto an "Advanced" tab - but I'm
>>>> having a hard job persuading myself which should go (particularly as
>>>> we normally want a multi-line textbox on the first tab so it looks OK
>>>> when resized. The controls it makes most sense to move IMHO, are:
>>>>
>>>> Rolename
>>>> DB restriction
>>>> Service
>>>> Restore env?
>>>>
>>>> If we did that, I suppose the colour button could be resized vertically.
>>>>
>>>> Thoughts?
>>>>
>>>
>>> I would keep less on the first tab. I think we should probably only keep
>>> the required ones. So:
>>>
>>>  * tab 1, name, port, host, ssl, username, password (and perhaps store
>>>   password
>>>  * tab 2, maintenance db, rolenamen restore env., db restriction,
>>>   service, connect now, colour, group.
>>
>> I think maintenance DB should be on the first tab. I don't object to
>> moving connect now.  Not sure about colour and group though - group I
>> think should be on the first tab - and colour seems be be a natural
>> partner to it.
>>
>>
>
> Something like http://lelarge.info/~guillaume/tmp/dlgServer_1.png and
> http://lelarge.info/~guillaume/tmp/dlgServer_2.png?

Looks good to me. The only changes I'd make are "Advanced" instead of
"Optional" as the new tab name, and ensure Connect Now defaults to on
for new connections.

BTW - did you mock this up directly in the XRC code (as opposed to
Gimp or something)? If so, it's probably easier for you to tweak and
commit that. Otherwise I'll look at it today.

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

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

In response to

Responses

pgadmin-hackers by date

Next:From: Guillaume LelargeDate: 2010-08-25 08:19:54
Subject: Re: pgAdmin III commit: Default role support in server configs, quick conne
Previous:From: Guillaume LelargeDate: 2010-08-24 21:59:49
Subject: Re: pgAdmin III commit: Default role support in server configs, quick conne

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