Skip to content

Commit 6d5d8c2

Browse files
committed
cleanup
1 parent 87da880 commit 6d5d8c2

File tree

12 files changed

+15
-8
lines changed

12 files changed

+15
-8
lines changed

services/console/src/components/console/deck/hand/card/ViewCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
Adapter,
88
type JsonBranch,
99
type JsonProject,
10-
ModelTest,
10+
type ModelTest,
1111
} from "../../../../../types/bencher";
1212
import { authUser } from "../../../../../util/auth";
1313
import { prettyPrintFloat } from "../../../../../util/convert";

services/console/src/components/console/deck/header/DeckHeader.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,9 @@ const DeckHeader = (props: Props) => {
7272
</div>
7373
<div class="column">
7474
<div class="content has-text-centered">
75-
<h3 class="title is-3">{title()}</h3>
75+
<h3 class="title is-3" style="word-break: break-word;">
76+
{title()}
77+
</h3>
7678
</div>
7779
</div>
7880

services/console/src/components/console/table/rows/AlertRow.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export const AlertRow = (props: { alert: JsonAlert }) => {
4646
/>
4747
<DimensionLabel
4848
icon={MODEL_TEST_ICON}
49-
name={props.alert?.threshold?.model?.test ?? "No model"}
49+
name={props.alert?.threshold?.model?.test ?? "No Model"}
5050
/>
5151
</div>
5252
);

services/console/src/components/console/table/rows/ThresholdRow.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export const ThresholdRow = (props: { threshold: JsonThreshold }) => {
2020
<DimensionLabel
2121
icon={MODEL_TEST_ICON}
2222
name={
23-
fmtModelTest(props.threshold?.model?.test as ModelTest) ?? "No model"
23+
fmtModelTest(props.threshold?.model?.test as ModelTest) ?? "No Model"
2424
}
2525
/>
2626
</div>

services/console/src/components/field/kinds/Model.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ export const fmtModelTest = (test: ModelTest) => {
134134
case ModelTest.DeltaIqr:
135135
return "Delta Interquartile Range (ΔIQR)";
136136
default:
137-
return "Unknown";
137+
return "No Model";
138138
}
139139
};
140140

services/console/src/config/organization/members.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ const MembersConfig = {
5959
operation: Operation.LIST,
6060
header: {
6161
title: <IconTitle icon={MEMBER_ICON} title="Members" />,
62+
name: "Members",
6263
buttons: [
6364
{ kind: Button.SEARCH },
6465
{

services/console/src/config/organization/organizations.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import FieldKind from "../../components/field/kind";
2+
import IconTitle from "../../components/site/IconTitle";
23
import type { JsonOrganization } from "../../types/bencher";
34
import {
45
isAllowedOrganizationDelete,
@@ -45,7 +46,8 @@ const organizationsConfig = {
4546
[Operation.LIST]: {
4647
operation: Operation.LIST,
4748
header: {
48-
title: "Organizations",
49+
title: <IconTitle icon={ORGANIZATION_ICON} title="Organizations" />,
50+
name: "Organizations",
4951
buttons: [
5052
{ kind: Button.SEARCH },
5153
{

services/console/src/config/project/alerts.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ import IconTitle from "../../components/site/IconTitle";
77

88
export const ALERT_ICON = "fas fa-bell";
99
export const ALERT_OFF_ICON = "far fa-bell-slash";
10-
export const ALERT_FALLBACK_ICON = "far fa-bell";
1110

1211
const alertsConfig = {
1312
[Operation.LIST]: {
1413
operation: Operation.LIST,
1514
header: {
1615
title: <IconTitle icon={ALERT_ICON} title="Alerts" />,
16+
name: "Alerts",
1717
buttons: [
1818
{ kind: Button.DISMISS_ALL },
1919
{ kind: Button.ARCHIVED },

services/console/src/config/project/projects.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ const projectsConfig = {
5959
operation: Operation.LIST,
6060
header: {
6161
title: <IconTitle icon={PROJECT_ICON} title="Projects" />,
62+
name: "Projects",
6263
buttons: [
6364
{ kind: Button.SEARCH },
6465
{

services/console/src/config/project/reports.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ const reportsConfig = {
1111
operation: Operation.LIST,
1212
header: {
1313
title: <IconTitle icon={REPORT_ICON} title="Reports" />,
14+
name: "Reports",
1415
buttons: [
1516
{ kind: Button.DATE_TIME },
1617
{ kind: Button.ARCHIVED },

0 commit comments

Comments
 (0)