Thread: [pgAdmin][RM-6687]: [React] Port Grant Wizard to react
Attachment
Hi Hackers,
Please find the updated patch for grant wizard porting to react. (Please ignore the previous patch)
On Tue, Sep 14, 2021 at 10:05 AM Nikhil Mohite <nikhil.mohite@enterprisedb.com> wrote:
Regards,
Nikhil Mohite
Attachment
Hi Nikhil

Following are the GUI related review comments:
- Remove the header string "Object selection (step 1 of 3) as we are already showing steps on the left side of the wizard.
- Rename step 1 to "Object Selection" step 2 to "Privilege Selection" and step 3 to "Review Selection".
- The search button is not implemented on the first page (object selection).
- The help button is not implemented at the bottom left corner of the wizard.
- Duplicate entries are found on the object selection page. (Seems like an old issue without this patch)
- Checkbox checked color should be matched with the theme.
- Scrollbar alignment is not correct and spaces at the right side and bottom look ugly.
- The grantor should be set and read-only.
- Showing all privileges instead of based on the selected node. Please refer to existing behavior.
Refer screenshot with all above review comments

:
On Tue, Sep 14, 2021 at 1:19 PM Nikhil Mohite <nikhil.mohite@enterprisedb.com> wrote:
Hi Hackers,Please find the updated patch for grant wizard porting to react. (Please ignore the previous patch)On Tue, Sep 14, 2021 at 10:05 AM Nikhil Mohite <nikhil.mohite@enterprisedb.com> wrote:Regards,Nikhil Mohite
Thanks & Regards
Akshay Joshi
pgAdmin Hacker | Principal Software Architect
EDB PostgresMobile: +91 976-788-8246
Attachment
Hi Akshay,
Please find the updated patch (v3) resolved all review comments.
On Tue, Sep 14, 2021 at 6:13 PM Akshay Joshi <akshay.joshi@enterprisedb.com> wrote:
Hi NikhilFollowing are the GUI related review comments:
- Remove the header string "Object selection (step 1 of 3) as we are already showing steps on the left side of the wizard.
Done
- Rename step 1 to "Object Selection" step 2 to "Privilege Selection" and step 3 to "Review Selection".
Done
- The search button is not implemented on the first page (object selection).
Done
- The help button is not implemented at the bottom left corner of the wizard.
Done
- Duplicate entries are found on the object selection page. (Seems like an old issue without this patch)
I tried but was unable to detect the exact issue.
- Checkbox checked color should be matched with the theme.
Done
- Scrollbar alignment is not correct and spaces at the right side and bottom look ugly.
Done
- The grantor should be set and read-only.
Done
- Showing all privileges instead of based on the selected node. Please refer to existing behavior.
Done
Refer screenshot with all above review comments:On Tue, Sep 14, 2021 at 1:19 PM Nikhil Mohite <nikhil.mohite@enterprisedb.com> wrote:Hi Hackers,Please find the updated patch for grant wizard porting to react. (Please ignore the previous patch)On Tue, Sep 14, 2021 at 10:05 AM Nikhil Mohite <nikhil.mohite@enterprisedb.com> wrote:Regards,Nikhil Mohite--Thanks & RegardsAkshay JoshipgAdmin Hacker | Principal Software ArchitectEDB PostgresMobile: +91 976-788-8246
Regards,
Nikhil Mohite
Attachment
Thanks, the patch applied.
On Thu, Sep 16, 2021 at 11:22 AM Nikhil Mohite <nikhil.mohite@enterprisedb.com> wrote:
Hi Akshay,Please find the updated patch (v3) resolved all review comments.On Tue, Sep 14, 2021 at 6:13 PM Akshay Joshi <akshay.joshi@enterprisedb.com> wrote:Hi NikhilFollowing are the GUI related review comments:
- Remove the header string "Object selection (step 1 of 3) as we are already showing steps on the left side of the wizard.
Done
- Rename step 1 to "Object Selection" step 2 to "Privilege Selection" and step 3 to "Review Selection".
Done
- The search button is not implemented on the first page (object selection).
Done
- The help button is not implemented at the bottom left corner of the wizard.
Done
- Duplicate entries are found on the object selection page. (Seems like an old issue without this patch)
I tried but was unable to detect the exact issue.
- Checkbox checked color should be matched with the theme.
Done
- Scrollbar alignment is not correct and spaces at the right side and bottom look ugly.
Done
- The grantor should be set and read-only.
Done
- Showing all privileges instead of based on the selected node. Please refer to existing behavior.
DoneRefer screenshot with all above review comments:On Tue, Sep 14, 2021 at 1:19 PM Nikhil Mohite <nikhil.mohite@enterprisedb.com> wrote:Hi Hackers,Please find the updated patch for grant wizard porting to react. (Please ignore the previous patch)On Tue, Sep 14, 2021 at 10:05 AM Nikhil Mohite <nikhil.mohite@enterprisedb.com> wrote:Regards,Nikhil Mohite--Thanks & RegardsAkshay JoshipgAdmin Hacker | Principal Software ArchitectEDB PostgresMobile: +91 976-788-8246Regards,Nikhil Mohite
Thanks & Regards
Akshay Joshi
pgAdmin Hacker | Principal Software Architect
EDB PostgresMobile: +91 976-788-8246
Attachment
Hi Nikhil,
Sorry for the late review. I have a few points:
1. Components should always start with caps. Rename pgTable to PgTable.
2. File names should be the same as component names. Rename grantWizard.jsx to GrantWizard.jsx
3. Please remove the empty file - table.jsx
4. Basic components should go in web/pgadmin/static/js/components whereas advanced ones can go in pgadmin/static/js/helpers. Please move PgTable to components.
5. Create a directory Wizard inside helpers and put WizardStep and WizardView components inside the directory.
It will be easy to maintain if we follow certain conventions.
On Mon, Sep 20, 2021 at 1:07 PM Akshay Joshi <akshay.joshi@enterprisedb.com> wrote:
Thanks, the patch applied.On Thu, Sep 16, 2021 at 11:22 AM Nikhil Mohite <nikhil.mohite@enterprisedb.com> wrote:Hi Akshay,Please find the updated patch (v3) resolved all review comments.On Tue, Sep 14, 2021 at 6:13 PM Akshay Joshi <akshay.joshi@enterprisedb.com> wrote:Hi NikhilFollowing are the GUI related review comments:
- Remove the header string "Object selection (step 1 of 3) as we are already showing steps on the left side of the wizard.
Done
- Rename step 1 to "Object Selection" step 2 to "Privilege Selection" and step 3 to "Review Selection".
Done
- The search button is not implemented on the first page (object selection).
Done
- The help button is not implemented at the bottom left corner of the wizard.
Done
- Duplicate entries are found on the object selection page. (Seems like an old issue without this patch)
I tried but was unable to detect the exact issue.
- Checkbox checked color should be matched with the theme.
Done
- Scrollbar alignment is not correct and spaces at the right side and bottom look ugly.
Done
- The grantor should be set and read-only.
Done
- Showing all privileges instead of based on the selected node. Please refer to existing behavior.
DoneRefer screenshot with all above review comments:On Tue, Sep 14, 2021 at 1:19 PM Nikhil Mohite <nikhil.mohite@enterprisedb.com> wrote:Hi Hackers,Please find the updated patch for grant wizard porting to react. (Please ignore the previous patch)On Tue, Sep 14, 2021 at 10:05 AM Nikhil Mohite <nikhil.mohite@enterprisedb.com> wrote:Regards,Nikhil Mohite--Thanks & RegardsAkshay JoshipgAdmin Hacker | Principal Software ArchitectEDB PostgresMobile: +91 976-788-8246Regards,Nikhil Mohite--Thanks & RegardsAkshay JoshipgAdmin Hacker | Principal Software ArchitectEDB PostgresMobile: +91 976-788-8246
Thanks,
Aditya Toshniwal
pgAdmin Hacker | Software Architect | edbpostgres.com
"Don't Complain about Heat, Plant a TREE"
Attachment
Hi Akshay,
Please find the updated patch for grant wizard (v4). (Resolved all review comments.)
On Tue, Sep 21, 2021 at 12:02 PM Aditya Toshniwal <aditya.toshniwal@enterprisedb.com> wrote:
Hi Nikhil,Sorry for the late review. I have a few points:1. Components should always start with caps. Rename pgTable to PgTable.2. File names should be the same as component names. Rename grantWizard.jsx to GrantWizard.jsx3. Please remove the empty file - table.jsx4. Basic components should go in web/pgadmin/static/js/components whereas advanced ones can go in pgadmin/static/js/helpers. Please move PgTable to components.5. Create a directory Wizard inside helpers and put WizardStep and WizardView components inside the directory.
It will be easy to maintain if we follow certain conventions.
On Mon, Sep 20, 2021 at 1:07 PM Akshay Joshi <akshay.joshi@enterprisedb.com> wrote:Thanks, the patch applied.On Thu, Sep 16, 2021 at 11:22 AM Nikhil Mohite <nikhil.mohite@enterprisedb.com> wrote:Hi Akshay,Please find the updated patch (v3) resolved all review comments.On Tue, Sep 14, 2021 at 6:13 PM Akshay Joshi <akshay.joshi@enterprisedb.com> wrote:Hi NikhilFollowing are the GUI related review comments:
- Remove the header string "Object selection (step 1 of 3) as we are already showing steps on the left side of the wizard.
Done
- Rename step 1 to "Object Selection" step 2 to "Privilege Selection" and step 3 to "Review Selection".
Done
- The search button is not implemented on the first page (object selection).
Done
- The help button is not implemented at the bottom left corner of the wizard.
Done
- Duplicate entries are found on the object selection page. (Seems like an old issue without this patch)
I tried but was unable to detect the exact issue.
- Checkbox checked color should be matched with the theme.
Done
- Scrollbar alignment is not correct and spaces at the right side and bottom look ugly.
Done
- The grantor should be set and read-only.
Done
- Showing all privileges instead of based on the selected node. Please refer to existing behavior.
DoneRefer screenshot with all above review comments:On Tue, Sep 14, 2021 at 1:19 PM Nikhil Mohite <nikhil.mohite@enterprisedb.com> wrote:Hi Hackers,Please find the updated patch for grant wizard porting to react. (Please ignore the previous patch)On Tue, Sep 14, 2021 at 10:05 AM Nikhil Mohite <nikhil.mohite@enterprisedb.com> wrote:Regards,Nikhil Mohite--Thanks & RegardsAkshay JoshipgAdmin Hacker | Principal Software ArchitectEDB PostgresMobile: +91 976-788-8246Regards,Nikhil Mohite--Thanks & RegardsAkshay JoshipgAdmin Hacker | Principal Software ArchitectEDB PostgresMobile: +91 976-788-8246--Thanks,Aditya ToshniwalpgAdmin Hacker | Software Architect | edbpostgres.com"Don't Complain about Heat, Plant a TREE"
Regards,
Nikhil Mohite
Attachment
Thanks, the patch applied.
On Thu, Sep 23, 2021 at 2:38 PM Nikhil Mohite <nikhil.mohite@enterprisedb.com> wrote:
Hi Akshay,Please find the updated patch for grant wizard (v4). (Resolved all review comments.)On Tue, Sep 21, 2021 at 12:02 PM Aditya Toshniwal <aditya.toshniwal@enterprisedb.com> wrote:Hi Nikhil,Sorry for the late review. I have a few points:1. Components should always start with caps. Rename pgTable to PgTable.2. File names should be the same as component names. Rename grantWizard.jsx to GrantWizard.jsx3. Please remove the empty file - table.jsx4. Basic components should go in web/pgadmin/static/js/components whereas advanced ones can go in pgadmin/static/js/helpers. Please move PgTable to components.5. Create a directory Wizard inside helpers and put WizardStep and WizardView components inside the directory.It will be easy to maintain if we follow certain conventions.On Mon, Sep 20, 2021 at 1:07 PM Akshay Joshi <akshay.joshi@enterprisedb.com> wrote:Thanks, the patch applied.On Thu, Sep 16, 2021 at 11:22 AM Nikhil Mohite <nikhil.mohite@enterprisedb.com> wrote:Hi Akshay,Please find the updated patch (v3) resolved all review comments.On Tue, Sep 14, 2021 at 6:13 PM Akshay Joshi <akshay.joshi@enterprisedb.com> wrote:Hi NikhilFollowing are the GUI related review comments:
- Remove the header string "Object selection (step 1 of 3) as we are already showing steps on the left side of the wizard.
Done
- Rename step 1 to "Object Selection" step 2 to "Privilege Selection" and step 3 to "Review Selection".
Done
- The search button is not implemented on the first page (object selection).
Done
- The help button is not implemented at the bottom left corner of the wizard.
Done
- Duplicate entries are found on the object selection page. (Seems like an old issue without this patch)
I tried but was unable to detect the exact issue.
- Checkbox checked color should be matched with the theme.
Done
- Scrollbar alignment is not correct and spaces at the right side and bottom look ugly.
Done
- The grantor should be set and read-only.
Done
- Showing all privileges instead of based on the selected node. Please refer to existing behavior.
DoneRefer screenshot with all above review comments:On Tue, Sep 14, 2021 at 1:19 PM Nikhil Mohite <nikhil.mohite@enterprisedb.com> wrote:Hi Hackers,Please find the updated patch for grant wizard porting to react. (Please ignore the previous patch)On Tue, Sep 14, 2021 at 10:05 AM Nikhil Mohite <nikhil.mohite@enterprisedb.com> wrote:Regards,Nikhil Mohite--Thanks & RegardsAkshay JoshipgAdmin Hacker | Principal Software ArchitectEDB PostgresMobile: +91 976-788-8246Regards,Nikhil Mohite--Thanks & RegardsAkshay JoshipgAdmin Hacker | Principal Software ArchitectEDB PostgresMobile: +91 976-788-8246--Thanks,Aditya ToshniwalpgAdmin Hacker | Software Architect | edbpostgres.com"Don't Complain about Heat, Plant a TREE"Regards,Nikhil Mohite
Thanks & Regards
Akshay Joshi
pgAdmin Hacker | Principal Software Architect
EDB PostgresMobile: +91 976-788-8246