# Use project cwd when opening draft threads without worktree · gitcafe/t3code

[View on GitCafe](https://git.cafe/gitcafe/t3code/commit/c63ea8d25b4d05d32fc061736bc6a0934ac682fb)

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

Visibility: public

Requested revision: c63ea8d25b4d05d32fc061736bc6a0934ac682fb

Requested commit: c63ea8d25b4d05d32fc061736bc6a0934ac682fb

Commit: c63ea8d25b4d05d32fc061736bc6a0934ac682fb

Tree: ace1b9770d63b2ef353d94679fdcf816e2cd6d3b

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Use project cwd when opening draft threads without worktree

- Pass resolved `openInCwd` from ChatView into OpenInPicker
- Fall back to project `cwd` when draft thread has no `worktreePath`
- Add browser test covering Open action for draft-only snapshot

```

## Parents

- [b9e529e0b56b995728ff10cd1b643df63b436258](https://git.cafe/gitcafe/t3code/commit/b9e529e0b56b995728ff10cd1b643df63b436258?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/t3code/tree/c63ea8d25b4d05d32fc061736bc6a0934ac682fb?format=markdown)
