pgadmin4/web/regression/feature_tests
Ashesh Vashi e9af0c3226
Improved the extendability of the SchemaView and DataGridView. (#7876)
Restructured these modules for ease of maintenance and apply the single
responsibility principle (wherever applicable).

* SchemaView

 - Split the code based on the functionality and responsibility.
 - Introduced a new View 'InlineView' instead of using the
   'nextInline' configuration of the fields to have a better, and
   manageable view.
 - Using the separate class 'SchemaState' for managing the data and
   states of the SchemaView (separated from the 'useSchemaState'
   custom hook).
 - Introduced three new custom hooks 'useFieldValue',
   'useFieldOptions', 'useFieldError' for the individual control to
   use for each Schema Field.
 - Don't pass value as the parameter props, and let the
   'useFieldValue' and other custom hooks to decide, whether to
   rerender the control itself or the whole dialog/view. (single
   responsibility principle)
 - Introduced a new data store with a subscription facility.
 - Moving the field metadata (option) evaluation to a separate place
   for better management, and each option can be defined for a
   particular kind of field (for example - collection, row, cell,
   general, etc).
 - Allow to provide custom control for all kind of Schema field.

* DataGridView

 - Same as SchemaView, split the DataGridView call into smaller,
   manageable chunks. (For example - grid, row, mappedCell, etc).
 - Use context based approach for providing the row and table data
   instead of passing them as parameters to every component
   separately.
 - Have a facility to extend this feature separately in future.
   (for example - selectable cell, column grouping, etc.)
 - Separated the features like deletable, editable, reorder,
   expandable etc. cells using the above feature support.
 - Added ability to provide the CustomHeader, and CustomRow through the
   Schema field, which will extend the ability to customize better.
 - Removed the 'DataGridViewWithHeaderForm' as it has been achieved
   through providing 'CustomHeader', and also introduced
   'DataGridFormHeader' (a custom header) to achieve the same feature
   as 'DataGridViewWithHeaderForm'.
2024-09-09 14:27:31 +05:30
..
__init__.py Moved the feature_tests folder into the regression folder. 2022-09-06 13:59:33 +05:30
browser_tool_bar_test.py Update copyright notices for 2024 2024-01-01 14:13:48 +05:30
copy_selected_query_results_feature_test.py Update copyright notices for 2024 2024-01-01 14:13:48 +05:30
datatype_test.json Fix circular reference error for the multirange data types in the query tool. #6221 2023-05-10 10:32:47 +05:30
file_manager_test.py Update copyright notices for 2024 2024-01-01 14:13:48 +05:30
keyboard_shortcut_test.py Fixed SonarQube code smells. 2024-06-13 18:48:02 +05:30
pg_datatype_validation_test.py - Update MUI v4 to v5 2024-04-09 08:21:14 +05:30
pg_utilities_backup_restore_test.py Introduce custom React Hook useSchemaState to simplify SchemaView component. #7776 2024-08-02 09:59:01 +05:30
pg_utilities_maintenance_test.py Update copyright notices for 2024 2024-01-01 14:13:48 +05:30
query_tool_auto_complete_tests.py Upgrade CodeMirror from version 5 to 6. #7097 2024-02-21 11:15:25 +05:30
query_tool_journey_test.py Fixed bugs found while testing makeStyles JSS changes. #7363 2024-06-17 15:45:40 +05:30
query_tool_tests.py Fix SonarQube code smells: 2024-06-10 18:04:32 +05:30
table_ddl_feature_test.py Upgrade CodeMirror from version 5 to 6. #7097 2024-02-21 11:15:25 +05:30
test_copy_sql_to_query_tool.py - Update MUI v4 to v5 2024-04-09 08:21:14 +05:30
test_data.json Moved the feature_tests folder into the regression folder. 2022-09-06 13:59:33 +05:30
view_data_dml_queries.py Fixed SonarQube code smells. 2024-06-13 18:48:02 +05:30
xss_checks_panels_and_query_tool_test.py Fix failing feature tests 2024-06-18 14:02:23 +05:30
xss_checks_pgadmin_debugger_test.py - Set the browser target to ES6 and reduce the JS bundle size considerably 2024-07-04 18:25:47 +05:30
xss_checks_roles_control_test.py Improved the extendability of the SchemaView and DataGridView. (#7876) 2024-09-09 14:27:31 +05:30