Attached is theinitial patch that migrates the SQL Editor tool to React based. Change highlights: 1. Complete rewrite to React code. 2. UI improvements based on suggestions and requests. 3. Work towards stability and performance improvement. 4. Keep row numbers in view when scrolling horizontally. Fixes #3989 5. Fixed status bar at the bottom with useful details. Fixes #3253 6. Relocate GIS Viewer Button to the Left Side of Results Table. Fixed #6830 7. Allow to remove single history records. Refs #4113 8. Macros usability improvements. Ref #6969 9. Connection bar visibility issue. Fixes #7188 10. Query tool layout issues. Fixes #6725
Please note, there are still few minor niggles at some places but the patch qualified to be reviewed. We will need a good amount of time to test this properly. So, I am sending the feature patch. JS test cases and documentation patches will follow soon.