OpenMetadata/openmetadata-service
Shailesh Parmar 851fdaf482
Feat: Dimensionality ui feature (#24167)
* Feat: Dimensionality ui feature

* Add dimensionColumns to updatedTestCase and Select component

* feat: add Dimensionality Heatmap component with mock data support

- Implemented DimensionalityHeatmap component to visualize test case results over time.
- Added utility functions for data transformation and date range generation.
- Created mock data generator for testing without API.
- Integrated DimensionalityHeatmap into DimensionalityTab with loading state management.
- Updated localization files for new labels and messages.
- Enhanced IncidentManager to include dimensionality tab based on available data.

* Add dimension-related translations to multiple language files

- Added translations for "dimension-entity", "dimension-plural", "dimension-value", and "dimensionality" in German, Spanish, French, Galician, Hebrew, Japanese, Korean, Dutch, Portuguese (Brazil and Portugal), Russian, Thai, Turkish, and Chinese (Simplified and Traditional).
- Included translations for "failed-rows", "no-data", "passed-rows", and "select-dimension" in the respective language files.

* feat: enhance test case dimensions functionality and routing

- Refactor AuthenticatedAppRouter to dynamically handle test case detail routes.
- Update DimensionalityTab to link to dimension detail pages.
- Modify IncidentManagerPageHeader to display dimension key when applicable.
- Adjust TestSummary to support dimension results and update API calls accordingly.
- Introduce new utility function for generating dimension detail page paths.
- Update constants for new route placeholders related to dimensions.

* feat: update DimensionalityTab layout and enhance select component styling

* feat: update DimensionalityHeatmap component and related files for improved status handling and UI enhancements

* feat: add 'entity-text-table' localization key across multiple language files

* Fix PUT/PATCH API for Dimensionality

* feat: Enhance Dimensionality UI with improved localization and tooltip support

* feat: Add BetaBadge component and integrate beta indicators in selection cards and tabs

* fix: Encode FQN in getTestCaseDimensionResultsByFqn API call

* fixed failing unit test

* fix: Update dimension description messages in multiple languages

* feat: Add dimension column selection to EditTestCaseModal

* feat: Add dimension editing functionality to Incident Manager

* feat: Enhance EditTestCaseModal and IncidentManagerDetailPage for improved dimension handling

* feat: Add dimension-level testing functionality and enhance UI components for better data quality analysis

* feat: Implement dimensionality heatmap with tooltip and scroll indicator functionality

* feat: Update dimensionality heatmap cell styles with borders and new background colors

* feat: Enhance dimensionality heatmap with responsive placeholders and dynamic width calculation

* feat: Update HeatmapCellTooltip tests to include MUI theme provider for proper context

* Update translations for dimension-related terms in multiple languages

- Updated Persian (pr-pr) translations for dimension-related terms, including "dimension-entity", "dimension-plural", "dimension-value", and "dimensionality".
- Updated Brazilian Portuguese (pt-br) translations for dimension-related terms, including "dimension-entity", "dimension-plural", "dimension-value", and "dimensionality".
- Updated European Portuguese (pt-pt) translations for dimension-related terms, including "dimension-entity", "dimension-plural", "dimension-value", and "dimensionality".
- Updated Russian (ru-ru) translations for dimension-related terms, including "dimension-entity", "dimension-plural", "dimension-value", and "dimensionality".
- Updated Thai (th-th) translations for dimension-related terms, including "dimension-entity", "dimension-plural", "dimension-value", and "dimensionality".
- Updated Turkish (tr-tr) translations for dimension-related terms, including "dimension-entity", "dimension-plural", "dimension-value", and "dimensionality".
- Updated Simplified Chinese (zh-cn) translations for dimension-related terms, including "dimension-entity", "dimension-plural", "dimension-value", and "dimensionality".
- Updated Traditional Chinese (zh-tw) translations for dimension-related terms, including "dimension-entity", "dimension-plural", "dimension-value", and "dimensionality".

* feat: Add tests for DimensionalityHeatmap component and enhance utils

- Created a comprehensive test suite for the DimensionalityHeatmap component, covering various rendering states, date range headers, dimension rows, legends, scroll indicators, responsive behavior, data transformations, and ResizeObserver integration.
- Enhanced DimensionalityHeatmap component with accessibility features, including ARIA roles and labels.
- Improved utility functions for generating date ranges and mapping statuses to heatmap statuses, ensuring robust error handling and performance optimizations.
- Updated constants for heatmap layout and tooltip styling for better clarity and maintainability.
- Refactored tests for CustomControls and LogsViewerPage to include theme provider for consistent styling.

* fix: Update color values in defaultColors and variables, enhance DimensionalityHeatmap styles

* feat: Enhance Dimensionality Heatmap with Impact Score and Scroll Indicators

- Added impact score column to the DimensionalityTab component.
- Improved the DimensionalityHeatmap component layout with scroll indicators for better navigation.
- Updated tooltip to display detailed information including impact score.
- Enhanced styles for scroll indicators and status badges.
- Localized new strings for impact score in multiple languages.

* feat: Update Dimensionality UI with scroll indicators and new test cases

* feat: Enhance Dimensionality UI with scroll indicators and impact score helper tooltip

* feat: Update TestCaseForm to include Dimension Level for granular quality analysis

* fix: Refactor DataContracts tests for improved element interaction and response handling

---------

Co-authored-by: Pablo Takara <pjt1991@gmail.com>
2025-11-18 12:06:45 +01:00
..
2025-11-12 15:26:06 +05:30