pgAdmin 4 commit: 1) Port schema diff to React. Fixes #6133 - Mailing list pgadmin-hackers

From Akshay Joshi
Subject pgAdmin 4 commit: 1) Port schema diff to React. Fixes #6133
Date
Msg-id E1oVvS5-0006cs-U3@gothos.postgresql.org
Whole thread Raw
List pgadmin-hackers
1) Port schema diff to React. Fixes #6133
2) Remove SlickGrid.

Branch
------
master

Details
-------
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=e1942d8c9e90c06d5e2d132473faeba1bdf0e3bf
Author: Nikhil Mohite <nikhil.mohite@enterprisedb.com>

Modified Files
--------------
docs/en_US/images/schema_diff_DDL_comparison.png   |  Bin 441370 -> 306653 bytes
docs/en_US/images/schema_diff_compare_button.png   |  Bin 97726 -> 100443 bytes
.../images/schema_diff_comparison_results.png      |  Bin 202576 -> 281885 bytes
docs/en_US/images/schema_diff_dialog.png           |  Bin 114955 -> 119106 bytes
docs/en_US/images/schema_diff_filter_option.png    |  Bin 171462 -> 127109 bytes
.../schema_diff_generate_script_query_editor.png   |  Bin 252819 -> 203610 bytes
docs/en_US/release_notes_6_14.rst                  |    1 +
web/karma.conf.js                                  |    2 -
web/package.json                                   |    1 -
web/pgadmin.themes.json                            |    2 +-
web/pgadmin/browser/static/js/frame.js             |    2 +-
web/pgadmin/browser/templates/browser/index.html   |    2 +-
web/pgadmin/static/bundle/slickgrid.js             |   25 -
web/pgadmin/static/css/style.css                   |    4 -
.../static/js/Dialogs/RenamePanelContent.jsx       |  115 +++
web/pgadmin/static/js/Dialogs/index.jsx            |   27 +
web/pgadmin/static/js/Theme/dark.js                |    7 +
web/pgadmin/static/js/Theme/high_contrast.js       |    7 +
web/pgadmin/static/js/Theme/standard.js            |    7 +
web/pgadmin/static/js/components/Loader.jsx        |    1 +
.../static/js/components/PgReactDataGrid.jsx       |    7 +-
web/pgadmin/static/js/helpers/Layout.jsx           |    6 +
.../static/js/selection/active_cell_capture.js     |  203 ----
web/pgadmin/static/js/selection/column_selector.js |  164 ---
web/pgadmin/static/js/selection/copy_data.js       |   58 --
web/pgadmin/static/js/selection/grid_selector.js   |   92 --
.../static/js/selection/range_selection_helper.js  |  171 ---
web/pgadmin/static/js/selection/row_selector.js    |  110 --
.../static/js/selection/xcell_selection_model.js   |  240 -----
web/pgadmin/static/js/slickgrid/cell_selector.js   |   27 -
.../static/js/slickgrid/custom_header_buttons.js   |  189 ----
web/pgadmin/static/js/slickgrid/editors.js         | 1085 --------------------
.../handle_query_output_keyboard_event.js          |   31 -
web/pgadmin/static/js/slickgrid/formatters.js      |  132 ---
.../js/slickgrid/plugins/slick.autocolumnsize.js   |  169 ---
web/pgadmin/static/scss/_pgadmin.style.scss        |   12 -
web/pgadmin/static/scss/_slickgrid.overrides.scss  |   83 --
web/pgadmin/static/scss/pgadmin.scss               |    1 -
.../tools/debugger/static/js/DebuggerModule.js     |   25 +-
.../js/components/DebuggerArgumentComponent.jsx    |   30 +-
web/pgadmin/tools/schema_diff/__init__.py          |   13 +-
.../tools/schema_diff/static/css/schema_diff.css   |  155 ---
.../schema_diff/static/js/SchemaDiffConstants.js   |   65 ++
.../schema_diff/static/js/SchemaDiffModule.js      |  165 +++
.../static/js/components/InputComponent.jsx        |  143 +++
.../static/js/components/ResultGridComponent.jsx   |  739 +++++++++++++
.../schema_diff/static/js/components/Results.jsx   |  140 +++
.../js/components/SchemaDiffButtonComponent.jsx    |  223 ++++
.../static/js/components/SchemaDiffCompare.jsx     |  812 +++++++++++++++
.../static/js/components/SchemaDiffComponent.jsx   |  124 +++
web/pgadmin/tools/schema_diff/static/js/index.js   |   22 +
.../schema_diff/static/js/schema_diff.backform.js  |  543 ----------
.../tools/schema_diff/static/js/schema_diff.js     |  171 ---
.../static/js/schema_diff_dependency.js            |  243 -----
.../schema_diff/static/js/schema_diff_hook.js      |   38 -
.../tools/schema_diff/static/js/schema_diff_ui.js  |  967 -----------------
.../schema_diff/static/scss/_schema_diff.scss      |  145 ---
.../schema_diff/templates/schema_diff/index.html   |   34 +-
.../search_objects/static/js/SearchObjects.jsx     |    4 +-
.../tools/sqleditor/static/js/SQLEditorModule.js   |   45 +-
.../xss_checks_panels_and_query_tool_test.py       |   10 +-
.../jasmine_capture_warnings_beforeall.js          |    3 +-
.../javascript/schema_diff/schema_diff_spec.js     |  111 ++
.../selection/active_cell_capture_spec.js          |  343 -------
.../javascript/selection/column_selector_spec.js   |  414 --------
.../javascript/selection/copy_data_spec.js         |  150 ---
.../javascript/selection/grid_selector_spec.js     |  128 ---
.../selection/range_boundary_navigator_spec.js     |  189 ----
.../selection/range_selection_helper_spec.js       |  100 --
.../javascript/selection/row_selector_spec.js      |  328 ------
.../javascript/selection/set_staged_rows_spec.js   |  253 -----
.../selection/xcell_selection_model_spec.js        |  518 ----------
.../javascript/slickgrid/cell_selector_spec.js     |   80 --
.../handle_query_output_keyboard_event_spec.js     |  125 ---
web/webpack.config.js                              |    5 +-
web/webpack.shim.js                                |   21 +-
web/webpack.test.config.js                         |   64 +-
web/yarn.lock                                      |   11 +-
78 files changed, 2794 insertions(+), 7888 deletions(-)


pgadmin-hackers by date:

Previous
From: Nikhil Mohite
Date:
Subject: Re: [pgAdmin][RM-6133]: [React] Port schema diff to React
Next
From: Akshay Joshi
Date:
Subject: Re: [pgAdmin][RM-6133]: [React] Port schema diff to React