You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 9b54df8
Browse filesBrowse the repository at this point in the historyBrowse files
Simplify preview branch auto-archive settings with clearer descriptions, individual fields for branches to keep, and an option to disable auto-archiving in the settings dialog.
Copy file name to clipboardExpand all lines: apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.branches/route.tsx
+57-47Lines changed: 57 additions & 47 deletions
Original file line number
Diff line number
Diff line change
@@ -287,57 +287,67 @@ export default function Page() {
287
287
Branches docs
288
288
</LinkButton>
289
289
</WhenAgentUnavailable>
290
-
291
-
{limits.isAtLimit ? (
292
-
<UpgradePanel
293
-
limits={limits}
294
-
canUpgrade={canUpgrade??false}
295
-
canPurchaseBranches={canPurchaseBranches}
296
-
branchPricing={branchPricing}
297
-
extraBranches={extraBranches}
298
-
maxBranchQuota={maxBranchQuota}
299
-
planBranchLimit={planBranchLimit}
300
-
/>
301
-
) : (
302
-
<NewBranchPanel
303
-
button={
304
-
<Button
305
-
variant="primary/small"
306
-
shortcut={{key: "n"}}
307
-
LeadingIcon={PlusIcon}
308
-
leadingIconClassName="text-white"
309
-
fullWidth
310
-
textAlignLeft
311
-
disabled={!canManageBranches}
312
-
tooltip={
313
-
canManageBranches ? undefined : "You don't have permission to create branches."
0 commit comments