pgAdmin 4 commit: Refactor and simplify query tool connection errorhan - Mailing list pgadmin-hackers

From Dave Page
Subject pgAdmin 4 commit: Refactor and simplify query tool connection errorhan
Date
Msg-id E1f3fWx-0000cW-KR@gothos.postgresql.org
Whole thread Raw
List pgadmin-hackers
Refactor and simplify query tool connection error handling code. Fixes #3235

Branch
------
master

Details
-------
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=a705fb46a8df9d4db072894d8214a568c38a341a
Author: Murtuza Zabuawala <murtuza.zabuawala@enterprisedb.com>

Modified Files
--------------
web/pgadmin/static/js/sqleditor/execute_query.js   |  20 +-
.../js/sqleditor/is_new_transaction_required.js    |  23 -
.../js/sqleditor/query_tool_http_error_handler.js  |  76 +++
web/pgadmin/tools/sqleditor/static/js/sqleditor.js | 565 ++++-----------------
.../user_management/static/js/user_management.js   |   4 +-
.../javascript/sqleditor/execute_query_spec.js     |  56 +-
.../sqleditor/is_new_transaction_required_spec.js  |  65 ---
.../query_tool_http_error_handler_spec.js          | 191 +++++++
8 files changed, 393 insertions(+), 607 deletions(-)


pgadmin-hackers by date:

Previous
From: Murtuza Zabuawala
Date:
Subject: Re: [pgAdmin4][RM#3154] Update modules to latest version
Next
From: Dave Page
Date:
Subject: Re: [pgAdmin4][RM#3235] Code refactoring in Query tool