Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused definitions, commented out code, etc. #1876

Merged
merged 5 commits into from
Jan 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import { cohortListStyles } from "./CohortList.styles";
export interface ICohortListPanelProps {
isOpen: boolean;
cohorts: ErrorCohort[];
// hostId: string
onDismiss: () => void;
onEditCohortClick: (editedCohort: ErrorCohort) => void;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ import {
} from "@responsible-ai/core-ui";

export interface IDatasetExplorerTabStyles {
boldText: IStyle;
callout: IStyle;
chartContainer: IStyle;
chartEditorButton: IStyle;
chartWithAxes: IStyle;
Expand Down Expand Up @@ -51,15 +49,6 @@ export const datasetExplorerTabStyles: () => IProcessedStyleSet<IDatasetExplorer
() => {
const theme = getTheme();
return mergeStyleSets<IDatasetExplorerTabStyles>({
boldText: {
fontWeight: "600",
paddingBottom: "5px"
},
callout: {
backgroundColor: theme.semanticColors.bodyBackground,
padding: "10px 20px",
width: "200px"
},
chart: {
marginBottom: "40px",
width: "100%"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,11 @@ import {
IProcessedStyleSet,
getTheme
} from "@fluentui/react";
import { descriptionMaxWidth } from "@responsible-ai/core-ui";

export interface IDataBalanceTabStyles {
boldText: IStyle;
callout: IStyle;
dropdownLongWidth: IStyle;
dropdownMedWidth: IStyle;
infoWithText: IStyle;
page: IStyle;
}

Expand All @@ -25,19 +22,12 @@ export const dataBalanceTabStyles: () => IProcessedStyleSet<IDataBalanceTabStyle
boldText: {
fontWeight: 600
},
callout: {
margin: "-18px 0 0 0"
},
dropdownLongWidth: {
dropdown: { width: 200 }
},
dropdownMedWidth: {
dropdown: { width: 150 }
},
infoWithText: {
maxWidth: descriptionMaxWidth,
width: "100%"
},
page: {
color: theme.semanticColors.bodyText,
height: "100%",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,28 +1,16 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import {
mergeStyleSets,
IStyle,
IProcessedStyleSet,
getTheme
} from "@fluentui/react";
import { mergeStyleSets, IStyle, IProcessedStyleSet } from "@fluentui/react";

export interface IModelAssessmentDashboardStyles {
page: IStyle;
section: IStyle;
buttonSection: IStyle;
sectionHeader: IStyle;
mainContent: IStyle;
}

export const modelAssessmentDashboardStyles: () => IProcessedStyleSet<IModelAssessmentDashboardStyles> =
() => {
const theme = getTheme();
return mergeStyleSets<IModelAssessmentDashboardStyles>({
buttonSection: {
textAlign: "center"
},
mainContent: {
height: "100%",
overflowY: "scroll",
Expand All @@ -37,17 +25,6 @@ export const modelAssessmentDashboardStyles: () => IProcessedStyleSet<IModelAsse
}
},
width: "100%"
},
section: {
textAlign: "left"
},
sectionHeader: {
color: theme.semanticColors.bodyText,
selectors: {
"@media screen and (min-width: 1024px)": {
padding: "16px 24px 16px 40px"
}
}
}
});
};