pgAdmin 4 commit: Fixed following issues after React Porting: - Mailing list pgadmin-hackers

From Akshay Joshi
Subject pgAdmin 4 commit: Fixed following issues after React Porting:
Date
Msg-id E1mTKs8-0007Mz-LT@gothos.postgresql.org
Whole thread Raw
List pgadmin-hackers
Fixed following issues after React Porting:

1. Unique constraint should not allow changing values for deferrable, deferred, included columns.
2. Primary keys should not allow changing values for deferrable, deferred, included columns.
3. Foreign keys should not allow changing match type. The referenced table name is empty.
4. Exclude - Column/Expression has incorrect values.
5. Save should not be enabled when Custom auto-vacuum is enabled but none of the parameters are edited.

Fixes #6777

Branch
------
master

Details
-------
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=9179b7464be28acb769006b9ca7a590f35e0aa2e
Author: Aditya Toshniwal <aditya.toshniwal@enterprisedb.com>

Modified Files
--------------
.../schemas/tables/columns/static/js/column.ui.js  | 12 +++++-----
.../static/js/exclusion_constraint.ui.js           | 26 ++++++++--------------
.../foreign_key/static/js/foreign_key.ui.js        | 20 +++++++++++------
.../index_constraint/static/js/primary_key.ui.js   | 18 ++++++++-------
.../static/js/unique_constraint.ui.js              | 18 ++++++++-------
.../server_groups/servers/static/js/vacuum.ui.js   |  2 +-
web/pgadmin/static/js/SchemaView/DataGridView.jsx  | 22 +++++++++++++-----
web/pgadmin/static/js/SchemaView/FormView.jsx      |  6 ++---
web/pgadmin/static/js/SchemaView/index.jsx         |  5 ++++-
.../static/js/components/FormComponents.jsx        |  2 +-
.../exclusion_constraint.ui.spec.js                |  7 +++---
.../schema_ui_files/primary_key.ui.spec.js         |  1 +
.../schema_ui_files/unique_constraint.ui.spec.js   |  1 +
13 files changed, 79 insertions(+), 61 deletions(-)


pgadmin-hackers by date:

Previous
From: Nikhil Mohite
Date:
Subject: Re: [pgAdmin][RM-6687]: [React] Port Grant Wizard to react
Next
From: Akshay Joshi
Date:
Subject: Re: [pgAdmin][RM6772] Modified SQL not loading Unique Constraint dialog