# Refine branch picker behavior and gate /checkout-pr by thread type · screen/t3code-personal

[View on GitCafe](https://git.cafe/screen/t3code-personal/commit/f70cb5de4517e55f62ed2c71e49291d97a7dc927)

Repository: [screen/t3code-personal](https://git.cafe/screen/t3code-personal)

Visibility: public

Requested revision: f70cb5de4517e55f62ed2c71e49291d97a7dc927

Requested commit: f70cb5de4517e55f62ed2c71e49291d97a7dc927

Commit: f70cb5de4517e55f62ed2c71e49291d97a7dc927

Tree: dde4d5ad7b24bbcc43cc2325c09619711b0bbbf9

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Refine branch picker behavior and gate /checkout-pr by thread type

- Add shared branch picker filtering logic and tests, including PR-reference-only results
- Improve branch selector UX/perf with deferred query filtering, conditional virtualization, and status-based current branch resolution
- Only expose and handle `/checkout-pr` for local draft threads in chat and toolbar UI

```

## Parents

- [3d3586800ebfbefb97a4a782dae3439e90ba9065](https://git.cafe/screen/t3code-personal/commit/3d3586800ebfbefb97a4a782dae3439e90ba9065?format=markdown)

[Source at this commit](https://git.cafe/screen/t3code-personal/tree/f70cb5de4517e55f62ed2c71e49291d97a7dc927?format=markdown)
