Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aifGo-00035P-C0 for pgadmin-hackers@arkaria.postgresql.org; Wed, 23 Mar 2016 09:40:06 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1aifGn-0003cO-LZ for pgadmin-hackers@arkaria.postgresql.org; Wed, 23 Mar 2016 09:40:05 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1aifGZ-0003NT-Tb for pgadmin-hackers@postgresql.org; Wed, 23 Mar 2016 09:39:51 +0000 Received: from mail-io0-x22c.google.com ([2607:f8b0:4001:c06::22c]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1aifGV-0003vk-Tu for pgadmin-hackers@postgresql.org; Wed, 23 Mar 2016 09:39:50 +0000 Received: by mail-io0-x22c.google.com with SMTP id v187so91452ioe.2 for ; Wed, 23 Mar 2016 02:39:47 -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=vY74KWn+NhkjWzsGFdtHrwjFKHYFhby4rbeAfOfvs4I=; b=H0hcIAFOx8MfcpbYlqa/3msPZcHZR3npuwKJKdUZ6PKImFMOGJFcnzcX+kWKXeUbd6 kYacbo/H3n2tRrwPNZRVjqyAKuJK5ioE3RVZczKcA3VG5uPvA8AH34OlNjtsOCp+DnNy jLTwrphq3rcCoQdZUWTeLz+5dfMPcbs5Ng07J301e81MFB8K/I9Cd3WDFqZqnh2N3Yjz 7NU8KxVn2JFPOHhuf7HDv5WadbQsyl/ZpKYOny4noeHbc4esyhIy7Aae3QjZ2DTBAYyr siqfQWSUptqQqh46YYvSW86CpJj2wqqET0EcB2LthiBhrYJH888GfJIKW03ka++nYpLv Koow== 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=vY74KWn+NhkjWzsGFdtHrwjFKHYFhby4rbeAfOfvs4I=; b=Qe0URhk00Faig502RtCfSmLTSJx12xD9b5W+ZUlFfam8PfAbDoxvwxUk6nGIe9zLyN TMId7snmc8HiPPS+Q1p0CcnbU7Zu4k6rpKEo85y+Zs2VZs/W8aaR8Ga/lUygCfkVapp7 CSlGTTaUfIKqWoUzxfjmW1DDnD3KegHTwA50Ax5pvvusAB76cd3s7CUMqrvIEoSnCK5d gD6TnokQMUIriGI5iKS27k9nxZmNdcsTOBd6upTirdzcqMRrTT/Hx1IUH3OyGd7TW20D Zy+ymG1j2Wq04lUY663LxzX5C4aTg5fHkamFJtsjXNRkuUrbWSSghIwaSy2vwJuSAqnV dV+A== X-Gm-Message-State: AD7BkJINHdgPm9U0KGyCSDDYcYXLrivJroWIVFzGNYXPQOxL5nDTxJDEqLNr3fCgoOKOylYDJTWnDwuXLO8v6w== MIME-Version: 1.0 X-Received: by 10.107.158.148 with SMTP id h142mr2477301ioe.63.1458725983869; Wed, 23 Mar 2016 02:39:43 -0700 (PDT) Received: by 10.64.24.175 with HTTP; Wed, 23 Mar 2016 02:39:43 -0700 (PDT) In-Reply-To: References: Date: Wed, 23 Mar 2016 09:39:43 +0000 Message-ID: Subject: Re: pgAdmin4 PATCH: Domain Module From: Dave Page To: Khushboo Vashi Cc: pgadmin-hackers Content-Type: text/plain; charset=UTF-8 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 Did you forget to attach the latest patch? On Wed, Mar 23, 2016 at 7:27 AM, Khushboo Vashi wrote: > Updated one comment. > > On Wed, Mar 23, 2016 at 12:48 PM, Khushboo Vashi > wrote: >> >> Hi, >> >> Please find attached updated patch for the Domains module. >> >> On Wed, Mar 16, 2016 at 9:40 PM, Dave Page wrote: >>> >>> Hi >>> >>> On Wed, Mar 16, 2016 at 2:03 PM, Khushboo Vashi >>> wrote: >>> > Hi, >>> > >>> > Please find the updated Domain Module Patch. >>> > >>> > To test this patch, please apply Backgrid Textarea Cell Patch before >>> > this. >>> >>> Thanks. I believe with the following fixes, we'll be done :-) >>> >>> - Default values should be auto-quoted when necessary (ie. strings, on >>> a text-based domain). >> >> As per our discussion, this should leave unquoted. > > And also added a hint to the field stated 'Enter an expression or a value.' >> >> >>> - "System Domain?" should be in the General section, between owner and >>> comment. >> >> Done >>> >>> - The switches should use the same colouring/styling as other objects, >>> e.g. >>> >>> options: { >>> 'onText': 'Yes', 'offText': 'No', >>> 'onColor': 'success', 'offColor': 'primary', >>> 'size': 'small' >>> } >> >> Done >>> >>> - Please remove the Schema property from the main properties tab (not >>> the properties dialogue). >> >> Done >>> >>> - No icon is show for Checks on the Dependents tab for a domain. >> >> Done >>> >>> - The add button on the Security Labels tab is spelt "Add". Why is >>> that? Other instances of this grid use "ADD" which is the default in >>> backform.pgadmin.js. >> >> Done >>> >>> - Dependencies on domain check constraints are listed as being on a >>> "Type" not a "Domain". >> >> Done >>> >>> - If adding a domain constraint using the grid on the Domain dialogue, >>> I cannot specify "NOT VALID". We need a checkbox for that in a narrow >>> columns at the end. Unchecking it for an existing constraint should be >>> the equivalent of doing "ALTER DOMAIN ... VALIDATE CONSTRAINT" >> >> Done >>> >>> - If I switch the "Don't Validate" switch on a constraint, there are >>> leading blank lines in the generated SQL. The same occurs when adding >>> a comment to a constraint. >> >> Done >>> >>> - I think we need to reverse the meaning of "Don't Validate" and >>> rename to match the "Valid?" field that's on the properties list. >>> Otherwise it's not clear they're the same thing. >> >> Done >>> >>> - s/Not Null/Not Null?/ >> >> Done >>> >>> >>> >>> -- >>> Dave Page >>> Blog: http://pgsnake.blogspot.com >>> Twitter: @pgsnake >>> >>> EnterpriseDB UK: http://www.enterprisedb.com >>> The Enterprise PostgreSQL Company >> >> > -- Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers