Skip to content
Open
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
2 changes: 1 addition & 1 deletion frontend/src/components/ActionStatisticsDisplay/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import ActionCacheMissMetrics from "../ActionCacheMissMetrics";
import ActionCacheOverview from "../ActionCacheOverview";
import ActionRunnerMetrics from "../ActionRunnerMetrics";
import ActionTypeMetrics from "../ActionTypeMetrics";
import PortalCard from "../PortalCard";
import { PortalCard } from "../PortalCard";

type Props = {
actionSummary: BazelInvocationMetricsActionSummaryFragment;
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/ArtifactsMetricsDisplay/index.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { RadiusUprightOutlined } from "@ant-design/icons";
import { Space } from "antd";
import type React from "react";
import { PortalCard } from "@/components/PortalCard";
import type { BazelInvocationMetricsArtifactMetricsFragment } from "@/graphql/__generated__/graphql";
import { readableFileSize } from "@/utils/filesize";
import { MultiStatistic } from "../MultiStatistic";
import PortalCard from "../PortalCard";

interface Props {
artifactMetrics: BazelInvocationMetricsArtifactMetricsFragment;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import type {
BazelInvocationMetricsCumulativeMetricsFragment,
BazelInvocationMetricsPackageMetricsFragment,
} from "@/graphql/__generated__/graphql";
import PortalCard from "../PortalCard";
import { PortalCard } from "../PortalCard";

interface Props {
packageMetrics?: BazelInvocationMetricsPackageMetricsFragment | null;
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/BrowserActionPages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { useQuery } from "@tanstack/react-query";
import { Spin, Typography } from "antd";
import type React from "react";
import { useState } from "react";
import { PortalCard } from "@/components/PortalCard";
import { actionCacheClient } from "@/grpc/actionCacheClient";
import { casByteStreamClient } from "@/grpc/casByteStreamClient";
import { fileSystemAccessCacheClient } from "@/grpc/fileSystemAccessCacheClient";
Expand All @@ -16,7 +17,6 @@ import { CompareActionButtons } from "../CompareAction/CompareTargetButton";
import CompareActionGrid from "../CompareAction/Page";
import ToggleCompareSideBySide from "../CompareAction/toggleCompareSideBySide";
import PortalAlert from "../PortalAlert";
import PortalCard from "../PortalCard";

interface Params {
params: BrowserPageParams;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { ApartmentOutlined } from "@ant-design/icons";
import { Space, Table, type TableColumnsType, Typography } from "antd";
import type { BazelInvocationMetricsBuildGraphEvaluationMetricsFragment } from "@/graphql/__generated__/graphql";
import PortalCard from "../PortalCard";
import { PortalCard } from "../PortalCard";

interface Props {
buildGraphMetrics: BazelInvocationMetricsBuildGraphEvaluationMetricsFragment;
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/BuildGraphMetricsDisplay/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { ApartmentOutlined } from "@ant-design/icons";
import { Flex, Statistic } from "antd";
import type React from "react";
import type { BazelInvocationMetricsBuildGraphMetricsFragment } from "@/graphql/__generated__/graphql";
import PortalCard from "../PortalCard";
import { PortalCard } from "../PortalCard";

interface Props {
buildGraphMetrics: BazelInvocationMetricsBuildGraphMetricsFragment;
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/CommandLine/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { CodeOutlined, InfoCircleOutlined } from "@ant-design/icons";
import { Card, Divider, Tooltip } from "antd";
import type React from "react";
import PortalCard from "../PortalCard";
import { PortalCard } from "@/components/PortalCard";

// TODO: find a way to apply these interfaces automatically to the
// output of graphql while remaining a scalar with regard to the graphql
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { ThunderboltOutlined } from "@ant-design/icons";
import { Table, type TableColumnsType } from "antd";
import type { BazelInvocationMetricsDynamicExecutionMetricsFragment } from "@/graphql/__generated__/graphql";
import PortalCard from "../PortalCard";
import { PortalCard } from "../PortalCard";

interface Props {
dynamicExecutionMetrics: BazelInvocationMetricsDynamicExecutionMetricsFragment;
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/ExecutionResponseDisplay/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { CodeFilled } from "@ant-design/icons";
import { PortalCard } from "@/components/PortalCard";
import { ExecuteResponse } from "@/lib/grpc-client/build/bazel/remote/execution/v2/remote_execution";
import { protobufToObjectWithTypeField } from "@/utils/protobufToObject";
import PortalCard from "../PortalCard";

interface Props {
executeResponse: ExecuteResponse;
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/GarbageCollectionMetrics/index.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { RestOutlined } from "@ant-design/icons";
import type React from "react";
import { PortalCard } from "@/components/PortalCard";
import type {
BazelInvocationMetricsGarbageMetricsFragment,
GarbageMetrics,
} from "@/graphql/__generated__/graphql";
import PortalCard from "../PortalCard";
import SummaryPieChart, { type SummaryChartItem } from "../SummaryPieChart";
import { nullPercent } from "../Utilities/nullPercent";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { DeploymentUnitOutlined } from "@ant-design/icons";
import type React from "react";
import PortalCard from "@/components/PortalCard";
import { PortalCard } from "@/components/PortalCard";
import { InvocationTargetsTable } from "../InvocationTargetsTable";

type Props = React.ComponentProps<typeof InvocationTargetsTable>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Link } from "@tanstack/react-router";
import type { FilterValue } from "antd/es/table/interface";
import { getInvocationTargetAbortReasonFilterOptions } from "@/components/InvocationTargetAbortReasonTag/filter";
import NullBooleanTag from "@/components/NullableBooleanTag";
import SearchWidget, { SearchFilterIcon } from "@/components/SearchWidgets";
import { SearchFilterIcon, SearchWidget } from "@/components/SearchWidgets";
import type {
BazelInvocationTargetsFragment,
InvocationTargetAbortReason,
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/LogViewer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import { Button, Spin, Tooltip } from "antd";
import type React from "react";
import { useMemo, useState } from "react";
import PortalAlert from "@/components/PortalAlert";
import { PortalCard } from "@/components/PortalCard";
import { useBbPortalMessage } from "@/context/MessageContext";
import { readableFileSize } from "@/utils/filesize";
import PortalCard from "../PortalCard";
import { AnsiScrollingWindow } from "./ansiScrollWindow";
import styles from "./index.module.css";
import { SearchBar } from "./searchbar";
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/MemoryMetrics/index.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { PieChartOutlined } from "@ant-design/icons";
import { Space, Statistic } from "antd";
import type React from "react";
import { PortalCard } from "@/components/PortalCard";
import type { BazelInvocationMetricsMemoryMetricsFragment } from "@/graphql/__generated__/graphql";
import { readableFileSize } from "@/utils/filesize";
import PortalCard from "../PortalCard";

interface Props {
memoryMetrics: BazelInvocationMetricsMemoryMetricsFragment;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { FolderOpenOutlined } from "@ant-design/icons";
import { Table, type TableColumnsType } from "antd";
import type { BazelInvocationMetricsPackageMetricsFragment } from "@/graphql/__generated__/graphql";
import { readableDurationFromMilliseconds } from "@/utils/time";
import PortalCard from "../PortalCard";
import { PortalCard } from "../PortalCard";

interface Props {
packageMetrics: BazelInvocationMetricsPackageMetricsFragment;
Expand Down
2 changes: 0 additions & 2 deletions frontend/src/components/PortalCard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -192,5 +192,3 @@ export const PortalCard: React.FC<Props> = ({
</Card>
);
};

export default PortalCard;
2 changes: 0 additions & 2 deletions frontend/src/components/SearchWidgets/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -239,5 +239,3 @@ export const FilterPickerDropdown: React.FC<FilterDropdownProps> = ({
</Space.Compact>
);
};

export default SearchWidget;
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { FieldTimeOutlined } from "@ant-design/icons";
import { Space } from "antd";
import type React from "react";
import { PortalCard } from "@/components/PortalCard";
import type { BazelInvocationMetricsSystemNetworkStatsFragment } from "@/graphql/__generated__/graphql";
import { readableFileSize } from "@/utils/filesize";
import { MultiStatistic } from "../MultiStatistic";
import PortalCard from "../PortalCard";

interface Props {
systemNetworkStats: BazelInvocationMetricsSystemNetworkStatsFragment;
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/TimingMetricsDisplay/index.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { FieldTimeOutlined } from "@ant-design/icons";
import { Space, Statistic } from "antd";
import type React from "react";
import { PortalCard } from "@/components/PortalCard";
import type { BazelInvocationMetricsTimingMetricsFragment } from "@/graphql/__generated__/graphql";
import { readableDurationFromMilliseconds } from "@/utils/time";
import PortalCard from "../PortalCard";

interface Props {
timingMetrics: BazelInvocationMetricsTimingMetricsFragment;
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/WorkerMetricsDisplay/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import type {
BazelInvocationMetricsWorkerPoolMetricsFragment,
} from "@/graphql/__generated__/graphql";
import { readableFileSize } from "@/utils/filesize";
import PortalCard from "../PortalCard";
import { PortalCard } from "../PortalCard";

interface Props {
workerMetrics: BazelInvocationMetricsWorkerMetricsFragment[];
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/pages/BazelInvocations/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { BuildFilled } from "@ant-design/icons";
import type React from "react";
import BazelInvocationsTable from "@/components/BazelInvocationsTable";
import PortalCard from "@/components/PortalCard";
import { PortalCard } from "@/components/PortalCard";

type Props = React.ComponentProps<typeof BazelInvocationsTable>;

Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/pages/Browser/BrowserWelcome.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import { LayoutOutlined } from "@ant-design/icons";
import { Typography } from "antd";
import type React from "react";
import PortalCard from "@/components/PortalCard";
import { PortalCard } from "@/components/PortalCard";
import styles from "./browser.module.css";

export const BrowserWelcomePage: React.FC = () => {
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/pages/Browser/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { BrowserActionPages } from "@/components/BrowserActionPages";
import BrowserCommandGrid from "@/components/BrowserCommandGrid";
import BrowserDirectoryPage from "@/components/BrowserDirectoryPage";
import BrowserPreviousExecutionsPage from "@/components/BrowserPreviousExecutionsPage";
import PortalCard from "@/components/PortalCard";
import { PortalCard } from "@/components/PortalCard";
import type { BrowserSearchParams } from "@/routes/browser.$";
import type { BrowserPageParams } from "@/types/BrowserPageParams";
import { BrowserPageType } from "@/types/BrowserPageType";
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/pages/BuildDetails/Columns.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
} from "@/components/InvocationResultTag/filters";
import { OptionalLinkWrapper } from "@/components/OptionalLinkWrapper";
import PortalDuration from "@/components/PortalDuration";
import SearchWidget, { SearchFilterIcon } from "@/components/SearchWidgets";
import { SearchFilterIcon, SearchWidget } from "@/components/SearchWidgets";
import type {
BazelInvocationWhereInput,
GetBuildInvocationFragment,
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/pages/BuildDetails/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { OptionalLinkWrapper } from "@/components/OptionalLinkWrapper";
import { PageCursorTable } from "@/components/PageCursorTable";
import type { GetPaginationUpdateLinkType } from "@/components/PageCursorTable/types";
import { tableFiltersToGraphqlWhere } from "@/components/PageCursorTable/utils";
import PortalCard from "@/components/PortalCard";
import { PortalCard } from "@/components/PortalCard";
import type {
BazelInvocationWhereInput,
GetBuildFragment,
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/pages/Builds/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { RocketFilled } from "@ant-design/icons";
import type React from "react";
import BuildsTable from "@/components/BuildsTable";
import PortalCard from "@/components/PortalCard";
import { PortalCard } from "@/components/PortalCard";

type Props = React.ComponentProps<typeof BuildsTable>;

Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/pages/OperationDetails/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { CodeFilled } from "@ant-design/icons";
import type React from "react";
import OperationDetails from "@/components/OperationDetails";
import PortalCard from "@/components/PortalCard";
import { PortalCard } from "@/components/PortalCard";

interface Params {
operationID: string;
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/pages/Operations/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
type OperationStatus,
} from "@/components/OperationFilterSelector";
import OperationsInvocationFilter from "@/components/OperationsInvocationFilter";
import PortalCard from "@/components/PortalCard";
import { PortalCard } from "@/components/PortalCard";
import type { OperationState } from "@/lib/grpc-client/buildbarn/buildqueuestate/buildqueuestate";
import type { OperationsFilterParams } from "@/routes/operations.index";
import themeStyles from "@/theme/theme.module.css";
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/pages/Scheduler/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { CalendarFilled } from "@ant-design/icons";
import { Row } from "antd";
import type React from "react";
import PlatformQueuesTable from "@/components/PlatformQueuesTable";
import PortalCard from "@/components/PortalCard";
import { PortalCard } from "@/components/PortalCard";
import { SchedulerStatistics } from "@/components/SchedulerStatistics";

export const SchedulerPage: React.FC = () => {
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/pages/SchedulerWorkers/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { CalendarFilled } from "@ant-design/icons";
import type React from "react";
import PortalCard from "@/components/PortalCard";
import { PortalCard } from "@/components/PortalCard";
import WorkersGrid from "@/components/WorkersGrid";
import type { WorkerSearchParams } from "@/routes/scheduler.worker";

Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/pages/TargetDetails/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ import type React from "react";
import { PageCursorTable } from "@/components/PageCursorTable";
import type { GetPaginationUpdateLinkType } from "@/components/PageCursorTable/types";
import { tableFiltersToGraphqlWhere } from "@/components/PageCursorTable/utils";
import { PortalCard } from "@/components/PortalCard";
import type {
InvocationTargetDetailsFragment,
InvocationTargetWhereInput,
PageInfo,
TargetDetailsFragment,
} from "@/graphql/__generated__/graphql";
import PortalCard from "../../PortalCard";
import { columns } from "./Columns";

interface Props {
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/pages/Targets/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { DeploymentUnitOutlined } from "@ant-design/icons";
import { Alert } from "antd";
import type React from "react";
import PortalCard from "@/components/PortalCard";
import { PortalCard } from "@/components/PortalCard";
import TargetGrid from "@/components/Targets/TargetGrid";

type Props = React.ComponentProps<typeof TargetGrid>;
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/pages/TestDetails/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ import {
} from "recharts";
import { PageCursorTable } from "@/components/PageCursorTable";
import type { GetPaginationUpdateLinkType } from "@/components/PageCursorTable/types";
import { PortalCard } from "@/components/PortalCard";
import type {
PageInfo,
TestSummaryTargetDetailsFragment,
} from "@/graphql/__generated__/graphql";
import PortalCard from "../../PortalCard";
import { columns, type TestDetailsRowType } from "./columns";

interface Props {
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/pages/TestSummary/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
} from "@/components/CacheLocationTag";
import { LinkButton } from "@/components/LinkButton";
import { CasGqlFileViewer } from "@/components/LogViewer/casGqlFileViewer";
import PortalCard from "@/components/PortalCard";
import { PortalCard } from "@/components/PortalCard";
import { TestStatusTag } from "@/components/TestStatusTag";
import { getFragmentData } from "@/graphql/__generated__";
import type {
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/pages/Tests/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { ExperimentFilled } from "@ant-design/icons";
import { Alert } from "antd";
import type React from "react";
import PortalCard from "@/components/PortalCard";
import { PortalCard } from "@/components/PortalCard";
import TestGrid from "@/components/TestGrid";

type Props = React.ComponentProps<typeof TestGrid>;
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/pages/Trends/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
XAxis,
YAxis,
} from "recharts";
import PortalCard from "@/components/PortalCard";
import { PortalCard } from "@/components/PortalCard";
import type {
BazelInvocationNodeFragment,
FindBuildTimesQueryVariables,
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/pages/UserDetails/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import type {
OnBazelInvocationFilterChange,
} from "@/components/PageCursorTable/types";
import { tableFiltersToGraphqlWhere } from "@/components/PageCursorTable/utils";
import PortalCard from "@/components/PortalCard";
import { PortalCard } from "@/components/PortalCard";
import type {
AuthenticatedUserNodeFragmentFragment,
BazelInvocationNodeFragment,
Expand Down
Loading