[WEB-4246] Analytics minor improvements (#7194)

* chore: updated label for epics

* chore: improved export logic

* refactor: move csvConfig to export.ts and clean up export logic

* refactor: remove unused CSV export logic from WorkItemsInsightTable component

* refactor: streamline data handling in InsightTable component for improved rendering

* feat: add translation for "No. of {entity}" and update priority chart y-axis label to use new translation

* refactor: cleaned up some component and added utilitites

* feat: add "at_risk" translation to multiple languages in translations.json files

* refactor: update TrendPiece component to use new status variants for analytics

* fix: adjust TrendPiece component logic for on-track and off-track status

* refactor: use nullish coalescing operator for yAxis.dx in line and scatter charts

* feat: add "at_risk" translation to various languages in translations.json files

* feat: add "no_of" translation to various languages in translations.json files

* feat: update "at_risk" translation in Ukrainian, Vietnamese, and Chinese locales in translations.json files
This commit is contained in:
JayashTripathy
2025-06-12 21:15:09 +05:30
committed by GitHub
parent ad11a34efc
commit c1a078ef3f
37 changed files with 383 additions and 252 deletions
+9
View File
@@ -16,3 +16,12 @@ export const CYCLE_GROUP_COLORS: {
completed: "#16A34A",
draft: "#525252",
};
export const CYCLE_GROUP_I18N_LABELS: {
[key in TCycleGroups]: string;
} = {
current: "current",
upcoming: "common.upcoming",
completed: "common.completed",
draft: "project_cycles.status.draft",
};
+1
View File
@@ -3,3 +3,4 @@ export * from "./circle-dot-full-icon";
export * from "./contrast-icon";
export * from "./circle-dot-full-icon";
export * from "./cycle-group-icon";
export * from "./helper";