pgAdmin 4 commit: Fixed following issues in ERD:

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

pgAdmin 4 commit: Fixed following issues in ERD:

Akshay Joshi
Fixed following issues in ERD:
 1) After opening an existing project, the first table is already selected but the edit, clone, delete buttons are disabled.
 2) ERD project title gets changed when 2 ERD projects are open & anyone of it edited.
 3) Closing the ERD tab does not ask for a confirmation pop-up.
 4) Shortcut for 'Show more/Fewer details' is missing.
 5) Deleting the primary key does not delete associated links.
 6) The long table & schema name are getting out of the box.
 7) The long table name in the notes pop-up needs re-alignment.
 8) The same table name present in ERD/canvas is allowed in Add Table dialogue. Added validation in the dialog.
 9) Download image option is added, but it is not perfect yet. Image icons (table, schema, etc.) are not showing up.
 10) Rename panel option should be disabled by default. It should be enabled for the tools which implement rename functionality.
 11) The Toolbar is not visible in Safari for the ERD tool.

refs #1802

Branch
------
master

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

Modified Files
--------------
web/package.json                                   |   2 +
web/pgadmin/browser/static/js/frame.js             |   2 +-
web/pgadmin/static/js/chartjs/index.jsx            |   6 +-
web/pgadmin/tools/datagrid/static/js/datagrid.js   |   2 +-
.../datagrid/static/js/datagrid_panel_title.js     |   4 +-
web/pgadmin/tools/erd/__init__.py                  |  18 ++
.../tools/erd/static/js/erd_tool/ERDCore.js        |   4 +-
.../erd/static/js/erd_tool/dialogs/TableDialog.js  |  12 +-
web/pgadmin/tools/erd/static/js/erd_tool/index.js  |  23 +-
.../erd/static/js/erd_tool/links/OneToManyLink.jsx |  66 +++---
.../erd/static/js/erd_tool/nodes/TableNode.jsx     |  38 +--
.../erd/static/js/erd_tool/ports/OneToManyPort.js  |  17 ++
.../js/erd_tool/ui_components/BodyWidget.jsx       | 262 +++++++++++++++------
.../js/erd_tool/ui_components/ConnectionBar.jsx    |  12 +-
.../js/erd_tool/ui_components/FloatingNote.jsx     |  14 +-
.../static/js/erd_tool/ui_components/ToolBar.jsx   |  22 +-
web/pgadmin/tools/erd/static/scss/_erd.scss        |  49 +++-
web/regression/javascript/erd/table_node_spec.js   |  20 +-
.../erd/ui_components/body_widget_spec.js          |  10 +-
web/yarn.lock                                      | 191 ++++++++++++++-
20 files changed, 589 insertions(+), 185 deletions(-)