Skip to content

Commit

Permalink
feat(ui-ts): show ts-generation task inside the tasks view
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinBelthle committed Oct 7, 2024
1 parent 449b2f7 commit 95a4289
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion webapp/public/locales/en/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@
"tasks.UNARCHIVE": "Unarchive",
"tasks.SCAN": "Scan",
"tasks.UNKNOWN": "Unknown",
"tasks.thermalClusterSeriesGeneration": "Generating TS...",
"tasks.THERMAL_CLUSTER_SERIES_GENERATION": "TS Generation",
"settings.createUser": "Create user",
"settings.createToken": "Create token",
"settings.createGroup": "Create group",
Expand Down
2 changes: 1 addition & 1 deletion webapp/public/locales/fr/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@
"tasks.UNARCHIVE": "Désarchivage",
"tasks.SCAN": "Scan",
"tasks.UNKNOWN": "Inconnu",
"tasks.thermalClusterSeriesGeneration": "Génération des TS..",
"tasks.THERMAL_CLUSTER_SERIES_GENERATION": "TS Génération",
"settings.createUser": "Créer un utilisateur",
"settings.createToken": "Créer un token",
"settings.createGroup": "Créer un groupe",
Expand Down
1 change: 1 addition & 0 deletions webapp/src/components/App/Tasks/JobTableView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ function JobTableView(props: PropType) {
TaskType.ARCHIVE,
TaskType.UNARCHIVE,
TaskType.UPGRADE_STUDY,
TaskType.THERMAL_CLUSTER_SERIES_GENERATION,
TaskType.SCAN,
];

Expand Down
9 changes: 8 additions & 1 deletion webapp/src/services/api/tasks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,14 @@ export const getAllMiscRunningTasks = async (): Promise<TaskDTO[]> => {
TaskStatus.FAILED,
TaskStatus.COMPLETED,
],
type: ["COPY", "ARCHIVE", "UNARCHIVE", "SCAN", "UPGRADE_STUDY"],
type: [
"COPY",
"ARCHIVE",
"UNARCHIVE",
"SCAN",
"UPGRADE_STUDY",
"THERMAL_CLUSTER_SERIES_GENERATION",
],
});
return res.data;
};
Expand Down

0 comments on commit 95a4289

Please sign in to comment.