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

From: Dave Page <dpage(at)pgadmin(dot)org>
To: pgadmin-hackers(at)lists(dot)postgresql(dot)org
Subject: pgAdmin 4 commit: Don't wait for the database connection before renderi
Date: 2019-08-23 11:14:23
Message-ID: E1i17WR-0007qY-W8@gothos.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

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 <aditya(dot)toshniwal(at)enterprisedb(dot)com>

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(-)

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2019-08-23 11:14:46 Re: [pgAdmin][RM4553] Query tool UX improvement
Previous Message Aditya Toshniwal 2019-08-23 10:56:46 Re: [GSoC][New Feature] Editable and Read-only Columns