Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(server): make idle agent release configurable #25624

Closedavillagran(GitHub profile, opens in a new tab)wants to merge 8 commits intomain fromrefs/pull/25624/headopened View on GitHub

Showing 12 changed files with 70 additions and 4 deletions (loading 9).

x
0 of 12 viewed, 12 left
39 additions and 2 deletionsapps/mobile/src/features/settings/SettingsServerControlsRouteScreen.test.tsxModified
View file
@@ -95,7 +95,21 @@
}));
vi.mock("./components/DatabaseStorageNotice", () => ({ DatabaseStorageNotice: () => null }));
vi.mock("./components/SettingsSection", () => ({ SettingsSection: Children }));
-vi.mock("../../components/ui/ListChoiceRow", () => ({ ListChoiceRow: () => null }));
+vi.mock("../../components/ui/ListChoiceRow", () => ({
+ ListChoiceRow: ({
+ label,
+ disabled,
+ onPress,
+ }: {
+ label: string;
+ disabled?: boolean;
+ onPress: () => void;
+ }) => (
+ <button disabled={disabled} onClick={onPress}>
+ {label}
+ </button>
+ ),
+}));
vi.mock("./components/SettingsSwitchRow", () => ({
SettingsSwitchRow: ({
label,
@@ -158,7 +172,11 @@
sidebarAutoSettleOnMerge: false,
environment: {
- capabilities: { projectSettingsOverrides: true, threadAutoSettlement: true },
+ capabilities: {