Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ltsVt-000543-HQ for pgadmin-hackers@arkaria.postgresql.org; Thu, 17 Jun 2021 13:56:57 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ltsVs-0000qV-IZ for pgadmin-hackers@arkaria.postgresql.org; Thu, 17 Jun 2021 13:56:56 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ltsVs-0000qN-CN for pgadmin-hackers@lists.postgresql.org; Thu, 17 Jun 2021 13:56:56 +0000 Received: from mail-ej1-x636.google.com ([2a00:1450:4864:20::636]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1ltsVl-0004BO-OY for pgadmin-hackers@postgresql.org; Thu, 17 Jun 2021 13:56:56 +0000 Received: by mail-ej1-x636.google.com with SMTP id my49so10015798ejc.7 for ; Thu, 17 Jun 2021 06:56:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pgadmin.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=cOAqT+OzbHIKCLKjpsm0wtA1SHryQhwx+55vTsGFJ6s=; b=YubWsZm/m00+nFWgFtxmdsCdo4E2K84cA5qL5gShLn22ythNBUkTpDIuwYqNaXIxGx j2MbPkEk7QKngXgfOvdsMNCorpn6YsEQGb4XQfOX3zc2snJ3aqj46XEHcnVYRRhBEV0q rVFoNH1VKE1xMe3gPi2u7Qr4mb5C78kWbgLhee8tj1qyxPCHzXEPTwWfLYjtKi/cjavy VktoJPJR8RUk8G5DOnAa0iIpXlR3nYK6IfZ7mbvaOaf0OS+VkQNYUddCQMx+TWLr2TYE rQFMY2zGtX9lduVveviTQ9VfYm9EWckR+h1vE2eo6HtrPlooiYHHUOPhHHauTGWQUT7t OC/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=cOAqT+OzbHIKCLKjpsm0wtA1SHryQhwx+55vTsGFJ6s=; b=cQt3bTiCpW7X30soRVI2GVUnvTxlDNMvkE89ZFlUzugCWilDaskzCzr8eScLC2jFxl KIUGaJFB5KzTJH+x0/U1jtwXtOHCwzRL1dHARjBFbkjRWTPccDSa9b0bzPaMDC2T4Mzv 6BtzphXe2eLLA0NGtw8moAKY4ZMCJ+urB3GnzLJc4LJjEj7TJfaws3RqB8QTrgSeVK2x BXNxDNCLZhGFGvBf6TDFH7gE6+8ek0h7ol7S1qZZR4ogHaMeQqAWKjhiLndhxo0z9/w8 Q8LggF4tfmpmcLsz32ULeRgnv80kzJkqkG+O+7tMtZA4jIZMKC2mSa9R638FMQHVWBJj iT2Q== X-Gm-Message-State: AOAM533pe6b/Fi5ST1vjzgdiSRwSusnetwPB8PCPs6FJ9i6M3b5ydq50 AL46A1RvBmHJSpAabnzgxb9Dp6+z7R6DxNURAQjHqw== X-Google-Smtp-Source: ABdhPJx/zoAqffQQ21DmtAa5Ln/Lqtb0IJdZ/pgW0ET4D5m8IMunFhcH0Ktygri1s9S4xCMDmLO5CIGvoEhl1hn1dgM= X-Received: by 2002:a17:906:e15:: with SMTP id l21mr4202925eji.386.1623938208822; Thu, 17 Jun 2021 06:56:48 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Dave Page Date: Thu, 17 Jun 2021 14:56:35 +0100 Message-ID: Subject: Re: [pgAdmin][RM6130] React based framework for properties dialog and port Server Group, Server and Database dialogs To: Aditya Toshniwal Cc: pgadmin-hackers Content-Type: multipart/alternative; boundary="000000000000130b2605c4f6946a" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000130b2605c4f6946a Content-Type: text/plain; charset="UTF-8" Hi On Thu, Jun 17, 2021 at 11:01 AM Aditya Toshniwal < aditya.toshniwal@enterprisedb.com> wrote: > Hi Hackers, > > Attached patch marks the beginning of migrating properties dialog/tab to > React based code, which is easy to maintain, performant and testable using > automation. > Patch includes: > - Framework for creating React based dynamic form view out of a > pre-defined UI schema. Previously, it was based on Backform/Backbone. > - The new framework and components will use MaterialUI as base. > Previously, Bootstrap/Backform/jQuery components were used. > - The new code uses JSS instead of CSS since material ui and most modern > React libraries also use JSS. In future, this will allow us to change > the theme in real-time without refresh. > - 90% code covered by 80-85 new jasmine test cases. > - Server group node UI Schema migration to new, with schema test cases. > - Server node UI Schema migration to new, with schema test cases. > - Database node UI Schema migration to new, with schema test cases. > - Few other UI changes. > Nice! > > PS: Until all the nodes are migrated, this will not go in the main branch. > Yeah, how are we going to manage this? I agree with building it out in a branch until we have full coverage of the dialogues, but I'm concerned that it'll become a merge nightmare. Though, I guess we aren't touching the dialogues much for other things right now, so maybe not. -- Dave Page Blog: https://pgsnake.blogspot.com Twitter: @pgsnake EDB: https://www.enterprisedb.com --000000000000130b2605c4f6946a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi

On Thu, Jun 17, 2021 at 11:01 AM Aditya Toshniwal &= lt;aditya.toshniwal@en= terprisedb.com> wrote:
Hi Hackers,

Attached patch marks the beginning=C2=A0of migrating propertie= s dialog/tab to React based code, which is easy to maintain, performant and= testable using automation.
Patch includes:
- Framework for creating=C2=A0React based dynamic form view out of a pre-= defined UI schema. Previously, it was based on Backform/Backbone.
- The new framework and component= s will use MaterialUI as base. Previously, Bootstrap/Backform/jQuery compon= ents were used.
- Th= e new code uses JSS instead of CSS since material ui and most modern React = libraries also use JSS. In future, this will=C2=A0allow us to change the=C2= =A0theme in real-time without refresh.
- 90% code covered by 80-85 new jasmine test cases.
- Server group node UI Schema migration to new, with sc= hema test cases.
- Serve= r node UI Schema migration to new, with schema test cases.
- Database node UI Schema migration = to new, with schema test cases.
- Few other UI changes.

Nice!
=C2=A0
=

PS: Until=C2=A0all the nodes are migrated, this = will not go in the main branch.

Yeah, how are we going to manage this? I agree with building it out = in a branch until we have full coverage of the dialogues, but I'm conce= rned that it'll become a merge nightmare. Though, I guess we aren't= touching the dialogues much for other things right now, so maybe not.
=C2=A0
--
<= div dir=3D"ltr">Dave Page
Blog: https://pgsnake.blogspot.com
Twitter: @pgsnake
EDB: https:= //www.enterprisedb.com

--000000000000130b2605c4f6946a--