Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b8O0v-0007jT-RC for pgadmin-hackers@arkaria.postgresql.org; Thu, 02 Jun 2016 08:30:01 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1b8O0u-0001qV-UI for pgadmin-hackers@arkaria.postgresql.org; Thu, 02 Jun 2016 08:30:00 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1b8O0u-0001qM-DF for pgadmin-hackers@postgresql.org; Thu, 02 Jun 2016 08:30:00 +0000 Received: from mail-io0-x234.google.com ([2607:f8b0:4001:c06::234]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1b8O0r-0006Fl-5O for pgadmin-hackers@postgresql.org; Thu, 02 Jun 2016 08:29:59 +0000 Received: by mail-io0-x234.google.com with SMTP id k19so26469056ioi.3 for ; Thu, 02 Jun 2016 01:29:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pgadmin-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=ob6eqRjGOGYHI1f3LeTwcwYEOpHFau3ZD21BpwmfBJs=; b=T23z/W/WASBpRHqFBGZz5kG5QnDL3ZkLkyRc6w4UDyxv8KR3n0YrfuzC2bEflEDAYH q56sTdf001NmhLSiLk702QvC7j66Ora6MBz7wOeyjtGdpc801Sobwnzpvgo3yAPxTB/t cjMRHQzpW3mkAuU0QwqLHpdsFjwBC4M2UOLFu5TPR+d5viFYOZhDf8Ekmnxwbh19NLXF BcU2hRmM58DZIN1WtqkRDd/NXbrPkI4fhcMh4t3TRxAghimaNIT4v+VyKyW74pqulY/r YjhlvSyDbp+soTQFIt+aTnRT2PkJdhEPliSkZAcaeOPk/m5uTvaThdHemvlK3Az/KwQ+ H+Jg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=ob6eqRjGOGYHI1f3LeTwcwYEOpHFau3ZD21BpwmfBJs=; b=UylGpNm+W+1otDdRBas4l2HvMU3yaomQgKxrBOOx7qrLis0bOLPt4x11P8jj9OFpvb KY7BimNuilJh0DC/GuAQtGYy8PvWeGNVWPWnzO0W9G0Wxm7vJ1tfnoly/D8r6WLA7UgI LduRjM/NYBucwijOZz4HGdTQyjpOcUvJkXSPiT4JO+N+3TXzzpNEBD4VfDIOvKn9zlOV T+RMGQWRxoTo9kevkT5o0KIbOKhCd8rmlmWQJyAA1TCIkp4B3Qk0NKr+4tZuBkRqvxrz EQ26WO+GOh0jmH5u8GQaGeRcjYc3qOLwUwxZSJ/5aUQWb0gMSxh5mslDqPz9NK7taWK7 600w== X-Gm-Message-State: ALyK8tIWKoe2kutjSmxc7CVX1purbLWMcvmYDhftTUL+yB939zaMoIu3ohrZMpj9wAObH8+haJMbGpOc5OuCfg== MIME-Version: 1.0 X-Received: by 10.107.3.89 with SMTP id 86mr1740248iod.156.1464856196145; Thu, 02 Jun 2016 01:29:56 -0700 (PDT) Received: by 10.64.236.101 with HTTP; Thu, 2 Jun 2016 01:29:56 -0700 (PDT) In-Reply-To: References: Date: Thu, 2 Jun 2016 09:29:56 +0100 Message-ID: Subject: Re: Regarding issue 1241 From: Dave Page To: Harshal Dhumal Cc: pgadmin-hackers Content-Type: multipart/alternative; boundary=001a113fc002380a2d05344769c8 X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgadmin-hackers Precedence: bulk Sender: pgadmin-hackers-owner@postgresql.org --001a113fc002380a2d05344769c8 Content-Type: text/plain; charset=UTF-8 On Tue, May 31, 2016 at 8:53 PM, Harshal Dhumal < harshal.dhumal@enterprisedb.com> wrote: > Hi Dave, > > Regarding Issue 1241 : > > We have added header section for parameter tab deliberately so that we can > force user to select parameter name (and therefore parameter's data type) > before adding new row. This is required because behavior of second cell > (Value cell) is dependent on what parameter name user has selected in first > cell (Name cell). See attached screen-shot. > > For example: > 1. If user selects parameter 'array_nulls' then value for this should be > either true or false (and hence switch cell). > 2. If user selects parameter 'cpu_index_tuple_cost' then value for this > should be Integer (and hence Integer cell). > > Without the custom header (and forcing user to select parameter) we cannot > decide what type of cell we need in second column. > > Let me know your opinion on this. > We need to figure out a way to fix it. Our difficulties encountered writing code should not dictate usability compromises. In this case, something that needs some thought and maybe some tricky code has caused us to create an inconsistent UI workflow to side-step the problem, which is not appropriate as it leads to a poor look and feel and potentially confusion for the user. -- Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company --001a113fc002380a2d05344769c8 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On Tue, May 31, 2016 at 8:53 PM, Harshal Dhumal <<= a href=3D"mailto:harshal.dhumal@enterprisedb.com" target=3D"_blank">harshal= .dhumal@enterprisedb.com> wrote:
Hi Dave,

Regarding Issue 1241:=

We have added header section for parameter tab deliberately so= that we can force user to select parameter name (and therefore parameter&#= 39;s data type) before adding new row. This is required because behavior of= second cell (Value cell) is dependent on what parameter name user has sele= cted in first cell (Name cell). See attached screen-shot.

For exampl= e:
1. If user selects parameter 'array_nulls' then value for thi= s should be either true or false (and hence switch cell).
2. If user sel= ects parameter 'cpu_index_tuple_cost' then value for this should be= Integer (and hence Integer cell).

Without the custom header (and fo= rcing user to select parameter) we cannot decide what type of cell we need = in second column.

Let me know your opinion on this.
<= /blockquote>

We need to figure out a way to fix it. Our = difficulties encountered writing code should not dictate usability compromi= ses. In this case, something that needs some thought and maybe some tricky = code has caused us to create an inconsistent UI workflow to side-step the p= roblem, which is not appropriate as it leads to a poor look and feel and po= tentially confusion for the user.


= --
Da= ve Page
Blog: = http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK= : http://www.ente= rprisedb.com
The Enterprise PostgreSQL Company
--001a113fc002380a2d05344769c8--