# refactor\(web\): ChatView's revert, rollback, and fork live in useTimelineRewind · PR \#23066 · pingdotgg/t3code

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

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

Visibility: public

State: merged

Source repository: pingdotgg/t3code

Source branch: refactor/split2-chatview-revert

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

Head commit: 1ff7eb67cc7e5266492ee1700ce5883548ed37ba

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

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

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

## Description

---

Reverting to an earlier turn, rolling back a provider checkpoint, and forking from a run move into `chat/useTimelineRewind.ts`, with the commands only they use. Verbatim move.

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

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)

