# Refactor branch toolbar actions to use transition-based git ops · gitcafe/t3code

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

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

Visibility: public

Requested revision: a638978b75d42e78daad25170098efdec7d76dd4

Requested commit: a638978b75d42e78daad25170098efdec7d76dd4

Commit: a638978b75d42e78daad25170098efdec7d76dd4

Tree: b6f7fcd7097c94627bbdc55e6980cc0e9902ce0d

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Refactor branch toolbar actions to use transition-based git ops

- replace React Query mutations with direct git API calls wrapped in `useTransition`
- show toast errors for branch create/checkout failures and keep optimistic branch updates
- disable branch controls during pending actions and refresh branches when opening menu

```

## Parents

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

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