UX improvements of the history in the query tool.
- Added copy button for query text.
- Historical queries are binned/grouped by day.
Patch By: Hao Wang, Sarah McAlear
Branch
------
master
Details
-------
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=5141debae7e08d205e813dd9fc52b737a9f18184
Author: Hao Wang <haowang@pivotal.io>
Modified Files
--------------
.../feature_tests/query_tool_journey_test.py | 33 +-
web/pgadmin/static/css/webcabin.overrides.css | 1 +
.../jsx/history/detail/history_detail_query.jsx | 38 ++
web/pgadmin/static/jsx/history/query_history.jsx | 152 ++-----
.../static/jsx/history/query_history_entries.jsx | 156 +++++++
.../static/jsx/history/query_history_entry.jsx | 2 +-
.../jsx/history/query_history_entry_date_group.jsx | 46 ++
web/pgadmin/static/scss/_alert.scss | 178 +++-----
web/pgadmin/static/scss/_colorsgrey.scss | 64 ---
web/pgadmin/static/scss/_othercolors.scss | 111 +----
web/pgadmin/static/scss/_primaryblue.scss | 38 +-
web/pgadmin/static/scss/_typography.scss | 53 +--
web/pgadmin/static/scss/sqleditor/_history.scss | 38 +-
web/pgadmin/tools/sqleditor/static/js/sqleditor.js | 2 +-
.../javascript/history/query_history_spec.jsx | 496 +++++++++++++--------
web/yarn.lock | 24 +-
16 files changed, 761 insertions(+), 671 deletions(-)