Skip to content
Merged
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ function BetaSettingsSection() {
const savePreferences = useAtomSet(updateMobilePreferencesAtom);
const preferences = useAtomValue(mobilePreferencesAtom);
const workingShelfEnabled =
AsyncResult.isSuccess(preferences) && preferences.value.workingShelfEnabled === true;
AsyncResult.isSuccess(preferences) && preferences.value.workingShelfEnabled !== false;

return (
<View className="gap-3">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export function useThreadListV2ShelfPreferences() {
loaded && preferencesResult.value.threadListSnoozedShelfExpanded === true;
const settledShelfExpanded =
loaded && preferencesResult.value.threadListSettledShelfExpanded === true;
const workingShelfEnabled = loaded && preferencesResult.value.workingShelfEnabled === true;
const workingShelfEnabled = loaded && preferencesResult.value.workingShelfEnabled !== false;
const workingShelfExpanded =
loaded && preferencesResult.value.threadListWorkingShelfExpanded === true;

Expand Down
11 changes: 7 additions & 4 deletions docs/user/thread-sidebar.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,14 +118,17 @@ open.

### Fold working threads (beta)

Turn on **Settings → Beta → Working section** on web and desktop, or **Settings →
Thread behavior → Working section** on iOS and Android, to move threads that are working or
waiting on work they will resume from into a collapsed **Working** section below the active list.
Threads that are working or waiting on work they will resume from move into a collapsed
**Working** section below the active list.
That includes subagents, watched pull requests, and background commands or monitors the agent
says it is waiting on. A dev server or other process an agent leaves running does not keep a thread
there. A thread returns to the top of the active list when it finishes, fails, or needs an approval or
answer. The Working section lists the thread you last sent work to first. Pinned threads stay in
the pinned section. Each device keeps its own choice.
the pinned section.

This is on by default. Turn it off with **Settings → Beta → Working section** on web and desktop,
or **Settings → Thread behavior → Working section** on iOS and Android. Each device keeps its own
choice.

While this is on, the active list is ordered by when each thread last came back to you, so you
cannot drag or move threads within it. Your saved order returns when you turn it off.
Expand Down
4 changes: 1 addition & 3 deletions packages/contracts/src/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -436,9 +436,7 @@ export const ClientSettingsSchema = Schema.Struct({
proactivePanelsEnabled: Schema.Boolean.pipe(Schema.withDecodingDefault(Effect.succeed(false))),
showSkillsInSlashMenu: Schema.Boolean.pipe(Schema.withDecodingDefault(Effect.succeed(true))),
legacySidebarEnabled: Schema.Boolean.pipe(Schema.withDecodingDefault(Effect.succeed(false))),
sidebarWorkingShelfEnabled: Schema.Boolean.pipe(
Schema.withDecodingDefault(Effect.succeed(false)),
),
sidebarWorkingShelfEnabled: Schema.Boolean.pipe(Schema.withDecodingDefault(Effect.succeed(true))),
sidebarProjectGroupingMode: SidebarProjectGroupingMode.pipe(
Schema.withDecodingDefault(Effect.succeed(DEFAULT_SIDEBAR_PROJECT_GROUPING_MODE)),
),
Expand Down
Loading