Re: [pgAdmin][RM-6132]: [React] Port debugger to React - Mailing list pgadmin-hackers

From Nikhil Mohite
Subject Re: [pgAdmin][RM-6132]: [React] Port debugger to React
Date
Msg-id CAOBg0AP74Bz8KUnHE4R5vVGM-+TsyWJHRKyfGp0FLiu88-p0Hw@mail.gmail.com
Whole thread Raw
In response to Re: [pgAdmin][RM-6132]: [React] Port debugger to React  (Akshay Joshi <akshay.joshi@enterprisedb.com>)
Responses Re: [pgAdmin][RM-6132]: [React] Port debugger to React  (Akshay Joshi <akshay.joshi@enterprisedb.com>)
List pgadmin-hackers
Hi Akshay,

PFA patch v2, fixed all review comments.

On Thu, Jun 9, 2022 at 4:53 PM Akshay Joshi <akshay.joshi@enterprisedb.com> wrote:
Hi Nikhil 

Following are the review comments:

GUI:
  • Parameter dialog:
    • Get the warning when parameter dialog gets opened Warning: [JSS] Could not find the referenced rule "disabled" in "makeStyles".
    • Debug button should not be enabled until all the required parameters value is not entered by the user. (Check the existing behavior)
    • OK, button not working on the 'Debugger Error' popup.
    • The 'Use Default' checkbox should be disabled if the default value is not available for the parameter. (Check existing behavior.)
    • Sometimes the value of the few parameters does not persist for the next run.
Done. 
  • Debugger Panel:
    • Fix 'Error while selecting frame.' error when clicking on the Line no of the 'stack' tab. Stop all the API calls when execution is completed.
    • Set Breakpoint not working. getting 'Error while clearing all breakpoint.' error on frontend and "UnboundLocalError: local variable 'line_numbers' referenced before assignment" error on the backend.
    • 'Debugger aborted successfully' message should be displayed in notistack when the user aborts the debugger execution. (Check the existing behavior)
Done. 
Code:
  • Jasmine test cases are failing. Check the feature test as well.
  • Remove "debugger;" from the "direct.html" file.
  • Remove commented code from the "debugger/__init__.py" and "index.js" files. Also, remove the below else condition from "debugger/__init__.py" which is of no use
else:
    []
  • Remove a few extra lines at the end of the "DebuggerModule.js".
  • Add copyright header to "DebuggerArgs.ui.js", "ToolBar.jsx" and "MockDebuggerComponent.jsx".
  • Fixed SonarQube issues from "DebuggerArgumentComponent.jsx", "DebuggerComponent.jsx".
Done. 

On Wed, Jun 8, 2022 at 2:28 PM Nikhil Mohite <nikhil.mohite@enterprisedb.com> wrote:
Hi Hackers,

Please find attached the patch for RM-6132: [React] Port debugger to React


--
Thanks & Regards,
Nikhil Mohite
Senior Software Engineer.
Mob.No: +91-7798364578.


--

Akshay Joshi

Principal Software Architect

+91 9767888246

www.enterprisedb.com

     


Regards,
Nikhil Mohite 
Attachment

pgadmin-hackers by date:

Previous
From: Pradip Parkale
Date:
Subject: Re: [pgAdmin][RM7351]: Templates not displayed
Next
From: Yogesh Mahajan
Date:
Subject: Re: Feature #7178 - PostgreSQL deployment on Microsoft Azure