OpenMetadata/openmetadata-ui
Shailesh Parmar b0ff7887ae
Feat: #21138 Display Test Case Version Change (#21324)
* fix: #21138 Display Test Case Version Change

* Enhance Test Case Version Page: Integrate versioning functionality and update interfaces. Added API calls for fetching test case versions and details, and updated the DataAssetsVersionHeader interface to include TestCase. Improved loading states and error handling in the TestCaseVersionPage component.

* Enhance Incident Manager with version handling and permissions

- Added support for version pages in IncidentManagerPageHeader and TestCaseResultTab components.
- Introduced isVersionPage prop to manage permissions and display logic based on version context.
- Updated IncidentManagerDetailPage to handle version-specific data fetching and display.
- Refactored related components to utilize ChangeDescription for improved data handling.

* Implement parameter value diff display in TestCaseResultTab

- Added a new utility function to compute differences in parameter values.
- Integrated the parameter value diff display into the TestCaseResultTab component.
- Updated Feeds.constants to include PARAMETER_VALUES enum.
- Enhanced EntityVersionUtils with new methods for handling parameter value diffs.

* Enhance Data Quality components with parameter value diff display and styling updates

- Updated EditTestCaseModal to conditionally display test case names.
- Modified IncidentManagerPageHeader to disable compact view.
- Added new styles for version SQL expression display in TestCaseResultTab.
- Refactored TestCaseResultTab to handle parameter value diffs more effectively, including separate rendering for SQL expressions.
- Enhanced utility functions in EntityVersionUtils to support default values in parameter diffs.
- Updated DataQualityUtils to use isNil for better null handling.

* added licence

* updated edit icon and hide incident tab in version view

* Enhance Test Case Versioning: Update routing to support detailed version paths and improve UI styles for version display. Added new route for test case details with version and adjusted related components for better handling of version-specific tabs.

* fix unit test

* added playwright

* resolved sonar cloud issue
2025-05-29 17:54:06 +05:30
..
2025-04-24 10:46:36 +05:30