Skip to content

Conversation

aibrahim-oai
Copy link
Collaborator

@aibrahim-oai aibrahim-oai commented Aug 12, 2025

Summary

  • Show a temporary Working on diff state in the bottom pan
  • Add DiffResult app event and dispatch git diff asynchronously

Testing

  • just fmt
  • just fix (fails: let expressions in this position are unstable)
  • cargo test --all-features (fails: let expressions in this position are unstable)

https://chatgpt.com/codex/tasks/task_i_689a839f32b88321840a893551d5fbef

}

let tx = self.app_event_tx.clone();
thread::spawn(move || {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can tokio::spawn() and make get_git_diff() async then, right?

@aibrahim-oai aibrahim-oai requested a review from bolinfest August 13, 2025 18:08
Copy link
Collaborator

@bolinfest bolinfest left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice: thanks!

@aibrahim-oai aibrahim-oai merged commit d3078b9 into main Aug 15, 2025
15 checks passed
@aibrahim-oai aibrahim-oai deleted the codex/show-working-state-for-/diff-command branch August 15, 2025 22:32
@github-actions github-actions bot locked and limited conversation to collaborators Aug 15, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants