pgAdmin 4 commit: Don't wait for the database connection before renderi

Dave Page <[email protected]>
Newsgroups gmane.comp.db.postgresql.pgadmin.devel
Message-ID <[email protected]>
Don't wait for the database connection before rendering the Query Tool UI, for improved UX. Fixes #4453
In addition, unescape HTML entities in database names in the Query Tool title bar. Fixes #4584

Branch
------
master

Details
-------
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=234efc3be7cbe3ef787d2aafe372149f51e99c59
Author: Aditya Toshniwal <[email protected]>

Modified Files
--------------
docs/en_US/release_notes_4_13.rst                  |   2 +
web/pgadmin/browser/utils.py                       |  24 ++++
web/pgadmin/static/js/sqleditor_utils.js           |  19 +--
web/pgadmin/static/js/utils.js                     |   6 +
web/pgadmin/tools/datagrid/__init__.py             | 116 ++++++------------
web/pgadmin/tools/datagrid/static/js/datagrid.js   | 112 +++++-------------
.../datagrid/static/js/datagrid_panel_title.js     |   2 +-
web/pgadmin/tools/datagrid/static/js/show_data.js  |  55 ++++-----
.../tools/datagrid/static/js/show_query_tool.js    |  28 ++---
.../tools/datagrid/templates/datagrid/index.html   |  29 ++---
.../tools/sqleditor/static/css/sqleditor.css       |   4 +
web/pgadmin/tools/sqleditor/static/img/loading.gif | Bin 0 -> 1728 bytes
web/pgadmin/tools/sqleditor/static/js/sqleditor.js | 131 ++++++++++++++-------
.../tests/test_download_csv_query_tool.py          |  11 +-
.../tools/sqleditor/tests/test_editor_history.py   |   9 +-
.../tools/sqleditor/tests/test_encoding_charset.py |  10 +-
.../tools/sqleditor/tests/test_explain_plan.py     |   9 +-
.../tools/sqleditor/tests/test_poll_query_tool.py  |   9 +-
.../sqleditor/tests/test_transaction_status.py     |   8 +-
.../tools/sqleditor/tests/test_view_data.py        |   9 +-
.../tests/test_is_query_resultset_updatable.py     |   8 +-
.../utils/tests/test_save_changed_data.py          |   8 +-
.../javascript/datagrid/show_data_spec.js          |  64 +++++-----
.../javascript/datagrid/show_query_tool_spec.js    |  41 +++----
web/regression/javascript/fake_endpoints.js        |   1 +
web/regression/javascript/pgadmin_utils_spec.js    |   9 +-
web/regression/javascript/sqleditor_utils_spec.js  |  56 ---------
web/yarn.lock                                      |   6 +-
28 files changed, 337 insertions(+), 449 deletions(-)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.