pgAdmin 4 commit: No longer using the 'get_own_javascripts' methodfor - Mailing list pgadmin-hackers

From Ashesh Vashi
Subject pgAdmin 4 commit: No longer using the 'get_own_javascripts' methodfor
Date
Msg-id E1dtfLe-0000Vc-1e@gothos.postgresql.org
Whole thread Raw
List pgadmin-hackers
No longer using the 'get_own_javascripts' method for refering the
javascript modules exposed through a module, instead added them in the
webpack (shim) configuration directly.

Instead - exposed a new method - 'get_javascript_entries' to be used
later by the new implementation of the webpack configuration. It will
utilize it to refer it as pluggable javascript module entry for any
particular module. It will allow us to reintroduce the pluggable
architecture.

Introduce a new browser tools javascript module, and will act as base
class for all tools, which needs to be registerd with the browser for
better initialization, and integration.

Branch
------
WEBPACK_DEVEL

Details
-------
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=8821c48da1f72ab95010914cd6d945a4016ba28a

Modified Files
--------------
web/pgadmin/__init__.py                            |  11 ++
web/pgadmin/about/__init__.py                      |   9 +-
web/pgadmin/browser/__init__.py                    | 210 +--------------------
web/pgadmin/browser/collection.py                  |  32 +---
.../browser/server_groups/servers/__init__.py      |  27 +--
.../servers/databases/schemas/tables/__init__.py   |  13 +-
.../schemas/tables/rules/static/js/rule.js         |   7 +-
.../databases/schemas/views/static/js/mview.js     |   7 +-
.../databases/schemas/views/static/js/view.js      |  10 +-
.../server_groups/static/js/server_group.js        |   3 +-
web/pgadmin/browser/static/js/browser.js           |  48 +++--
web/pgadmin/browser/static/js/frame.js             |   3 +-
web/pgadmin/browser/static/js/menu.js              |  12 +-
web/pgadmin/browser/static/js/node.js              |  48 +++--
web/pgadmin/browser/static/js/panel.js             |   3 +-
web/pgadmin/browser/static/js/tools.js             |  30 +++
web/pgadmin/browser/templates/browser/index.html   |  37 ++--
.../browser/templates/browser/js/messages.js       |   8 +-
web/pgadmin/browser/templates/browser/js/utils.js  |  76 +++-----
web/pgadmin/dashboard/__init__.py                  |   7 -
web/pgadmin/misc/__init__.py                       |  13 --
web/pgadmin/misc/bgprocess/__init__.py             |   6 -
web/pgadmin/misc/depends/__init__.py               |  13 +-
web/pgadmin/misc/file_manager/__init__.py          |   9 -
web/pgadmin/misc/sql/__init__.py                   |  13 +-
web/pgadmin/misc/statistics/__init__.py            |  21 +--
web/pgadmin/preferences/__init__.py                |   7 -
web/pgadmin/settings/__init__.py                   |   8 +-
web/pgadmin/tools/__init__.py                      |  34 +---
web/pgadmin/tools/backup/__init__.py               |  14 +-
web/pgadmin/tools/datagrid/__init__.py             |  15 +-
web/pgadmin/tools/debugger/__init__.py             |  38 ++--
web/pgadmin/tools/grant_wizard/__init__.py         |  17 --
web/pgadmin/tools/import_export/__init__.py        |  20 +-
web/pgadmin/tools/maintenance/__init__.py          |  20 +-
web/pgadmin/tools/restore/__init__.py              |  14 +-
web/pgadmin/tools/user_management/__init__.py      |  19 +-
web/pgadmin/utils/__init__.py                      |  52 ++---
38 files changed, 254 insertions(+), 680 deletions(-)


pgadmin-hackers by date:

Previous
From: Murtuza Zabuawala
Date:
Subject: Re: [pgAdmin4][Patch]: Fix context menu fontawesome icons
Next
From: Surinder Kumar
Date:
Subject: [pgAdmin4][Patch]: Use standalone modules prop-types asReact.PropTypes has moved into a different package since React v15.5