mirror of
https://github.com/makeplane/plane.git
synced 2026-05-07 16:40:15 -05:00
[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:
@@ -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",
|
||||
};
|
||||
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user