sailfork / t3code-github / apps/ web/ src/ components/ pullRequest/ pullRequestCheckoutToast.ts
import type { ChangeRequestTerminology } from "@t3tools/client-runtime/source-control-clients";
export function offHeadPullRequestCheckoutToast(terminology: ChangeRequestTerminology) {
return {
type: "warning",
title: "Checked out, but not confirmed on the latest commit",
description: `This checkout could not be confirmed at the ${terminology.singular}'s latest commit, so its code may differ. Local commits or uncommitted work keep a checkout where it is.`,
} as const;
}