diff --git a/apps/widget-e2e/src/describer/modelAssessment/Constants.ts b/apps/widget-e2e/src/describer/modelAssessment/Constants.ts index 9384a083bd..5a051a2c0e 100644 --- a/apps/widget-e2e/src/describer/modelAssessment/Constants.ts +++ b/apps/widget-e2e/src/describer/modelAssessment/Constants.ts @@ -28,7 +28,7 @@ export enum Locators { SortByDropdownOptions = "div[class^='dropdownItemsWrapper'] button:contains('CohortCreateE2E')", CohortOnOffSelectionContainer = "#iterative-container", CohortOnOffCohortCreateE2E = "#iterative-container div:contains(CohortCreateE2E) [role='checkbox']", - CreateNewCohortButton = "button:contains('Create new cohort')", + CreateNewCohortButton = "button:contains('Save cohort')", CohortNameInput = "#cohortEditPanel input:eq(0)", CohortDatasetValueInput = "#cohortEditPanel input[class^='ms-spinButton-input']", CohortFilterSelection = "#cohortEditPanel [type='radio']", diff --git a/libs/core-ui/src/lib/Cohort/CohortInfoSection/CohortInfoSection.tsx b/libs/core-ui/src/lib/Cohort/CohortInfoSection/CohortInfoSection.tsx index a2d30a586e..50457ad0d4 100644 --- a/libs/core-ui/src/lib/Cohort/CohortInfoSection/CohortInfoSection.tsx +++ b/libs/core-ui/src/lib/Cohort/CohortInfoSection/CohortInfoSection.tsx @@ -48,15 +48,11 @@ export class CohortInfoSection extends React.PureComponent diff --git a/libs/dataset-explorer/src/lib/SidePanel.tsx b/libs/dataset-explorer/src/lib/SidePanel.tsx index f0dbb628df..8b99b09a9f 100644 --- a/libs/dataset-explorer/src/lib/SidePanel.tsx +++ b/libs/dataset-explorer/src/lib/SidePanel.tsx @@ -17,8 +17,7 @@ import { DefaultButton, IChoiceGroupOption, Label, - Stack, - Text + Stack } from "office-ui-fabric-react"; import React from "react"; @@ -72,7 +71,7 @@ export class SidePanel extends React.Component { } />
- {colorSeries?.length ? ( + {colorSeries?.length && ( { return { @@ -82,10 +81,6 @@ export class SidePanel extends React.Component { }; })} /> - ) : ( - - {localization.Interpret.DatasetExplorer.noColor} - )}
diff --git a/libs/localization/src/lib/en.json b/libs/localization/src/lib/en.json index f273c777a0..ff31f1590c 100644 --- a/libs/localization/src/lib/en.json +++ b/libs/localization/src/lib/en.json @@ -1264,8 +1264,8 @@ "shiftCohortDescription": "Select a cohort from the cohort list. Apply the cohort to the dashboard." }, "CohortInformation": { - "SwitchGlobalCohort": "Switch global cohort", - "CreateNewCohort": "Create new cohort", + "ShiftCohort": "Shift cohort", + "SaveCohort": "Save cohort", "DataPoints": "Number of datapoints", "DefaultCohort": " (default)", "Filters": "Number of filters", diff --git a/libs/model-assessment/src/lib/ModelAssessmentDashboard/Cohort/ChangeGlobalCohortButton.tsx b/libs/model-assessment/src/lib/ModelAssessmentDashboard/Cohort/ChangeGlobalCohortButton.tsx index db6b471f57..3874b22edc 100644 --- a/libs/model-assessment/src/lib/ModelAssessmentDashboard/Cohort/ChangeGlobalCohortButton.tsx +++ b/libs/model-assessment/src/lib/ModelAssessmentDashboard/Cohort/ChangeGlobalCohortButton.tsx @@ -30,9 +30,7 @@ export class ChangeGlobalCohortButton extends React.Component< return ( <>