diff --git a/components/dashboard/src/admin/ProjectDetail.tsx b/components/dashboard/src/admin/ProjectDetail.tsx index c72d512eaaafa5..ab68d6926ba331 100644 --- a/components/dashboard/src/admin/ProjectDetail.tsx +++ b/components/dashboard/src/admin/ProjectDetail.tsx @@ -45,9 +45,6 @@ export default function ProjectDetail(props: { project: Project; owner: string |
- - {props.project.settings?.useIncrementalPrebuilds ? "Yes" : "No"} - {props.project.markedDeleted ? "Yes" : "No"}
diff --git a/components/dashboard/src/projects/ProjectSettings.tsx b/components/dashboard/src/projects/ProjectSettings.tsx index 7a3bd09ec011f2..f5eefa878aa5c1 100644 --- a/components/dashboard/src/projects/ProjectSettings.tsx +++ b/components/dashboard/src/projects/ProjectSettings.tsx @@ -9,7 +9,6 @@ import { useCallback, useContext, useState, Fragment, useMemo, useEffect } from import { useHistory } from "react-router"; import { CheckboxInputField } from "../components/forms/CheckboxInputField"; import { PageWithSubMenu } from "../components/PageWithSubMenu"; -import PillLabel from "../components/PillLabel"; import { getGitpodService } from "../service/service"; import { ProjectContext, useCurrentProject } from "./project-context"; import { getProjectSettingsMenu, getProjectTabs } from "./projects.routes"; @@ -239,7 +238,7 @@ export default function ProjectSettingsView() { {prebuildSettings.enable ? ( - Prebuilds will run for any before or init tasks. + Prebuilds execute and cache the result of the init tasks. ) : ( "Requires permissions to configure repository webhooks." @@ -259,17 +258,51 @@ export default function ProjectSettingsView() { /> {prebuildSettings.enable && ( <> - setPrebuildBranchStrategy(val as PrebuildSettings.BranchStrategy)} - > - - - - +
+
+ + setPrebuildInterval(target.value)} + /> +
+ The number of commits to be skipped between prebuild runs. +
+
+
+
+ setPrebuildBranchStrategy(val as PrebuildSettings.BranchStrategy)} + > + + + + +
+ Which branches are considered for prebuilds. +
+
{prebuildSettings.branchStrategy === "matched-branches" && (