From fc7ab895fe124eda6c5ab86504956b77c9f06d11 Mon Sep 17 00:00:00 2001 From: "Ashton G." Date: Wed, 23 Oct 2024 16:45:48 -0400 Subject: [PATCH] fix: update copy in experiment and trial headers (#10111) --- .../src/pages/ExperimentDetails/ExperimentDetailsHeader.tsx | 2 +- webui/react/src/pages/TrialDetails/Header/TrialHeaderLeft.tsx | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/webui/react/src/pages/ExperimentDetails/ExperimentDetailsHeader.tsx b/webui/react/src/pages/ExperimentDetails/ExperimentDetailsHeader.tsx index 019dd115939..b6b52f8b1ed 100644 --- a/webui/react/src/pages/ExperimentDetails/ExperimentDetailsHeader.tsx +++ b/webui/react/src/pages/ExperimentDetails/ExperimentDetailsHeader.tsx @@ -732,7 +732,7 @@ const ExperimentDetailsHeader: React.FC = ({ )} - Experiment {experiment.id} + {capitalize(copyMap.experiment)} {experiment.id} {experiment.name} diff --git a/webui/react/src/pages/TrialDetails/Header/TrialHeaderLeft.tsx b/webui/react/src/pages/TrialDetails/Header/TrialHeaderLeft.tsx index d667d295f1b..5871c92a460 100644 --- a/webui/react/src/pages/TrialDetails/Header/TrialHeaderLeft.tsx +++ b/webui/react/src/pages/TrialDetails/Header/TrialHeaderLeft.tsx @@ -31,7 +31,9 @@ const TrialHeaderLeft: React.FC = ({ experiment, trial }: Props) => {
-
Trial {trial.id}
+
+ {f_flat_runs ? 'Run' : 'Trial'} {trial.id} +
{trial.logSignal && (trial.logSignal.length < labelMaxLength ? (