From: | Aditya Toshniwal <aditya(dot)toshniwal(at)enterprisedb(dot)com> |
---|---|
To: | pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org> |
Subject: | [pgAdmin][RM6130] React based framework for properties dialog and port Server Group, Server and Database dialogs |
Date: | 2021-06-17 10:00:25 |
Message-ID: | CAM9w-_=RbH2Nt9cWRf5ZaE509-a2nxvDxdNYN=BakLGvM288Lg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers |
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.
PS: Until all the nodes are migrated, this will not go in the main branch.
References:
https://material-ui.com/
https://cssinjs.org/
https://react-select.com/
https://react-table.tanstack.com/
--
Thanks,
Aditya Toshniwal
pgAdmin hacker | Sr. Software Engineer | *edbpostgres.com*
<http://edbpostgres.com>
"Don't Complain about Heat, Plant a TREE"
Attachment | Content-Type | Size |
---|---|---|
RM6130.patch | application/octet-stream | 406.6 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Akshay Joshi | 2021-06-17 10:20:59 | pgAdmin 4 v5.4 Released |
Previous Message | Fahar Abbas | 2021-06-17 08:42:32 | Re: pgAdmin4 v5.4 candidate builds |