Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1agB5h-0007b1-Fr for pgadmin-hackers@arkaria.postgresql.org; Wed, 16 Mar 2016 13:02:21 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1agB5h-0007pe-2S for pgadmin-hackers@arkaria.postgresql.org; Wed, 16 Mar 2016 13:02:21 +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 1agB5S-0007Ju-VI for pgadmin-hackers@postgresql.org; Wed, 16 Mar 2016 13:02:07 +0000 Received: from mail-io0-x22f.google.com ([2607:f8b0:4001:c06::22f]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1agB5N-0006s8-RY for pgadmin-hackers@postgresql.org; Wed, 16 Mar 2016 13:02:05 +0000 Received: by mail-io0-x22f.google.com with SMTP id g203so58018204iof.2 for ; Wed, 16 Mar 2016 06:02:01 -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=Is3l7zEebhBObRqHIr6nARRJubTE3qTvOhZ2I+fV9pY=; b=pPbjFfRI7qWj4GdL2Nw2zGuB4Tzu4guSVyARawkHJrPFIGvpLXIT+dsjxER+g7Vxre sPPNN2QiCQRmUIH+JF9CaeFAPVS5YBVxXuVbj7qXn4kJn0TMxOvXNV1SrAxWkYrpywGK lBN9YP0Q6C19kNxHoLra1hideYTfCbG0/osD5xCON8lCcIsz4U04IT3PTmndt87ubNJM PY+UCwxmfs0H3XabEvVA6MuDj1HGjlXv2nA8T2pcX6izpR+VkKfn1SzM0/cXDM9jivdX VO4SR0b0R8Lh0tlQTKtYsnpq7ZAwXjr+e+fAjInFmXYh2ivJXkPB7rUW2OrCKtkOZnrg Illw== 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=Is3l7zEebhBObRqHIr6nARRJubTE3qTvOhZ2I+fV9pY=; b=KwKZpHcU4pjXd9HKfvRKm6TY5rR0BEbE0Q0BvrKKBGjrN7/WsWoLLIsON56X9MKlBw XVUk3nZ5h/xzngoqy5kf/2cFxc+Lohfgf7rEcDzy1wI4do5gO6Hna3JA4GKDPzVTliPn fSL2A8KIyjp9MFBMcskxCQBGsfSS+Rf+jfpSeNgiJfi8cp/+ohGYIoQ8Yt19/NkBL8xS /BZHqLPWqcNIZ6W2SqpVgoXRWxazYpcKXlbV+gFCv81rzna0MFiLi7kGPQjhNd0v3zUU ++RML3UUKOqqffkPCQG+FFojM2pblf6UlYh77w5Hcqws1OEObawD5IcwaxpSW/FP3z1o Nuog== X-Gm-Message-State: AD7BkJJ4nc14IQpplZhUAdnWav6aKtf26nsinY9k9nslpIuxkF3KXZTG6uvYvdD6RT4HiZiMnO2p/YdFVKC9Sg== MIME-Version: 1.0 X-Received: by 10.107.43.2 with SMTP id r2mr3570957ior.156.1458133320905; Wed, 16 Mar 2016 06:02:00 -0700 (PDT) Received: by 10.64.213.73 with HTTP; Wed, 16 Mar 2016 06:02:00 -0700 (PDT) In-Reply-To: References: Date: Wed, 16 Mar 2016 13:02:00 +0000 Message-ID: Subject: Re: PATCH: Added Node Type & Catalog objects [pgAdmin4] From: Dave Page To: Murtuza Zabuawala 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 Hi On Mon, Mar 14, 2016 at 12:21 PM, Murtuza Zabuawala wrote: > Hi Dave, > > Thank you for reviewing my patch. > > I have made changes according to your feedback. > > Please review updated patch. OK, I think it's in pretty good shape now. Here's what I hope are the last of the review comments, mostly minor things :-) - I'm allowed to edit ENUM label names, but PostgreSQL doesn't support that. - Security label fields resize in Edit mode. See recent changes by Arun to fix that elsewhere. - When editing a type, I cannot select a Grantee on the Privileges tab. - When adding a composite type, I cannot type/select directly in the grid, I have to expand the row. - If I click ADD to add a new member to a composite type whilst the previous row is expanded, the new row is added, but the expanded panel remains linked to the first row. - If I then click on the Edit button on the new row, I see two expanded panels, neither of which is attached to their row (and they're in the wrong order). I would only expect to see one panel at a time. - When creating an External type, the Input, Output, Send, Receive and Analyze function lists are all blank. Is this expected? I would have thought there would be system functions listed as there are for Typmod in/out. - Labels for Yes/No fields should typically end in a '?', e.g. "Variable?", "Preferred?" - s/Prefered/Preferred - Why does "Range" type have a frame around it? - If a field is there to select/display a function, it should have "function" at the end of its label, e.g. "Canonical function" - As above, but with type. E.g. "Element type" - Some of the combo boxes have hint text of "Select from the list", whilst others don't. This should be consistent. - The colouring of "No" on the switches should be blue (see "System Schema?") - s/Subtype/Sub-type/ - s/SubType diff/Sub-type diff function/ - Please remove the pre-9.1 support. - In def create(self, gid, sid, did, scid), ensure error messages are properly pluralised, e.g. 'Composite types require at least two members' or 'External types require both Input & Output conversion functions.' - additional_features.sql is poorly formatted (lack of proper indentation) Thanks! -- 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