Skip to content

Commit d5cd891

Browse files
committed
cp dines
1 parent e22b01d commit d5cd891

2 files changed

Lines changed: 27 additions & 23 deletions

File tree

src/components/DevboxCreatePage.tsx

Lines changed: 21 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -688,12 +688,10 @@ export const DevboxCreatePage = ({
688688
);
689689
},
690690
},
691-
createTextColumn<Blueprint>(
692-
"id",
693-
"ID",
694-
(blueprint) => blueprint.id,
695-
{ width: 25, color: colors.idColor },
696-
),
691+
createTextColumn<Blueprint>("id", "ID", (blueprint) => blueprint.id, {
692+
width: 25,
693+
color: colors.idColor,
694+
}),
697695
createTextColumn<Blueprint>(
698696
"name",
699697
"Name",
@@ -722,7 +720,10 @@ export const DevboxCreatePage = ({
722720
createTextColumn<Blueprint>(
723721
"created",
724722
"Created",
725-
(blueprint) => blueprint.create_time_ms ? formatTimeAgo(blueprint.create_time_ms) : "",
723+
(blueprint) =>
724+
blueprint.create_time_ms
725+
? formatTimeAgo(blueprint.create_time_ms)
726+
: "",
726727
{ width: 18, color: colors.textDim },
727728
),
728729
];
@@ -742,7 +743,7 @@ export const DevboxCreatePage = ({
742743
});
743744
// Filter out failed blueprints
744745
const validBlueprints = result.blueprints.filter(
745-
(bp) => !failedStatuses.includes(bp.status || "")
746+
(bp) => !failedStatuses.includes(bp.status || ""),
746747
);
747748
return {
748749
items: validBlueprints,
@@ -772,12 +773,10 @@ export const DevboxCreatePage = ({
772773
// Snapshot picker screen
773774
if (showSnapshotPicker) {
774775
const snapshotColumns: Column<Snapshot>[] = [
775-
createTextColumn<Snapshot>(
776-
"id",
777-
"ID",
778-
(snapshot) => snapshot.id,
779-
{ width: 25, color: colors.idColor },
780-
),
776+
createTextColumn<Snapshot>("id", "ID", (snapshot) => snapshot.id, {
777+
width: 25,
778+
color: colors.idColor,
779+
}),
781780
createTextColumn<Snapshot>(
782781
"name",
783782
"Name",
@@ -793,7 +792,8 @@ export const DevboxCreatePage = ({
793792
createTextColumn<Snapshot>(
794793
"created",
795794
"Created",
796-
(snapshot) => snapshot.create_time_ms ? formatTimeAgo(snapshot.create_time_ms) : "",
795+
(snapshot) =>
796+
snapshot.create_time_ms ? formatTimeAgo(snapshot.create_time_ms) : "",
797797
{ width: 18, color: colors.textDim },
798798
),
799799
];
@@ -842,12 +842,10 @@ export const DevboxCreatePage = ({
842842
};
843843

844844
const networkPolicyColumns: Column<NetworkPolicy>[] = [
845-
createTextColumn<NetworkPolicy>(
846-
"id",
847-
"ID",
848-
(policy) => policy.id,
849-
{ width: 25, color: colors.idColor },
850-
),
845+
createTextColumn<NetworkPolicy>("id", "ID", (policy) => policy.id, {
846+
width: 25,
847+
color: colors.idColor,
848+
}),
851849
createTextColumn<NetworkPolicy>(
852850
"name",
853851
"Name",
@@ -863,7 +861,8 @@ export const DevboxCreatePage = ({
863861
createTextColumn<NetworkPolicy>(
864862
"created",
865863
"Created",
866-
(policy) => policy.create_time_ms ? formatTimeAgo(policy.create_time_ms) : "",
864+
(policy) =>
865+
policy.create_time_ms ? formatTimeAgo(policy.create_time_ms) : "",
867866
{ width: 18, color: colors.textDim },
868867
),
869868
];

src/components/ResourcePicker.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,12 @@ import { NavigationTips } from "./NavigationTips.js";
1111
import { SpinnerComponent } from "./Spinner.js";
1212
import { ErrorMessage } from "./ErrorMessage.js";
1313
import { SearchBar } from "./SearchBar.js";
14-
import { Table, type Column, createTextColumn, createComponentColumn } from "./Table.js";
14+
import {
15+
Table,
16+
type Column,
17+
createTextColumn,
18+
createComponentColumn,
19+
} from "./Table.js";
1520

1621
// Re-export Column helpers for convenience
1722
export type { Column };

0 commit comments

Comments
 (0)