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.
Thanks, the patch applied.
Hi Akshay,
Please find the updated patch (v3) resolved all review comments.
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.
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

:
Hi Hackers,
Please find the updated patch for grant wizard porting to react. (Please ignore the previous patch)
Hi Hackers,
Please find the attached patch for
RM-6687: [React] Port Grant Wizard to react
--
Thanks & Regards,Nikhil Mohite
Software Engineer.
Mob.No: +91-7798364578.
Regards,
Nikhil Mohite
--
Thanks & Regards
Akshay Joshi
pgAdmin Hacker | Principal Software Architect
EDB PostgresMobile: +91 976-788-8246
Regards,
Nikhil Mohite
--
Thanks & Regards
Akshay Joshi
pgAdmin Hacker | Principal Software Architect
EDB PostgresMobile: +91 976-788-8246
--
Thanks,Aditya Toshniwal
"Don't Complain about Heat, Plant a TREE"