Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
15 commits
Select commit Hold shift + click to select a range
790b365
chore: updated label for epics
JayashTripathy Jun 10, 2025
772fd95
chore: improved export logic
JayashTripathy Jun 10, 2025
028ca93
refactor: move csvConfig to export.ts and clean up export logic
JayashTripathy Jun 10, 2025
60d8e72
refactor: remove unused CSV export logic from WorkItemsInsightTable c…
JayashTripathy Jun 10, 2025
38570ce
refactor: streamline data handling in InsightTable component for impr…
JayashTripathy Jun 10, 2025
50c105f
Merge branch 'preview' of https://github.com/makeplane/plane into ana…
JayashTripathy Jun 11, 2025
1f804db
feat: add translation for "No. of {entity}" and update priority chart…
JayashTripathy Jun 11, 2025
2929cc1
refactor: cleaned up some component and added utilitites
JayashTripathy Jun 12, 2025
fc1a72c
feat: add "at_risk" translation to multiple languages in translations…
JayashTripathy Jun 12, 2025
f698ef9
refactor: update TrendPiece component to use new status variants for …
JayashTripathy Jun 12, 2025
7381459
fix: adjust TrendPiece component logic for on-track and off-track status
JayashTripathy Jun 12, 2025
fd4c16d
refactor: use nullish coalescing operator for yAxis.dx in line and sc…
JayashTripathy Jun 12, 2025
b213ad0
feat: add "at_risk" translation to various languages in translations.…
JayashTripathy Jun 12, 2025
f0917da
feat: add "no_of" translation to various languages in translations.js…
JayashTripathy Jun 12, 2025
c4d69fe
feat: update "at_risk" translation in Ukrainian, Vietnamese, and Chin…
JayashTripathy Jun 12, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 18 additions & 11 deletions packages/constants/src/module.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
// types
import {
TModuleLayoutOptions,
TModuleOrderByOptions,
TModuleStatus,
} from "@plane/types";
import { TModuleLayoutOptions, TModuleOrderByOptions, TModuleStatus } from "@plane/types";

export const MODULE_STATUS_COLORS: {
[key in TModuleStatus]: string;
} = {
backlog: "#a3a3a2",
planned: "#3f76ff",
paused: "#525252",
completed: "#16a34a",
cancelled: "#ef4444",
"in-progress": "#f39e1f",
};

export const MODULE_STATUS: {
i18n_label: string;
Expand All @@ -15,42 +22,42 @@ export const MODULE_STATUS: {
{
i18n_label: "project_modules.status.backlog",
value: "backlog",
color: "#a3a3a2",
color: MODULE_STATUS_COLORS.backlog,
textColor: "text-custom-text-400",
bgColor: "bg-custom-background-80",
},
{
i18n_label: "project_modules.status.planned",
value: "planned",
color: "#3f76ff",
color: MODULE_STATUS_COLORS.planned,
textColor: "text-blue-500",
bgColor: "bg-indigo-50",
},
{
i18n_label: "project_modules.status.in_progress",
value: "in-progress",
color: "#f39e1f",
color: MODULE_STATUS_COLORS["in-progress"],
textColor: "text-amber-500",
bgColor: "bg-amber-50",
},
{
i18n_label: "project_modules.status.paused",
value: "paused",
color: "#525252",
color: MODULE_STATUS_COLORS.paused,
textColor: "text-custom-text-300",
bgColor: "bg-custom-background-90",
},
{
i18n_label: "project_modules.status.completed",
value: "completed",
color: "#16a34a",
color: MODULE_STATUS_COLORS.completed,
textColor: "text-green-600",
bgColor: "bg-green-100",
},
{
i18n_label: "project_modules.status.cancelled",
value: "cancelled",
color: "#ef4444",
color: MODULE_STATUS_COLORS.cancelled,
textColor: "text-red-500",
bgColor: "bg-red-50",
},
Expand Down
6 changes: 4 additions & 2 deletions packages/i18n/src/locales/cs/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -872,13 +872,15 @@
"guests": "Hosté",
"on_track": "Na správné cestě",
"off_track": "Mimo plán",
"at_risk": "V ohrožení",
"timeline": "Časová osa",
"completion": "Dokončení",
"upcoming": "Nadcházející",
"completed": "Dokončeno",
"in_progress": "Probíhá",
"planned": "Plánováno",
"paused": "Pozastaveno"
"paused": "Pozastaveno",
"no_of": "Počet {entity}"
},
"chart": {
"x_axis": "Osa X",
Expand Down Expand Up @@ -2467,4 +2469,4 @@
"plane_didnt_start_up_this_could_be_because_one_or_more_plane_services_failed_to_start": "Plane se nespustil. To může být způsobeno tím, že se jeden nebo více služeb Plane nepodařilo spustit.",
"choose_view_logs_from_setup_sh_and_docker_logs_to_be_sure": "Vyberte View Logs z setup.sh a Docker logů, abyste si byli jisti."
}
}
}
4 changes: 3 additions & 1 deletion packages/i18n/src/locales/de/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -872,13 +872,15 @@
"guests": "Gäste",
"on_track": "Im Plan",
"off_track": "Außer Plan",
"at_risk": "Gefährdet",
"timeline": "Zeitleiste",
"completion": "Fertigstellung",
"upcoming": "Bevorstehend",
"completed": "Abgeschlossen",
"in_progress": "In Bearbeitung",
"planned": "Geplant",
"paused": "Pausiert"
"paused": "Pausiert",
"no_of": "Anzahl {entity}"
},
"chart": {
"x_axis": "X-Achse",
Expand Down
6 changes: 4 additions & 2 deletions packages/i18n/src/locales/en/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -617,6 +617,7 @@
"click_to_add_description": "Click to add description",
"on_track": "On-Track",
"off_track": "Off-Track",
"at_risk": "At risk",
"timeline": "Timeline",
"completion": "Completion",
"upcoming": "Upcoming",
Expand Down Expand Up @@ -721,7 +722,8 @@
"deactivated_user": "Deactivated user",
"apply": "Apply",
"applying": "Applying",
"overview": "Overview"
"overview": "Overview",
"no_of": "No. of {entity}"
},
"chart": {
"x_axis": "X-axis",
Expand Down Expand Up @@ -2343,4 +2345,4 @@
"plane_didnt_start_up_this_could_be_because_one_or_more_plane_services_failed_to_start": "Plane didn't start up. This could be because one or more Plane services failed to start.",
"choose_view_logs_from_setup_sh_and_docker_logs_to_be_sure": "Choose View Logs from setup.sh and Docker logs to be sure."
}
}
}
6 changes: 4 additions & 2 deletions packages/i18n/src/locales/es/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -875,13 +875,15 @@
"guests": "Invitados",
"on_track": "En camino",
"off_track": "Fuera de camino",
"at_risk": "En riesgo",
"timeline": "Cronograma",
"completion": "Finalización",
"upcoming": "Próximo",
"completed": "Completado",
"in_progress": "En progreso",
"planned": "Planificado",
"paused": "Pausado"
"paused": "Pausado",
"no_of": "N.º de {entity}"
},
"chart": {
"x_axis": "Eje X",
Expand Down Expand Up @@ -2469,4 +2471,4 @@
"plane_didnt_start_up_this_could_be_because_one_or_more_plane_services_failed_to_start": "Plane no se inició. Esto podría deberse a que uno o más servicios de Plane fallaron al iniciar.",
"choose_view_logs_from_setup_sh_and_docker_logs_to_be_sure": "Selecciona View Logs desde setup.sh y los logs de Docker para estar seguro."
}
}
}
6 changes: 4 additions & 2 deletions packages/i18n/src/locales/fr/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -873,13 +873,15 @@
"guests": "Invités",
"on_track": "Sur la bonne voie",
"off_track": "Hors de la bonne voie",
"at_risk": "À risque",
"timeline": "Chronologie",
"completion": "Achèvement",
"upcoming": "À venir",
"completed": "Terminé",
"in_progress": "En cours",
"planned": "Planifié",
"paused": "En pause"
"paused": "En pause",
"no_of": "Nº de {entity}"
},
"chart": {
"x_axis": "Axe X",
Expand Down Expand Up @@ -2467,4 +2469,4 @@
"plane_didnt_start_up_this_could_be_because_one_or_more_plane_services_failed_to_start": "Plane n'a pas démarré. Cela pourrait être dû au fait qu'un ou plusieurs services Plane ont échoué à démarrer.",
"choose_view_logs_from_setup_sh_and_docker_logs_to_be_sure": "Choisissez View Logs depuis setup.sh et les logs Docker pour en être sûr."
}
}
}
9 changes: 6 additions & 3 deletions packages/i18n/src/locales/id/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -872,13 +872,15 @@
"guests": "Tamu",
"on_track": "Sesuai Jalur",
"off_track": "Menyimpang",
"at_risk": "Dalam risiko",
"timeline": "Linimasa",
"completion": "Penyelesaian",
"upcoming": "Mendatang",
"completed": "Selesai",
"in_progress": "Sedang berlangsung",
"planned": "Direncanakan",
"paused": "Dijedaikan"
"paused": "Dijedaikan",
"no_of": "Jumlah {entity}"
},
"chart": {
"x_axis": "Sumbu-X",
Expand Down Expand Up @@ -2460,5 +2462,6 @@
"self_hosted_maintenance_message": {
"plane_didnt_start_up_this_could_be_because_one_or_more_plane_services_failed_to_start": "Plane tidak berhasil dimulai. Ini bisa karena satu atau lebih layanan Plane gagal untuk dimulai.",
"choose_view_logs_from_setup_sh_and_docker_logs_to_be_sure": "Pilih View Logs dari setup.sh dan log Docker untuk memastikan."
}
}
},
"no_of": "Jumlah {entity}"
}
6 changes: 4 additions & 2 deletions packages/i18n/src/locales/it/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -871,13 +871,15 @@
"guests": "Ospiti",
"on_track": "In linea",
"off_track": "Fuori rotta",
"at_risk": "A rischio",
"timeline": "Cronologia",
"completion": "Completamento",
"upcoming": "In arrivo",
"completed": "Completato",
"in_progress": "In corso",
"planned": "Pianificato",
"paused": "In pausa"
"paused": "In pausa",
"no_of": "N. di {entity}"
},
"chart": {
"x_axis": "Asse X",
Expand Down Expand Up @@ -2466,4 +2468,4 @@
"plane_didnt_start_up_this_could_be_because_one_or_more_plane_services_failed_to_start": "Plane non si è avviato. Questo potrebbe essere dovuto al fatto che uno o più servizi Plane non sono riusciti ad avviarsi.",
"choose_view_logs_from_setup_sh_and_docker_logs_to_be_sure": "Scegli View Logs da setup.sh e dai log Docker per essere sicuro."
}
}
}
6 changes: 4 additions & 2 deletions packages/i18n/src/locales/ja/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -873,13 +873,15 @@
"guests": "ゲスト",
"on_track": "順調",
"off_track": "遅れ",
"at_risk": "リスクあり",
"timeline": "タイムライン",
"completion": "完了",
"upcoming": "今後の予定",
"completed": "完了",
"in_progress": "進行中",
"planned": "計画済み",
"paused": "一時停止"
"paused": "一時停止",
"no_of": "{entity} の数"
},
"chart": {
"x_axis": "エックス アクシス",
Expand Down Expand Up @@ -2467,4 +2469,4 @@
"plane_didnt_start_up_this_could_be_because_one_or_more_plane_services_failed_to_start": "Planeが起動しませんでした。これは1つまたは複数のPlaneサービスの起動に失敗したことが原因である可能性があります。",
"choose_view_logs_from_setup_sh_and_docker_logs_to_be_sure": "setup.shとDockerログからView Logsを選択して確認してください。"
}
}
}
6 changes: 4 additions & 2 deletions packages/i18n/src/locales/ko/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -874,13 +874,15 @@
"guests": "게스트",
"on_track": "계획대로 진행 중",
"off_track": "계획 이탈",
"at_risk": "위험",
"timeline": "타임라인",
"completion": "완료",
"upcoming": "예정된",
"completed": "완료됨",
"in_progress": "진행 중",
"planned": "계획된",
"paused": "일시 중지됨"
"paused": "일시 중지됨",
"no_of": "{entity} 수"
},
"chart": {
"x_axis": "X축",
Expand Down Expand Up @@ -2469,4 +2471,4 @@
"plane_didnt_start_up_this_could_be_because_one_or_more_plane_services_failed_to_start": "Plane이 시작되지 않았습니다. 이는 하나 이상의 Plane 서비스가 시작에 실패했기 때문일 수 있습니다.",
"choose_view_logs_from_setup_sh_and_docker_logs_to_be_sure": "확실히 하려면 setup.sh와 Docker 로그에서 View Logs를 선택하세요."
}
}
}
6 changes: 4 additions & 2 deletions packages/i18n/src/locales/pl/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -874,13 +874,15 @@
"guests": "Goście",
"on_track": "Na dobrej drodze",
"off_track": "Poza planem",
"at_risk": "W zagrożeniu",
"timeline": "Oś czasu",
"completion": "Zakończenie",
"upcoming": "Nadchodzące",
"completed": "Zakończone",
"in_progress": "W trakcie",
"planned": "Zaplanowane",
"paused": "Wstrzymane"
"paused": "Wstrzymane",
"no_of": "Liczba {entity}"
},
"chart": {
"x_axis": "Oś X",
Expand Down Expand Up @@ -2468,4 +2470,4 @@
"plane_didnt_start_up_this_could_be_because_one_or_more_plane_services_failed_to_start": "Plane nie uruchomił się. Może to być spowodowane tym, że jedna lub więcej usług Plane nie mogła się uruchomić.",
"choose_view_logs_from_setup_sh_and_docker_logs_to_be_sure": "Wybierz View Logs z setup.sh i logów Docker, aby mieć pewność."
}
}
}
6 changes: 4 additions & 2 deletions packages/i18n/src/locales/pt-BR/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -874,13 +874,15 @@
"guests": "Convidados",
"on_track": "No caminho certo",
"off_track": "Fora do caminho",
"at_risk": "Em risco",
"timeline": "Linha do tempo",
"completion": "Conclusão",
"upcoming": "Próximo",
"completed": "Concluído",
"in_progress": "Em andamento",
"planned": "Planejado",
"paused": "Pausado"
"paused": "Pausado",
"no_of": "Nº de {entity}"
},
"chart": {
"x_axis": "Eixo X",
Expand Down Expand Up @@ -2463,4 +2465,4 @@
"plane_didnt_start_up_this_could_be_because_one_or_more_plane_services_failed_to_start": "O Plane não inicializou. Isso pode ser porque um ou mais serviços do Plane falharam ao iniciar.",
"choose_view_logs_from_setup_sh_and_docker_logs_to_be_sure": "Escolha View Logs do setup.sh e logs do Docker para ter certeza."
}
}
}
6 changes: 4 additions & 2 deletions packages/i18n/src/locales/ro/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -872,13 +872,15 @@
"guests": "Invitați",
"on_track": "Pe drumul cel bun",
"off_track": "În afara traiectoriei",
"at_risk": "În pericol",
"timeline": "Cronologie",
"completion": "Finalizare",
"upcoming": "Viitor",
"completed": "Finalizat",
"in_progress": "În desfășurare",
"planned": "Planificat",
"paused": "Pauzat"
"paused": "Pauzat",
"no_of": "Nr. de {entity}"
},
"chart": {
"x_axis": "axa-X",
Expand Down Expand Up @@ -2461,4 +2463,4 @@
"plane_didnt_start_up_this_could_be_because_one_or_more_plane_services_failed_to_start": "Plane nu a pornit. Aceasta ar putea fi din cauza că unul sau mai multe servicii Plane au eșuat să pornească.",
"choose_view_logs_from_setup_sh_and_docker_logs_to_be_sure": "Alegeți View Logs din setup.sh și logurile Docker pentru a fi siguri."
}
}
}
6 changes: 4 additions & 2 deletions packages/i18n/src/locales/ru/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -874,6 +874,7 @@
"guests": "Гости",
"on_track": "По плану",
"off_track": "Отклонение от плана",
"at_risk": "Под угрозой",
"timeline": "Хронология",
"completion": "Завершение",
"upcoming": "Предстоящие",
Expand Down Expand Up @@ -2468,5 +2469,6 @@
"self_hosted_maintenance_message": {
"plane_didnt_start_up_this_could_be_because_one_or_more_plane_services_failed_to_start": "Plane не запустился. Это может быть из-за того, что один или несколько сервисов Plane не смогли запуститься.",
"choose_view_logs_from_setup_sh_and_docker_logs_to_be_sure": "Выберите View Logs из setup.sh и логов Docker, чтобы убедиться."
}
}
},
"no_of": "Количество {entity}"
}
6 changes: 4 additions & 2 deletions packages/i18n/src/locales/sk/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -874,13 +874,15 @@
"guests": "Hostia",
"on_track": "Na správnej ceste",
"off_track": "Mimo plán",
"at_risk": "V ohrození",
"timeline": "Časová os",
"completion": "Dokončenie",
"upcoming": "Nadchádzajúce",
"completed": "Dokončené",
"in_progress": "Prebieha",
"planned": "Plánované",
"paused": "Pozastavené"
"paused": "Pozastavené",
"no_of": "Počet {entity}"
},
"chart": {
"x_axis": "Os X",
Expand Down Expand Up @@ -2468,4 +2470,4 @@
"plane_didnt_start_up_this_could_be_because_one_or_more_plane_services_failed_to_start": "Plane sa nespustil. Toto môže byť spôsobené tým, že sa jedna alebo viac služieb Plane nepodarilo spustiť.",
"choose_view_logs_from_setup_sh_and_docker_logs_to_be_sure": "Vyberte View Logs z setup.sh a Docker logov, aby ste si boli istí."
}
}
}
Loading