# refactor\(web\): ChatView's snooze, settle, and checkout actions live in useThreadLifecycle · PR \#23065 · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/pull/23065)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

State: merged

Source repository: pingdotgg/t3code

Source branch: refactor/split2-chatview-thread-actions

Target branch: refactor/split2-chatview-right-panel

Head commit: 8d9cba7c1581557dd11674d6b4bba366543be7aa

[Discussion and reviews](https://git.cafe/pingdotgg/t3code/pull/23065)

[Commits](https://git.cafe/pingdotgg/t3code/pull/23065/commits?format=markdown)

[Files changed](https://git.cafe/pingdotgg/t3code/pull/23065/diffs?format=markdown)

## Description

---

Snooze and settle (clock, wake timer, status line), the local checkout branch mismatch and its switch, stopping background work, child-thread and goal banners, opening related threads, and standalone slash commands move into `chat/useThreadLifecycle.tsx`. The hook selects its own commands and router. Verbatim move.

| | Before | After |
|---|---|---|
| `ChatView.tsx` lines | 5,249 | 4,881 |

Tests: `tsc-rs --noEmit` for apps/web, oxlint on the changed files, `vp test run src/components/ChatView.logic.test.ts`, and the React Compiler coverage test for every changed file (0 bailouts). ChatView stays in the coverage test's slow set.

Part of the ChatView split (7,258 → 3,975 lines across the stack).

Opus 5.5, Claude Code.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

