diff --git a/webapp/public/locales/en/main.json b/webapp/public/locales/en/main.json index 0daa43c3de..cd3534f6c6 100644 --- a/webapp/public/locales/en/main.json +++ b/webapp/public/locales/en/main.json @@ -330,7 +330,8 @@ "study.configuration.optimization.exportMps": "Export MPS", "study.configuration.optimization.unfeasibleProblemBehavior": "Unfeasible problem behavior", "study.configuration.optimization.simplexOptimizationRange": "Simplex optimization range", - "study.configuration.adequacyPatch.legend.general": "General", + "study.configuration.adequacyPatch.tab.general": "General", + "study.configuration.adequacyPatch.tab.perimeter": "Perimeter", "study.configuration.adequacyPatch.legend.localMatchingRule": "Local matching rule", "study.configuration.adequacyPatch.legend.curtailmentSharing": "Curtailment sharing", "study.configuration.adequacyPatch.legend.advanced": "Advanced", diff --git a/webapp/public/locales/fr/main.json b/webapp/public/locales/fr/main.json index 02d345d17c..596c5d5c94 100644 --- a/webapp/public/locales/fr/main.json +++ b/webapp/public/locales/fr/main.json @@ -330,7 +330,8 @@ "study.configuration.optimization.exportMps": "Export MPS", "study.configuration.optimization.unfeasibleProblemBehavior": "Unfeasible problem behavior", "study.configuration.optimization.simplexOptimizationRange": "Simplex optimization range", - "study.configuration.adequacyPatch.legend.general": "Générale", + "study.configuration.adequacyPatch.tab.general": "Général", + "study.configuration.adequacyPatch.tab.perimeter": "Périmètre", "study.configuration.adequacyPatch.legend.localMatchingRule": "Règle de correspondance locale", "study.configuration.adequacyPatch.legend.curtailmentSharing": "Partage de réduction", "study.configuration.adequacyPatch.legend.advanced": "Avancée", diff --git a/webapp/src/components/App/Singlestudy/explore/Configuration/AdequacyPatch/Fields.tsx b/webapp/src/components/App/Singlestudy/explore/Configuration/AdequacyPatch/Fields.tsx index e2567b0c08..ebb63fb13b 100644 --- a/webapp/src/components/App/Singlestudy/explore/Configuration/AdequacyPatch/Fields.tsx +++ b/webapp/src/components/App/Singlestudy/explore/Configuration/AdequacyPatch/Fields.tsx @@ -17,10 +17,7 @@ function Fields() { return ( -
+
(); + const { t } = useTranslation(); //////////////////////////////////////////////////////////////// // Event Handlers @@ -27,16 +31,36 @@ function AdequacyPatch() { //////////////////////////////////////////////////////////////// return ( -
getAdequacyPatchFormFields(study.id), - }} - onSubmit={handleSubmit} - enableUndoRedo - > - - + getAdequacyPatchFormFields(study.id), + }} + onSubmit={handleSubmit} + enableUndoRedo + > + + + ), + }, + { + label: t("study.configuration.adequacyPatch.tab.perimeter"), + content: ( + + ), + }, + ]} + TabListProps={{ sx: { mt: -2 } }} + /> ); }