OpenMetadata/openmetadata-spec
Aniket Katkar 24e67e8608
Epic: Day 1 service (#19914)
* Add the Platform Insights for the service details page

* Add new localization translations

* Fix the styling

* Add Data Quality widget in the service details page insights tab

* Remove the unused localization keys

* Fix the border radius

* Update the border color

* Add Total Data Assets widget

* localization changes

* Fix the Tier insights chart

* Add Tier and PII Distribution charts

* Localization changes

* Fix the calls for special fqn

* Limit the DataQualityWidget only to the DB services

* Add the MostUsedAssetsWidget

* Add missing loaders to the widgets

* Localization changes

* Update the API call for most used assets

* Add most expensive queries widget

* Localization changes

* Move the widgets logic to classBase for better customization

* Fix the font size

* add charts backend

* fix initialisation

* fix migration

* pii chart

* Add assets_with_tier DI system chart

* Fix the service insights charts

* localization changes

* spotless

* filter to be regex instead of literal compare

* Fix stylings for Most Used Assets widget

* Fix Unit tests

* Remove the New widgets

* Delete unused utils

* Fix the ServiceEntity tests

* Move SystemChartType to enum file

* Worked on comments

* Refactor ServiceInsightsTab and TotalDataAssetsWidget for improved code organization

* Refactor PlatformInsightsWidget and improve type safety

- Added PlatformInsightsWidgetProps interface for better type definition
- Updated PlatformInsightsWidget component to use the new interface
- Simplified component props typing
- Minor code cleanup in TotalDataAssetsWidget
- Updated Fqn utility method with a more precise regex replacement

* Refactor ServiceInsightsTab to use serviceDetails prop and remove Fqn utility method

- Updated ServiceInsightsTab to accept serviceDetails prop instead of using useFqn hook
- Removed Fqn.getNameWithoutQuotes method
- Updated PlatformInsightsWidget and TotalDataAssetsWidget to use serviceName prop
- Added ServiceInsightWidgetCommonProps interface for shared prop typing
- Simplified service name handling across components

* Refactor ServiceInsightsTabUtils to use local i18n import

- Updated import for internationalization to use local i18next utility
- Removed direct import of 't' from 'i18next'
- Imported i18n from local utility and destructured 't' method

* Improve type safety in TotalDataAssetsWidget component

- Added Readonly type to ServiceInsightWidgetCommonProps prop interface
- Enhanced type safety for component props

* add postgres migrations

---------

Co-authored-by: ulixius9 <mayursingal9@gmail.com>
2025-03-07 18:40:10 +05:30
..
2025-03-07 18:40:10 +05:30