Skip to content
Closed
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
25 changes: 25 additions & 0 deletions apps/app/.ladle/story-fixtures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import type {
import type {
ProjectResponse,
SystemEnvironmentProvider,
SystemMachineProvider,
} from "@bb/server-contract";
import { EMPTY_ORDERED_MENTION_SUGGESTIONS } from "@bb/client-core";
import {
Expand Down Expand Up @@ -339,6 +340,30 @@ export const STORY_ENVIRONMENT_PROVIDERS: readonly SystemEnvironmentProvider[] =
},
];

export const STORY_MACHINE_PROVIDERS: readonly SystemMachineProvider[] = [
{
id: "modal-sandbox",
displayName: "Modal sandbox",
icon: "Box",
logoUrl: null,
pluginId: "environment-modal-sandbox",
requires: { gitRemote: true },
inputs: null,
acceptsEmptyInputs: true,
supportsSuspend: true,
environmentRow: {
displayName: "Modal sandbox",
environmentProviderId: "project-checkout",
},
policy: {
idleSuspendMs: 15 * 60_000,
retire: { after: "last-thread", graceMs: 30 * 24 * 60 * 60_000 },
removeRetryMs: 60_000,
},
availability: null,
},
];

export const STORY_PROJECTS: readonly ProjectSelectorOption[] = [
{ id: PROJECT_IDS.bb, name: PROJECT_NAMES.bb },
{ id: PROJECT_IDS.pierre, name: PROJECT_NAMES.pierre },
Expand Down
335 changes: 0 additions & 335 deletions apps/app/src/components/dialogs/AddMachineDialog.test.tsx

This file was deleted.

Loading
Loading