Skip to content

Commit

Permalink
feat(clusters-ui): implement new duplication endpoint and optimistic …
Browse files Browse the repository at this point in the history
…update (#1984)
  • Loading branch information
skamril committed Apr 19, 2024
1 parent 1833a0b commit 0c47610
Show file tree
Hide file tree
Showing 29 changed files with 1,231 additions and 861 deletions.
3 changes: 3 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,14 @@ v2.16.8 (2024-04-19)
### Features

* **clusters:** add new endpoint for clusters duplication [`#1972`](https://github.com/AntaresSimulatorTeam/AntaREST/pull/1972)
* **clusters (ui):** implement new duplication endpoint and optimistic update [`#1984`](https://github.com/AntaresSimulatorTeam/AntaREST/pull/1984)
* **configuration:** turn Thematic Trimming variable names in upper case
* **configuration (ui):** replace underscore with space in Thematic Trimming variable names [`#2010`](https://github.com/AntaresSimulatorTeam/AntaREST/pull/2010)

### Bug Fixes

* **clusters (ui):** totals are updated after a duplication and a deletion [`#1984`](https://github.com/AntaresSimulatorTeam/AntaREST/pull/1984)
* **clusters (ui):** issue with selecting and deleting rows [`#1984`](https://github.com/AntaresSimulatorTeam/AntaREST/pull/1984)
* **st-storages (ui):** correction of incorrect wording between "withdrawal" and "injection" [`#1977`](https://github.com/AntaresSimulatorTeam/AntaREST/pull/1977)
* **st-storages (ui):** change matrix titles [`#1994`](https://github.com/AntaresSimulatorTeam/AntaREST/pull/1994)
* **st-storages:** use command when updating matrices [`#1971`](https://github.com/AntaresSimulatorTeam/AntaREST/pull/1971)
Expand Down
10 changes: 7 additions & 3 deletions webapp/public/locales/en/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
"global.assign": "Assign",
"global.undo": "Undo",
"global.redo": "Redo",
"global.total": "Total",
"global.time.hourly": "Hourly",
"global.time.daily": "Daily",
"global.time.weekly": "Weekly",
Expand All @@ -76,6 +77,8 @@
"global.error.failedtoretrievejobs": "Failed to retrieve job information",
"global.error.failedtoretrievelogs": "Failed to retrieve job logs",
"global.error.failedtoretrievedownloads": "Failed to retrieve downloads list",
"global.error.create": "Creation failed",
"global.error.delete": "Deletion failed",
"global.area.add": "Add an area",
"login.error": "Failed to authenticate",
"tasks.title": "Tasks",
Expand All @@ -89,6 +92,7 @@
"data.title": "Data",
"dialog.title.confirmation": "Confirmation",
"dialog.message.logout": "Are you sure you want to logout?",
"dialog.message.confirmDelete": "Do you confirm the deletion?",
"button.collapse": "Collapse",
"button.expand": "Expand",
"button.yes": "Yes",
Expand All @@ -112,7 +116,7 @@
"form.submit.inProgress": "The form is being submitted. Are you sure you want to leave the page?",
"form.asyncDefaultValues.error": "Failed to get values",
"form.field.required": "Field required",
"form.field.duplicate": "Value already exists: {{0}}",
"form.field.duplicate": "Value already exists",
"form.field.minLength": "{{0}} character(s) minimum",
"form.field.minValue": "The minimum value is {{0}}",
"form.field.maxValue": "The maximum value is {{0}}",
Expand Down Expand Up @@ -475,8 +479,8 @@
"study.modelization.clusters.matrix.timeSeries": "Time-Series",
"study.modelization.clusters.backClusterList": "Back to cluster list",
"study.modelization.clusters.tsInterpretation": "TS interpretation",
"study.modelization.clusters.group": "Group",
"studies.modelization.clusters.question.delete": "Are you sure you want to delete this cluster?",
"studies.modelization.clusters.question.delete_one": "Are you sure you want to delete this cluster?",
"studies.modelization.clusters.question.delete_other": "Are you sure you want to delete these {{count}} clusters?",
"study.modelization.bindingConst.comments": "Comments",
"study.modelization.bindingConst.type": "Type",
"study.modelization.bindingConst.constraints": "Constraints",
Expand Down
10 changes: 7 additions & 3 deletions webapp/public/locales/fr/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
"global.assign": "Assigner",
"global.undo": "Annuler",
"global.redo": "Rétablir",
"global.total": "Total",
"global.time.hourly": "Horaire",
"global.time.daily": "Journalier",
"global.time.weekly": "Hebdomadaire",
Expand All @@ -76,6 +77,8 @@
"global.error.failedtoretrievejobs": "Échec de la récupération des tâches",
"global.error.failedtoretrievelogs": "Échec de la récupération des logs",
"global.error.failedtoretrievedownloads": "Échec de la récupération des exports",
"global.error.create": "La création a échoué",
"global.error.delete": "La suppression a échoué",
"global.area.add": "Ajouter une zone",
"login.error": "Échec de l'authentification",
"tasks.title": "Tâches",
Expand All @@ -89,6 +92,7 @@
"data.title": "Données",
"dialog.title.confirmation": "Confirmation",
"dialog.message.logout": "Êtes vous sûr de vouloir vous déconnecter ?",
"dialog.message.confirmDelete": "Confirmez-vous la suppression ?",
"button.collapse": "Réduire",
"button.expand": "Étendre",
"button.yes": "Oui",
Expand All @@ -112,7 +116,7 @@
"form.submit.inProgress": "Le formulaire est en cours de soumission. Etes-vous sûr de vouloir quitter la page ?",
"form.asyncDefaultValues.error": "Impossible d'obtenir les valeurs",
"form.field.required": "Champ requis",
"form.field.duplicate": "Cette valeur existe déjà: {{0}}",
"form.field.duplicate": "Cette valeur existe déjà",
"form.field.minLength": "{{0}} caractère(s) minimum",
"form.field.minValue": "La valeur minimum est {{0}}",
"form.field.maxValue": "La valeur maximum est {{0}}",
Expand Down Expand Up @@ -475,8 +479,8 @@
"study.modelization.clusters.matrix.timeSeries": "Séries temporelles",
"study.modelization.clusters.backClusterList": "Retour à la liste des clusters",
"study.modelization.clusters.tsInterpretation": "TS interpretation",
"study.modelization.clusters.group": "Groupes",
"studies.modelization.clusters.question.delete": "Êtes-vous sûr de vouloir supprimer ce cluster ?",
"studies.modelization.clusters.question.delete_one": "Êtes-vous sûr de vouloir supprimer ce cluster ?",
"studies.modelization.clusters.question.delete_other": "Êtes-vous sûr de vouloir supprimer ces {{count}} clusters ?",
"study.modelization.bindingConst.comments": "Commentaires",
"study.modelization.bindingConst.type": "Type",
"study.modelization.bindingConst.constraints": "Contraintes",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function Fields() {
disabled
/>
<SelectFE
label={t("study.modelization.clusters.group")}
label={t("global.group")}
name="group"
control={control}
options={RENEWABLE_GROUPS}
Expand Down
Loading

0 comments on commit 0c47610

Please sign in to comment.