# refactor\(web\): ChatView's project clone banner lives in useProjectCloneBanner · PR \#23068 · pingdotgg/t3code

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

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

Visibility: public

State: merged

Source repository: pingdotgg/t3code

Source branch: refactor/split2-chatview-project-banners

Target branch: refactor/split2-chatview-attachments

Head commit: 7d392e036d156169d491a794306b55a0aed8c239

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

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

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

## Description

---

The clone and file-copy subscriptions, their composer banner with cancel/retry/remove, and the send block reason move into `chat/useProjectCloneBanner.tsx`. Verbatim move.

| | Before | After |
|---|---|---|
| `ChatView.tsx` lines | 4,521 | 4,415 |

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)

