@yugabytedb/perf-advisor-ui 1.0.137 → 1.0.138
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/index.js +7584 -7512
- package/dist/esm/index.js.map +1 -1
- package/dist/helpers/utils.d.ts +6 -0
- package/package.json +1 -1
package/dist/helpers/utils.d.ts
CHANGED
|
@@ -103,6 +103,12 @@ export declare const truncateEntityDisplayName: (entityDisplayName: string | und
|
|
|
103
103
|
* @param urlState - The parsed URL state containing current tab and sub-tabs
|
|
104
104
|
* @returns The category label string
|
|
105
105
|
*/
|
|
106
|
+
/**
|
|
107
|
+
* Resolves the human-readable anomaly name, preferring the backend-provided
|
|
108
|
+
* `lastInstance.title` (the same source used by the Gantt chart and OtherDrilldown)
|
|
109
|
+
* and falling back to the ANOMALY_TYPE_TO_NAME_MAP constant.
|
|
110
|
+
*/
|
|
111
|
+
export declare const getAnomalyDisplayName: (anomalyData: AnomalyGroup | null) => string | undefined;
|
|
106
112
|
export declare const getBreadcrumbCategoryLabel: (anomalyData: AnomalyGroup | null, anomalyCategory: string | AnomalyCategory | undefined, isHistoricalQueryView: boolean, urlState: ParsedUrlState) => string;
|
|
107
113
|
/**
|
|
108
114
|
* Gets the entity/query label for breadcrumb (third breadcrumb item)
|